Function at 0x4c3b10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7171
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
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 dword [ebp - 0x904], ecx
mov esi, dword [ebp + 8]
xor edi, edi
test esi, esi
je 0x4c3eae
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push edi
push 0xffffffffffffffff
push esi
push edi
push 0xfde9
call ebx
cmp eax, 1
jle 0x4c3eae
mov ecx, dword [ebp - 0x904]
push esi
call fcn.004c3ee0
cmp al, 1
je 0x4c3eaa
push 0x104
lea eax, [ebp - 0x154]
push edi
push eax
call fcn.00581fe0
lea eax, [ebp - 0x154]
push edi
push eax
call fcn.0048ff80
push 1
push 0x60a09c
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00595f1f
push 3
push 0x60bb24
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00595f1f
add esp, 0x34
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x698]
push eax
call fcn.0045e830
push 2
push 0x60c330
lea ecx, [ebp - 0x698]
mov dword [ebp - 4], edi
call fcn.004594f0
push 0x208
lea eax, [ebp - 0x668]
push edi
push eax
call fcn.00581fe0
push 0x208
lea eax, [ebp - 0x460]
push edi
push eax
call fcn.00581fe0
add esp, 0x18
lea ecx, [ebp - 0x668]
cmp dword [ebp - 0x684], 0x10
lea eax, [ebp - 0x698]
cmovae eax, dword [ebp - 0x698]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push edi
push 0xfde9
call ebx
push 0x104
lea eax, [ebp - 0x460]
push eax
push 0xffffffffffffffff
push esi
push edi
push 0xfde9
call ebx
lea eax, [ebp - 0x900]
push eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4c3c88
mov edi, 5
jmp 0x4c3e8c
push 0x60a7b8
lea ecx, [ebp - 0x680]
call fcn.00467340
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x8d4], 0
jne 0x4c3cb0
xor eax, eax
jmp 0x4c3ccf
lea eax, [ebp - 0x8d4]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c3cc0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x8d4]
push eax
lea ecx, [ebp - 0x680]
call fcn.00467810
cmp word [ebp - 0x460], 0
jne 0x4c3cf0
xor ecx, ecx
jmp 0x4c3d0f
lea ecx, [ebp - 0x460]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3d00
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x680]
call fcn.00479a40
cmp eax, 0xffffffff
jne 0x4c3d43
lea eax, [ebp - 0x900]
push eax
push ebx
call esi
test eax, eax
jne 0x4c3ca2
lea edi, [eax + 5]
jmp 0x4c3e7a
push 0
push 0x60efa8
lea ecx, [ebp - 0x680]
call fcn.00479640
push eax
push 0
lea eax, [ebp - 0x6b0]
push eax
lea ecx, [ebp - 0x680]
call fcn.00470490
push 0x40
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00581fe0
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x50]
add esp, 0xc
lea eax, [ebp - 0x6b0]
cmp dword [ebp - 0x69c], 8
cmovae eax, dword [ebp - 0x6b0]
push 0
push 0
push 0x40
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
mov ecx, dword [ebp - 0x904]
lea eax, [ebp - 0x50]
push eax
call fcn.004c3ee0
cmp al, 1
je 0x4c3e6f
push 0x104
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00581fe0
add esp, 0xc
lea ecx, [ebp - 0x258]
cmp dword [ebp - 0x66c], 8
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push 0
push 0
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 1
push 0x60a09c
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00595f1f
lea ecx, [ebp - 0x258]
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c3e30
sub ecx, edx
lea eax, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00595f1f
mov ecx, dword [ebp - 0x904]
lea eax, [ebp - 0x154]
add esp, 0x10
push 1
push 0
push 0
push eax
call fcn.004c0520
mov edi, eax
lea ecx, [ebp - 0x6b0]
call fcn.00467300
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x680]
call fcn.00467300
mov eax, dword [ebp - 0x684]
cmp eax, 0x10
jb 0x4c3eaa
inc eax
lea ecx, [ebp - 0x698]
push eax
push dword [ebp - 0x698]
call fcn.00459720
mov eax, edi
jmp 0x4c3eb3
mov eax, 4
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