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

Disassembly:
push 0xffffffffffffffff
push 0x48fe39
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x5564a4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x178], 0
call fcn.0045f338
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404042
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x180]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 1
call fcn.00402950
push 0x4f9a3c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00402be0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov eax, dword [esp + 0x28]
cmp esi, 0xffffffff
setne bl
add eax, 0xfffffff0
mov dword [esp + 0x18], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4040c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x404193
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x404193
mov ebx, 3
test byte [esp + 0x2c], 0x10
je 0x404218
mov edi, 0x4f9a38
lea esi, [esp + 0x58]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x404174
mov edi, 0x4f9a34
lea esi, [esp + 0x58]
mov ecx, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x404174
push 0x4f9a30
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00402be0
add esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x5c]
push edx
push eax
push ecx
mov byte [esp + 0x188], 2
call fcn.00402be0
add esp, 0xc
mov ecx, ebp
call fcn.00403fe0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x178], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4040e1
mov edi, dword [esp + 0x180]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x178], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4041c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x178], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.004752ab
add esp, 0x168
ret 4
push 1
push 0x4f9a30
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00402be0
add esp, 8
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x60]
push edx
push eax
push ecx
mov byte [esp + 0x18c], bl
call fcn.00402be0
add esp, 0xc
mov ecx, ebp
call fcn.00403e70
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x178], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404178
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404178