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

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x2c4
mov dword [ebp - 0x14], 0
call fcn.0041c5a0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0041c600
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.0041c600
sub esp, 8
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x2ac]
mov eax, 0
mov ecx, 0x94
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2b0], 0
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.0041b0e0
sub esp, 0xc
call fcn.0041c9f0
call fcn.0041c750
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x4593d0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0041ca20
test eax, eax
jne 0x40b6b1
call fcn.0041c650
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
mov dword [esp], 0x4593d0
call fcn.0041c820
sub esp, 4
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
jmp 0x40b6b2
nop
call fcn.0041c650
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
mov dword [esp], 0x45c2e0
call fcn.0041c820
sub esp, 4
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x5c]
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_FindFirstFileW
sub esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40b8e8
call fcn.0041c650
call fcn.0041c650
lea eax, [ebp - 0x2ac]
add eax, 0x2c
mov dword [ebp - 0x2c], eax
call fcn.0041c6a0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0041c270
sub esp, 8
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x2b0]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
mov eax, dword [ebp - 0x2ac]
and eax, 0x10
test eax, eax
je 0x40b87f
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x458fac
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.0041ca20
test eax, eax
jne 0x40b7d3
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0x45d56c
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0041ca20
test eax, eax
jne 0x40b7d6
nop
mov dword [ebp - 0xc], 1
jmp 0x40b7d7
nop
jmp 0x40b7d7
nop
cmp dword [ebp - 0xc], 0
je 0x40b882
call fcn.0041c650
call fcn.0041c650
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
mov eax, dword [ebp - 0x2b0]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
call fcn.0041c7a0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0040b5b7
sub esp, 8
mov dword [ebp - 0x44], eax
call fcn.0041c700
call fcn.0041c650
call fcn.0041c650
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
mov eax, dword [ebp - 0x2b0]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
call fcn.0041c7a0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.0040b935
sub esp, 8
mov dword [ebp - 0x4c], eax
call fcn.0041c700
jmp 0x40b883
nop
jmp 0x40b883
nop
mov dword [ebp - 0x10], 0
mov eax, dword [0x45fb0c]
cmp eax, 1
je 0x40b8bd
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.KERNEL32.dll_FindNextFileW
sub esp, 8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x40b8c7
jmp 0x40b8be
nop
mov dword [ebp - 0x10], 1
jmp 0x40b8c8
nop
cmp dword [ebp - 0x10], 0
jne 0x40b8d4
nop
jmp 0x40b71e
nop
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
sub esp, 4
mov dword [ebp - 0x58], eax
jmp 0x40b8e9
nop
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x2b0]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
leave
ret 8