Function at 0x4c12f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6e67
mov eax, dword fs:[0]
push eax
sub esp, 0x5e0
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x5ec], ebx
test ebx, ebx
jne 0x4c1333
lea eax, [ebx + 4]
jmp 0x4c16ee
push dword [ebp - 0x5ec]
push ebx
push dword [ebx + 4]
push dword [ebx]
call fcn.0046e900
mov eax, dword [ebx]
push 0x104
mov dword [ebx + 4], eax
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00581fe0
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0048ff80
push 1
push 0x60a09c
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00595f1f
push 3
push 0x60bb24
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00595f1f
add esp, 0x44
mov dword [ebp - 0x338], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x33c], 0
mov byte [ebp - 0x34c], 0
jne 0x4c13c5
xor ecx, ecx
jmp 0x4c13d9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c13d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x34c]
call fcn.0045f8d0
push 2
push 0x60c330
lea ecx, [ebp - 0x34c]
mov dword [ebp - 4], 0
call fcn.004594f0
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00581fe0
add esp, 0xc
lea ecx, [ebp - 0x31c]
cmp dword [ebp - 0x338], 0x10
lea eax, [ebp - 0x34c]
cmovae eax, dword [ebp - 0x34c]
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 dword [ebp - 0x5e8], eax
cmp eax, 0xffffffff
jne 0x4c1474
mov ebx, 5
jmp 0x4c16ce
push 0x60a7b8
lea ecx, [ebp - 0x394]
call fcn.00467340
mov ebx, dword [ebp - 0x5e8]
mov byte [ebp - 4], 1
nop
cmp word [ebp - 0x5b8], 0
jne 0x4c149e
xor eax, eax
jmp 0x4c14b6
lea eax, [ebp - 0x5b8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c14a7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x394]
call fcn.00467810
xor ecx, ecx
mov eax, 2
cmp word [0x60bb28], cx
cmove eax, ecx
push eax
push ecx
push 0x60bb28
lea ecx, [ebp - 0x394]
call fcn.00479a40
cmp eax, 0xffffffff
je 0x4c1691
inc eax
lea ecx, [ebp - 0x394]
push eax
push 0
lea eax, [ebp - 0x364]
push eax
call fcn.00470490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x364]
cmp dword [ebp - 0x350], 8
lea ebx, [ebp - 0x364]
mov eax, dword [ebp - 0x354]
cmovae ecx, dword [ebp - 0x364]
cmovae ebx, dword [ebp - 0x364]
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
lea esi, [ecx + eax*2]
mov byte [ebp - 0x334], 0
mov eax, esi
sub eax, ebx
sar eax, 1
cmp eax, 0xf
je 0x4c1592
push 1
push eax
lea ecx, [ebp - 0x334]
call fcn.00459770
test al, al
je 0x4c1592
cmp dword [ebp - 0x320], 0x10
lea eax, [ebp - 0x334]
mov dword [ebp - 0x324], 0
cmovae eax, dword [ebp - 0x334]
mov byte [eax], 0
push dword [ebp - 0x5ec]
lea ecx, [ebp - 0x334]
push esi
push ebx
call fcn.0047be80
mov byte [ebp - 4], 3
lea edx, [ebp - 0x334]
cmp dword [ebp - 0x320], 0x10
mov dword [ebp - 0x368], 0xf
cmovae edx, dword [ebp - 0x334]
mov dword [ebp - 0x36c], 0
mov byte [ebp - 0x37c], 0
cmp byte [edx], 0
jne 0x4c15e1
xor ecx, ecx
jmp 0x4c15ef
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c15e6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x37c]
call fcn.0045f8d0
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5ec]
push eax
call fcn.004795c0
mov eax, dword [ebp - 0x368]
cmp eax, 0x10
jb 0x4c1630
inc eax
lea ecx, [ebp - 0x37c]
push eax
push dword [ebp - 0x37c]
call fcn.00459720
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x4c164e
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.00459720
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
cmp eax, 8
jb 0x4c168b
inc eax
lea ecx, [ebp - 0x364]
push eax
push dword [ebp - 0x364]
call fcn.004688c0
mov ebx, dword [ebp - 0x5e8]
lea eax, [ebp - 0x5e4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c1490
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x380]
cmp eax, 8
jb 0x4c16cc
inc eax
lea ecx, [ebp - 0x394]
push eax
push dword [ebp - 0x394]
call fcn.004688c0
xor ebx, ebx
mov ecx, dword [ebp - 0x338]
cmp ecx, 0x10
jb 0x4c16ec
inc ecx
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x34c]
call fcn.00459720
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret 4