Function at 0x4c87a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601c77
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x5f8], esi
mov dword [ebp - 0x5ec], 0
test esi, esi
jne 0x4c87ec
lea eax, [esi + 4]
jmp 0x4c8cff
push esi
push dword [esi + 4]
push dword [esi]
call fcn.0044de50
mov eax, dword [esi]
push 0x104
mov dword [esi + 4], eax
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00572a10
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004615d0
push 1
push 0x62dab8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461460
push 3
push 0x63c6d0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461460
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x384], 0
add esp, 0x40
mov dword [ebp - 0x380], 0xf
mov byte [ebp - 0x394], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c8874
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x394]
call fcn.0044e410
push 2
push 0x63c27c
lea ecx, [ebp - 0x394]
mov dword [ebp - 4], 0
call fcn.00450ff0
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00572a10
add esp, 0xc
lea ecx, [ebp - 0x31c]
cmp dword [ebp - 0x380], 0x10
lea eax, [ebp - 0x394]
cmovae eax, dword [ebp - 0x394]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x5f0], esi
cmp esi, 0xffffffff
jne 0x4c8920
mov eax, 5
mov dword [ebp - 0x5ec], eax
jmp 0x4c8cc3
xor eax, eax
mov dword [ebp - 0x324], 0
push eax
push 0x62d970
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
call fcn.0044e500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5b8]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c8960
sub ecx, edx
lea eax, [ebp - 0x5b8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x334]
call fcn.0044e500
mov edi, dword [ebp - 0x320]
lea eax, [ebp - 0x334]
mov esi, dword [ebp - 0x324]
cmp edi, 8
cmovae eax, dword [ebp - 0x334]
mov dword [ebp - 0x5e8], eax
cmp esi, 2
jb 0x4c89df
lea ecx, [esi - 1]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x5f4], ecx
sub ecx, eax
sar ecx, 1
je 0x4c89d3
mov dx, word [0x63c6d4]
cmp word [eax], dx
je 0x4c8b31
add eax, 2
sub ecx, 1
jne 0x4c89c2
mov esi, dword [ebp - 0x324]
mov edi, dword [ebp - 0x320]
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x4c8c62
xor ecx, ecx
mov dword [ebp - 0x354], 0
mov word [ebp - 0x364], cx
lea ecx, [eax + 1]
cmp esi, ecx
mov dword [ebp - 0x350], 7
lea eax, [ebp - 0x334]
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x364]
push eax
call fcn.0044e500
cmp dword [ebp - 0x350], 8
lea edx, [ebp - 0x364]
mov eax, dword [ebp - 0x354]
lea edi, [ebp - 0x364]
cmovae edx, dword [ebp - 0x364]
lea ecx, [ebp - 0x34c]
cmovae edi, dword [ebp - 0x364]
mov byte [ebp - 4], 2
mov dword [ebp - 0x33c], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0x338], 0xf
mov dword [ebp - 0x5e8], eax
sub eax, edi
sar eax, 1
push eax
mov byte [ebp - 0x34c], 0
call fcn.00456a70
push dword [ebp - 0x5f0]
lea ecx, [ebp - 0x34c]
push dword [ebp - 0x5e8]
push edi
call fcn.0044dca0
cmp dword [ebp - 0x338], 0x10
lea edx, [ebp - 0x34c]
mov byte [ebp - 4], 3
cmovae edx, dword [ebp - 0x34c]
mov ecx, edx
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0xf
mov byte [ebp - 0x37c], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c8ae0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x37c]
call fcn.0044e410
mov esi, dword [ebp - 0x5f8]
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4c8b78
movups xmm0, xmmword [ebp - 0x37c]
mov edx, 0xf
mov byte [ebp - 0x37c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x36c]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x4c8b8d
mov edx, 0x63c6d4
mov edi, eax
mov esi, 2
sub edi, edx
nop
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x4c8b6a
add edx, 2
sub esi, 1
jne 0x4c8b40
sub eax, dword [ebp - 0x5e8]
mov esi, dword [ebp - 0x324]
mov edi, dword [ebp - 0x320]
sar eax, 1
jmp 0x4c89e2
mov ecx, dword [ebp - 0x5f4]
add eax, 2
jmp 0x4c89b5
lea ecx, [ebp - 0x37c]
push ecx
push eax
mov ecx, esi
call fcn.0044dec0
mov edx, dword [ebp - 0x368]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4c8bc5
mov ecx, dword [ebp - 0x37c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c8bbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c8d1c
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov edx, dword [ebp - 0x338]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4c8c03
mov ecx, dword [ebp - 0x34c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c8bf9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c8d1c
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov edx, dword [ebp - 0x350]
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0xf
mov byte [ebp - 0x34c], 0
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4c8c62
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c8c58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c8d1c
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov esi, dword [ebp - 0x5f0]
lea eax, [ebp - 0x5e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c8952
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x320]
cmp edx, 8
jb 0x4c8cc1
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c8cb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c8d1c
push edx
push ecx
call fcn.0055d3b2
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x380]
cmp edx, 0x10
jb 0x4c8cff
mov ecx, dword [ebp - 0x394]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c8cef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c8d21
push edx
push ecx
call fcn.0055d3b2
mov eax, dword [ebp - 0x5ec]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret 4
call fcn.0057bc5b
call fcn.0057bc5b
int3