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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab29c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x904
mov dword [ebp - 0x360], 0
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.00409000
lea edx, [ebp - 0x218]
push edx
call sub.ntdll.dll_strlen
add esp, 4
lea eax, [ebp + eax - 0x218]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx - 1]
cmp edx, 0x5c
je 0x4243ba
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x5c
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
push 0x4c6d94
push 0x104
mov eax, dword [ebp - 0x10]
push eax
call fcn.00409000
lea ecx, [ebp - 0x35c]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
je 0x4245f3
mov dword [ebp - 0x364], 0
lea eax, [ebp - 0x330]
push eax
push 0x104
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00409000
mov edx, dword [ebp - 0x35c]
and edx, 0x10
test edx, edx
je 0x424474
push 0x4c6d98
lea eax, [ebp - 0x330]
push eax
call fcn.00402980
add esp, 8
test eax, eax
je 0x42446f
push 0x4c6d9c
lea ecx, [ebp - 0x330]
push ecx
call fcn.00402980
add esp, 8
test eax, eax
je 0x42446f
cmp dword [ebp + 0xc], 0
je 0x42446f
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00424343
add esp, 8
mov dword [ebp - 0x360], eax
jmp 0x4245ca
cmp dword [ebp - 0x340], 0
jne 0x4245ca
cmp dword [ebp - 0x33c], 0x3200000
ja 0x4245ca
lea ecx, [ebp - 0x90c]
call fcn.0041f6e0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x90c]
call fcn.00494940
test eax, eax
jne 0x4244d2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90c]
call fcn.0041f7aa
jmp 0x4245ca
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x90c]
call fcn.0041fafd
test eax, eax
jne 0x4244ff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90c]
call fcn.0041f7aa
jmp 0x4245ca
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x90c]
call fcn.0041f85a
test eax, eax
je 0x42452c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90c]
call fcn.0041f7aa
jmp 0x4245ca
lea ecx, [ebp - 0x90c]
call fcn.00495140
cmp eax, 1
je 0x424550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90c]
call fcn.0041f7aa
jmp 0x4245ca
lea ecx, [ebp - 0x218]
push ecx
call fcn.0042b4af
add esp, 4
test eax, eax
je 0x4245b8
lea edx, [ebp - 0x218]
push edx
call fcn.00453370
mov ecx, eax
call fcn.00453794
test eax, eax
jne 0x4245b8
lea eax, [ebp - 0x218]
push eax
call fcn.0042dc9d
add esp, 4
mov dword [ebp - 0x910], eax
cmp dword [ebp - 0x910], 1
je 0x4245b8
cmp dword [ebp - 0x910], 2
je 0x4245b8
push 1
push 3
lea ecx, [ebp - 0x218]
push ecx
call fcn.00424610
mov ecx, eax
call fcn.004248c8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90c]
call fcn.0041f7aa
lea edx, [ebp - 0x35c]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4243fe
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x360]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret