Function at 0x415c90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5438f7
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5a574c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x16c], esi
call fcn.00432f53
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415cf5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], ebx
call fcn.00432f53
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415d24
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x160], eax
push esi
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.00402550
push 4
push str..
lea ecx, [ebp - 0x160]
call fcn.00403bc0
mov edx, dword [ebp - 0x160]
lea ecx, [ebp - 0x154]
push ecx
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41602c
test byte [ebp - 0x154], 0x10
je 0x415e8e
mov ecx, 0x5530dc
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415db3
cmp dl, bl
je 0x415daf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415db3
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415d93
xor eax, eax
jmp 0x415db8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415e8e
mov ecx, 0x556450
lea eax, [ebp - 0x128]
jmp 0x415dd0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415df0
cmp dl, bl
je 0x415dec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415df0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415dd0
xor eax, eax
jmp 0x415df5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415e8e
push esi
lea ecx, [ebp - 0x158]
call fcn.00402550
push 0x5545a0
lea ecx, [ebp - 0x158]
call fcn.00403db0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x158]
call fcn.00403db0
mov esi, dword [ebp - 0x164]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x168]
push esi
call fcn.00415c90
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x15c]
call fcn.00415260
lea eax, [ebp - 0x15c]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00415b40
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ebp - 0x154]
push ecx
push edi
call esi
test eax, eax
je 0x41602c
test byte [ebp - 0x154], 0x10
je 0x415e94
mov ecx, 0x5530dc
lea eax, [ebp - 0x128]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415ee0
cmp dl, bl
je 0x415edc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415ee0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415ec0
xor eax, eax
jmp 0x415ee5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415e94
mov ecx, 0x556450
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415f14
cmp dl, bl
je 0x415f10
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415f14
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415ef4
xor eax, eax
jmp 0x415f19
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415e94
mov edx, dword [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x158]
call fcn.00402550
push 1
push 0x5545a0
lea ecx, [ebp - 0x158]
call fcn.00403bc0
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415f50
sub eax, edx
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x158]
call fcn.00403bc0
mov edx, dword [ebp - 0x164]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x168]
push edx
call fcn.00415c90
call fcn.00432f53
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415f9f
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 4
call fcn.00402550
mov ecx, dword [ebp - 0x164]
lea edx, [ebp - 0x15c]
push edx
mov byte [ebp - 4], 5
call fcn.00415b40
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x415e94
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416058
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00525222
mov esp, ebp
pop ebp
ret 8