Function at 0x5c5fa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x876580
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [esp + 0x290]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x28c], 0
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 1
call fcn.004f5730
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.00806ba1
add esp, 8
test eax, eax
jne 0x5c602c
or eax, 0xffffffff
jmp 0x5c6030
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.004ac570
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 2
call fcn.004aa540
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c607a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x290]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
je 0x5c61c2
lea esp, [esp]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004af3d0
add esp, 0xc
mov esi, eax
mov eax, dword [edi + 4]
mov ecx, edi
mov byte [esp + 0x288], 3
mov dword [esp + 0x18], eax
call fcn.005dfd30
mov ebp, dword [edi + 0x10]
mov ecx, dword [ebp]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ebp
mov byte [esp + 0x288], 4
test ebp, ebp
je 0x5c6157
mov esi, dword [esi]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x5c6115
cmp eax, dword [esi - 0x10]
jne 0x5c6115
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x5c614d
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x5c623f
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0080217f
add esp, 0x10
add ebx, 0x10
mov dword [ebp + 8], ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [edi + 0x10], ecx
mov dword [ebp + 4], edx
mov dword [ebp], 0
mov eax, dword [edi + 4]
inc dword [edi + 8]
test eax, eax
je 0x5c617a
mov dword [eax], ebp
jmp 0x5c617c
mov dword [edi], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [edi + 4], ebp
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c61a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x5c60a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x288], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c61ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x290]
add eax, 0xfffffff0
mov dword [esp + 0x288], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c6218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0080262b
add esp, 0x27c
ret
call fcn.004a8580
int3