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

Disassembly:
push 0xffffffffffffffff
push 0x473633
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x4968d4]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4968d4]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov eax, dword [esp + 0x484]
mov esi, dword [esp + 0x480]
mov dword [esp + 0x18], eax
mov eax, esi
mov dword [esp + 0x478], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424330
sub eax, edx
jne 0x424364
mov eax, dword [esp + 0x488]
add eax, 0xfffffff0
mov dword [esp + 0x478], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x424545
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea ecx, [esp + 0x164]
push ecx
call ebx
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424380
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x4243c7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424397
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x4243c7
lea edi, [esp + 0x160]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4243b3
mov dx, word [0x47a8f0]
mov word [edi], dx
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x36c]
push ecx
call ebx
mov ebp, dword [esp + 0x488]
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4243e4
lea edi, [esp + 0x368]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x424400
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x424400
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x36c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x424523
mov ebx, 1
jmp 0x424440
cmp byte [esp + 0x4c], 0x2e
jne 0x42445b
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jle 0x42450f
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test byte [esp + 0x20], 0x10
je 0x4244c5
cmp dword [esp + 0x48c], 0
je 0x4244c5
push ebx
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.0040ab70
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x24]
add esp, 4
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.004242d0
add esp, 0x10
jmp 0x42450f
lea edx, [esp + 0x264]
push edx
lea ecx, [esp + 0x18]
call fcn.00421160
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x47c], bl
call fcn.00423f70
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x478], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42450f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424440
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x10]
mov dword [esp + 0x478], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424551
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00454567
add esp, 0x468
ret