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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43deca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
lea eax, [ebp - 0x2e8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x160]
call fcn.004027b0
mov dword [ebp - 4], 0
cmp dword [0x4463f4], 0
je 0x402309
lea edx, [ebp - 0x2a4]
push edx
push 0x442178
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x2f8]
push ecx
call fcn.00405130
add esp, 0xc
mov dword [ebp - 0x334], eax
mov edx, dword [ebp - 0x334]
mov dword [ebp - 0x338], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x338]
call fcn.00402840
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.004027e0
cmp dword [ebp - 0x2a8], 0xffffffff
je 0x402309
mov byte [ebp - 0x2ac], 1
mov eax, dword [ebp - 0x2ac]
and eax, 0xff
test eax, eax
je 0x4022fc
mov ecx, dword [ebp - 0x2a4]
and ecx, 0x10
test ecx, ecx
je 0x4022d8
push 0x44217c
lea edx, [ebp - 0x278]
push edx
call fcn.00436d20
add esp, 8
test eax, eax
je 0x4022d8
push 0x442180
lea eax, [ebp - 0x278]
push eax
call fcn.00436d20
add esp, 8
test eax, eax
je 0x4022d8
push 0x5c
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x308]
push eax
call fcn.00405130
add esp, 0xc
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x340]
push edx
lea eax, [ebp - 0x2c0]
push eax
call fcn.004051f0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x308]
call fcn.004027e0
lea ecx, [ebp - 0x2c0]
call fcn.00402840
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402136
add esp, 0xc
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call fcn.004027e0
lea eax, [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4022f7
mov byte [ebp - 0x2ac], 0
jmp 0x4021f1
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x318]
push eax
call fcn.00405130
add esp, 0xc
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x348], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x348]
call fcn.00402840
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x318]
call fcn.004027e0
cmp dword [ebp - 0x164], 0xffffffff
jne 0x402397
mov dword [ebp - 0x31c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.004027e0
mov eax, dword [ebp - 0x31c]
jmp 0x4024a1
mov byte [ebp - 0x150], 1
mov edx, dword [ebp - 0x150]
and edx, 0xff
test edx, edx
je 0x402472
mov eax, dword [ebp - 0x14c]
and eax, 0x10
test eax, eax
jne 0x40244e
lea ecx, [ebp - 0x2e4]
call fcn.004026b0
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c4], 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x32c]
push eax
call fcn.00405130
add esp, 0xc
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x350]
push edx
lea ecx, [ebp - 0x2e4]
call fcn.00402800
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x32c]
call fcn.004027e0
lea eax, [ebp - 0x2e4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402920
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e4]
call fcn.00402710
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40246d
mov byte [ebp - 0x150], 0
jmp 0x40239e
mov eax, dword [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x330], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.004027e0
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret