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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [0x42a49c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00418b2e
push str..
lea ecx, [ebp - 0x18]
call fcn.00418cf7
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x160]
push ecx
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x40b927
mov eax, dword [ebp - 0x160]
and eax, 0x10
cmp al, 0x10
jne 0x40b7dd
mov esi, 0x42a394
lea eax, [ebp - 0x134]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40b725
cmp cl, bl
je 0x40b721
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40b725
add eax, 2
add esi, 2
cmp cl, bl
jne 0x40b701
xor eax, eax
jmp 0x40b72a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40b7dd
mov esi, 0x42a390
lea eax, [ebp - 0x134]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40b761
cmp cl, bl
je 0x40b75d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40b761
add eax, 2
add esi, 2
cmp cl, bl
jne 0x40b73d
xor eax, eax
jmp 0x40b766
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40b7dd
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00418b2e
push 0x429b0c
lea ecx, [ebp - 0x14]
call fcn.00418cf7
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00418cf7
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push edi
call fcn.0040b670
mov eax, dword [0x42a49c]
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp + 8]
call fcn.00418b2e
mov eax, dword [edi + 8]
lea edx, [ebp + 8]
push edx
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040be00
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00418a41
jmp 0x40b7e0
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x160]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40b924
mov edx, dword [ebp - 0x160]
and edx, 0x10
cmp dl, 0x10
jne 0x40b7e0
mov esi, 0x42a394
lea eax, [ebp - 0x134]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40b836
cmp cl, bl
je 0x40b832
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40b836
add eax, 2
add esi, 2
cmp cl, bl
jne 0x40b812
xor eax, eax
jmp 0x40b83b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40b7e0
mov esi, 0x42a390
lea eax, [ebp - 0x134]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40b86e
cmp cl, bl
je 0x40b86a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40b86e
add eax, 2
add esi, 2
cmp cl, bl
jne 0x40b84a
xor eax, eax
jmp 0x40b873
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40b7e0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00418b2e
push 0x429b0c
lea ecx, [ebp - 0x14]
call fcn.00418cf7
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00418cf7
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push edi
call fcn.0040b670
mov eax, dword [0x42a49c]
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp + 8]
call fcn.00418b2e
mov eax, dword [edi + 8]
lea edx, [ebp + 8]
push edx
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040be00
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00418a41
jmp 0x40b7e0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00418a41
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00418a41
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8