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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5439f7
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5a674c]
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.00432d0e
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415b55
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.00432d0e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415b84
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.00402560
push 4
push str..
lea ecx, [ebp - 0x160]
call fcn.00403be0
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 0x415e8c
test byte [ebp - 0x154], 0x10
je 0x415cee
mov ecx, 0x5540dc
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415c13
cmp dl, bl
je 0x415c0f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415c13
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415bf3
xor eax, eax
jmp 0x415c18
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415cee
mov ecx, 0x5575b0
lea eax, [ebp - 0x128]
jmp 0x415c30
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415c50
cmp dl, bl
je 0x415c4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415c50
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415c30
xor eax, eax
jmp 0x415c55
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415cee
push esi
lea ecx, [ebp - 0x158]
call fcn.00402560
push 0x555a00
lea ecx, [ebp - 0x158]
call fcn.00404130
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x158]
call fcn.00404130
mov esi, dword [ebp - 0x164]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x168]
push esi
call fcn.00415af0
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x15c]
call fcn.004150d0
lea eax, [ebp - 0x15c]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004159b0
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 0x415cee
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 0x415e8c
test byte [ebp - 0x154], 0x10
je 0x415cf4
mov ecx, 0x5540dc
lea eax, [ebp - 0x128]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415d40
cmp dl, bl
je 0x415d3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415d40
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415d20
xor eax, eax
jmp 0x415d45
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415cf4
mov ecx, 0x5575b0
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415d74
cmp dl, bl
je 0x415d70
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415d74
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415d54
xor eax, eax
jmp 0x415d79
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415cf4
mov edx, dword [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x158]
call fcn.00402560
push 1
push 0x555a00
lea ecx, [ebp - 0x158]
call fcn.00403be0
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415db0
sub eax, edx
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x158]
call fcn.00403be0
mov edx, dword [ebp - 0x164]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x168]
push edx
call fcn.00415af0
call fcn.00432d0e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415dff
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.00402560
mov ecx, dword [ebp - 0x164]
lea edx, [ebp - 0x15c]
push edx
mov byte [ebp - 4], 5
call fcn.004159b0
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 0x415cf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x415cf4
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 0x415eb8
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 0x415ee1
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.00525092
mov esp, ebp
pop ebp
ret 8