,


local l1, l2
ifidn <di>, <address>
reg equ esi
else
reg equ edi
endif
push reg
mov reg, address
l2:
cmp [byte ptr reg], ' '
jne l1
inc reg
jmp l2
l1:
mov address, reg
pop reg
endm
MAX_PATH equ 260
masm
WIN32_FIND_DATA struc
dwFileAttributes dd ?
ftCreationTime dd ?,?
ftLastAccessTime dd ?,?
ftLastWriteTime dd ?,?
nFileSizeHigh dd ?
nFileSizeLow dd ?
dwRes dd 0,0
cFileName db (MAX_PATH) dup (?)
cAlternateFileName db 14 dup (?)
ends
, .