Function at 0x4c4190
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d71d8
mov eax, dword fs:[0]
push eax
sub esp, 0x7bc
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x7c4], edi
mov dword [edi + 0x10], 0
jb 0x4c4201
mov eax, dword [edi]
jmp 0x4c4203
mov eax, edi
push 0
push 0x6090cf
mov ecx, edi
mov byte [eax], 0
call fcn.0045f8d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 1
test ebx, ebx
je 0x4c44f6
cmp byte [ebx], 0
je 0x4c44f6
push 0x104
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, 0x34
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x53c]
push eax
call fcn.0045e830
push 2
push 0x60c330
lea ecx, [ebp - 0x53c]
mov dword [ebp - 4], 1
call fcn.004594f0
push 0x208
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00581fe0
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00581fe0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x524]
add esp, 0x18
lea eax, [ebp - 0x53c]
cmp dword [ebp - 0x528], 0x10
cmovae eax, dword [ebp - 0x53c]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x7bc]
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c4465
push 0x60a7b8
lea ecx, [ebp - 0x554]
call fcn.00467340
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x790], 0
jne 0x4c436f
xor eax, eax
jmp 0x4c438f
lea eax, [ebp - 0x790]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c4380
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x790]
push eax
lea ecx, [ebp - 0x554]
call fcn.00467810
cmp word [ebp - 0x31c], 0
jne 0x4c43b0
xor ecx, ecx
jmp 0x4c43cf
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c43c0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x554]
call fcn.00479a40
cmp eax, 0xffffffff
jne 0x4c43fd
lea eax, [ebp - 0x7bc]
push eax
push esi
call ebx
test eax, eax
jne 0x4c4361
jmp 0x4c444f
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4c441a
mov eax, dword [ecx]
jmp 0x4c441c
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x554]
push edx
push eax
call fcn.00467cf0
lea eax, [ebp - 0x56c]
push eax
call fcn.004c3980
push eax
mov ecx, edi
call fcn.004674d0
lea ecx, [ebp - 0x56c]
call fcn.0045e7f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 1
call fcn.00467300
cmp dword [edi + 0x10], 0
je 0x4c44d8
push 1
push 0x60a09c
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00595f1f
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x4c4490
mov eax, dword [edi]
jmp 0x4c4492
mov eax, edi
push dword [edi + 0x10]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00595f1f
add esp, 0x10
cmp byte [ebp - 0x114], 0
jne 0x4c44b7
xor ecx, ecx
jmp 0x4c44c9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c44c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.0045f8d0
mov ecx, dword [ebp - 0x528]
cmp ecx, 0x10
jb 0x4c44f6
inc ecx
push ecx
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x53c]
call fcn.00459720
mov eax, edi
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 8