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

Disassembly:
jmp 0x42cb4c
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x154
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x78]
push esi
mov esi, dword [ebp + 0x6c]
push edi
xor edi, edi
push 0x13c
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xdc]
push edi
push eax
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xe0], edi
call fcn.00508d00
push esi
mov dword [ebp - 0xe4], edi
call fcn.004010dc
add esp, 0x10
test eax, eax
je 0x42cba6
xor eax, eax
jmp 0x42cbf4
push ebx
push 0x69e
mov edi, str..File.c
push edi
push 1
push 1
mov esi, 0x71c
push esi
call fcn.00509d00
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x42cbf1
push 0x6a0
push edi
push 1
push 1
push esi
call fcn.00509d00
add esp, 0x14
test eax, eax
mov dword [ebp - 0xe8], eax
jne 0x42cc05
push 1
push ebx
call fcn.0050a6d0
pop ecx
pop ecx
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x60]
pop edi
xor ecx, ebp
pop esi
call fcn.00508cf0
add ebp, 0x64
leave
ret
push esi
push dword [ebp - 0xec]
push ebx
call fcn.00402abd
push ebx
call fcn.00401de3
push ebx
call fcn.00401d0c
push 0x22
push ebx
call fcn.0040224d
push ebx
call fcn.004014d3
add esp, 0x20
test eax, eax
je 0x42cc6d
mov edi, 0x583e6c
push edi
push ebx
call fcn.0050e4b0
test eax, eax
pop ecx
pop ecx
jne 0x42cc6d
push ebx
call fcn.00508320
cmp byte [eax + ebx - 1], 0x5c
pop ecx
je 0x42cc62
push esi
push 0x593bd0
push ebx
call fcn.00402365
add esp, 0xc
push esi
push edi
push ebx
call fcn.00402365
add esp, 0xc
lea eax, [ebp - 0xe0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xec], eax
jne 0x42cca7
xor esi, esi
push 1
push ebx
call fcn.0050a6d0
push 1
push dword [ebp - 0xe8]
call fcn.0050a6d0
add esp, 0x10
mov eax, esi
jmp 0x42cbf3
mov edi, 0x104
lea eax, [ebp - 0xb4]
push eax
call fcn.004010dc
test eax, eax
pop ecx
jne 0x42cd61
cmp byte [ebp - 0xb4], 0x2e
je 0x42cd61
cmp dword [ebp + 0x70], eax
je 0x42cce0
test byte [ebp - 0xe0], 2
jne 0x42cd61
test byte [ebp - 0xe0], 0x10
jne 0x42cd61
inc dword [ebp - 0xe4]
cmp dword [ebp - 0xf0], 0
je 0x42cd61
push esi
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0xe8]
call fcn.00402abd
push edi
lea eax, [ebp - 0xb4]
push ebx
push eax
call fcn.00402abd
lea eax, [ebp - 0xb4]
push eax
call fcn.00403224
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0xe8]
call fcn.00401758
push edi
push dword [ebp - 0xe8]
lea eax, [ebp - 0xb4]
push eax
call fcn.00402abd
add esp, 0x30
push dword [ebp + 0x7c]
lea eax, [ebp - 0xe0]
push eax
call dword [ebp - 0xf0]
test eax, eax
je 0x42cd7c
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42ccac
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x74], 0
je 0x42ce44
mov esi, dword [ebp - 0xe8]
push ebx
push esi
call fcn.0050d660
push esi
call fcn.00403224
push 0x583e6c
push esi
call fcn.0050d670
add esp, 0x14
lea eax, [ebp - 0xe0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42ce44
lea eax, [ebp - 0xb4]
push eax
call fcn.004010dc
test eax, eax
pop ecx
jne 0x42ce2b
cmp byte [ebp - 0xb4], 0x2e
je 0x42ce2b
cmp dword [ebp + 0x70], eax
je 0x42cdf0
test byte [ebp - 0xe0], 2
jne 0x42ce2b
test byte [ebp - 0xe0], 0x10
je 0x42ce2b
push ebx
push esi
call fcn.0050d660
lea eax, [ebp - 0xb4]
push eax
push esi
call fcn.00402c0c
push dword [ebp + 0x7c]
push dword [ebp - 0xf0]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push esi
call fcn.00401e51
add esp, 0x24
add dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42cdc8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0xe4]
jmp 0x42cc88