Function at 0x40b935
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x2a4
mov dword [ebp - 0x10], 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 - 0x40], 0
lea edx, [ebp - 0x290]
mov eax, 0
mov ecx, 0x94
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x294], 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 - 0x18], eax
mov dword [ebp - 0x1c], 0x4593d0
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0041ca20
test eax, eax
jne 0x40ba2f
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 0x40ba30
nop
call fcn.0041c650
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
lea eax, [ebp - 0x290]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_FindFirstFileW
sub esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x40bbb1
call fcn.0041c650
call fcn.0041c650
lea eax, [ebp - 0x290]
add eax, 0x2c
mov dword [ebp - 0x28], eax
call fcn.0041c6a0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.0041c270
sub esp, 8
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x294]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
mov eax, dword [ebp - 0x290]
and eax, 0x10
test eax, eax
jne 0x40bb4b
mov eax, dword [0x45ffcc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.004164b8
sub esp, 4
mov dword [ebp - 0x30], eax
call fcn.0041c650
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
mov eax, dword [ebp - 0x294]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
call fcn.0041c6a0
mov edx, dword [0x45ffd0]
add edx, 8
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0041c880
sub esp, 8
jmp 0x40bb4c
nop
mov dword [ebp - 0xc], 0
mov eax, dword [0x45fb0c]
cmp eax, 1
je 0x40bb86
lea eax, [ebp - 0x290]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_FindNextFileW
sub esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40bb90
jmp 0x40bb87
nop
mov dword [ebp - 0xc], 1
jmp 0x40bb91
nop
cmp dword [ebp - 0xc], 0
jne 0x40bb9d
nop
jmp 0x40ba9b
nop
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
sub esp, 4
mov dword [ebp - 0x3c], eax
jmp 0x40bbb2
nop
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x40]
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 - 0x294]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
leave
ret 8