Function at 0x4cf200
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a4091
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [esp + 0x290]
mov ebp, dword [esp + 0x294]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
call fcn.00404460
xor ebx, ebx
mov dword [esp + 0x288], ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4cf2d3
lea edx, [eax - 1]
cmp edx, ebx
jl 0x4cf49c
cmp edx, eax
jg 0x4cf49c
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
jne 0x4cf2d3
mov ecx, dword [ecx - 0xc]
lea eax, [ecx - 1]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
call fcn.00403560
lea edi, [esp + 0x18]
mov byte [esp + 0x288], 1
call fcn.004035d0
mov byte [esp + 0x288], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cf2d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 2
push 0x5c9b28
lea ecx, [esp + 0x20]
push ecx
call fcn.00403fc0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x4cf442
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x2c]
push ecx
push esi
mov byte [esp + 0x290], 2
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4cf413
test byte [esp + 0x2c], 0x10
jne 0x4cf3ff
lea eax, [esp + 0x58]
lea edx, [eax + 2]
jmp 0x4cf350
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cf350
sub eax, edx
sar eax, 1
lea edx, [esp + 0x58]
mov ebx, eax
push edx
lea eax, [esp + 0x20]
call fcn.00404050
test ebp, ebp
je 0x4cf3d2
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4cf380
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cf380
lea ecx, [esp + 0x1c]
sub eax, edx
push ecx
sar eax, 1
lea ecx, [esp + 0x2c]
call fcn.0048f7e0
mov eax, dword [eax]
push ebp
push eax
call fcn.00579288
add esp, 8
test eax, eax
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cf3ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4cf3ff
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call fcn.004499b0
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.005260e0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x24]
mov dword [eax], edi
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4cf336
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x288], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cf442
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cf46d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.005787fd
add esp, 0x278
ret 8
push 0x80070057
call fcn.00404550
int3