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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4338f4
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x445054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.004016c0
add esp, 8
mov dword [ebp - 4], 0
push 0x4354cc
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004037e0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040c930
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0xffffffff
jne 0x402bfb
push 0x4054a0
mov edx, dword [ebp + 8]
push edx
push str.Error_opening_directory:
push 0x4462b0
call fcn.00403370
add esp, 8
push eax
call fcn.00403340
add esp, 8
mov ecx, eax
call fcn.00408600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407c50
jmp 0x402d95
mov byte [ebp - 0x2f1], 0
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x88]
call fcn.004066d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00401770
add esp, 8
mov byte [ebp - 4], 3
push 0x4354d4
lea eax, [ebp - 0x28]
push eax
call fcn.004036d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x402d09
push 0x4354d8
lea edx, [ebp - 0x28]
push edx
call fcn.004036d0
add esp, 8
movzx eax, al
test eax, eax
je 0x402d09
lea ecx, [ebp - 0x28]
push ecx
push 0x4354dc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00403750
add esp, 0xc
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x300]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.00403710
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00407c30
mov ecx, dword [ebp - 0x2f0]
and ecx, 0x10
je 0x402cdc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00402b30
add esp, 0xc
jmp 0x402cfd
lea edx, [ebp - 0x28]
push edx
call fcn.00401b50
add esp, 4
movzx eax, al
test eax, eax
je 0x402cfd
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [ebp + 0x10]
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00407c30
call fcn.00402580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00407c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00407c50
lea eax, [ebp - 0x2f0]
push eax
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402c02
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x402d6d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407c50
jmp 0x402d95
mov edx, dword [ebp - 0x2f8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004112c7
mov esp, ebp
pop ebp
ret