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

Disassembly:
push 0xffffffffffffffff
push 0x4afe14
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4ecba0]
xor eax, esp
mov dword [esp + 0x164], eax
push ebp
push esi
push edi
mov eax, dword [0x4ecba0]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, ecx
fldz
fstp qword [esp + 0x18]
mov dword [esp + 0x180], 0
call fcn.0046d74a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x459337
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
cmp byte [esp + 0x18c], 0
mov byte [esp + 0x180], 1
je 0x45936c
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040bbf0
jmp 0x4593c0
push str..
lea edx, [esp + 0x18c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0040cb30
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 2
call fcn.0040bbf0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x180], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4593c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
je 0x459553
nop
test byte [esp + 0x34], 0x10
je 0x45951c
mov ecx, 0x4cbcf0
lea eax, [esp + 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x459414
test dl, dl
je 0x459410
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x459414
add eax, 2
add ecx, 2
test dl, dl
jne 0x4593f4
xor eax, eax
jmp 0x459419
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x459538
mov ecx, 0x4cbcec
lea eax, [esp + 0x60]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x459450
test dl, dl
je 0x45944c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x459450
add eax, 2
add ecx, 2
test dl, dl
jne 0x459430
xor eax, eax
jmp 0x459455
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x459538
push 0x4ba3b8
lea edx, [esp + 0x18c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0040cb30
lea ecx, [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x198], 3
call fcn.0040cb30
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 4
call fcn.0040bbf0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x180], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4594c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x180], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4594f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push 0
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00409450
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.004592d0
mov esi, dword [esp + 0x20]
jmp 0x459530
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4593e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [edi - 0x10]
mov byte [esp + 0x180], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x188]
add eax, 0xfffffff0
mov dword [esp + 0x180], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4595a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [esp + 0x18]
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0048f35c
add esp, 0x174
ret 8