Function at 0x4c19c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c8ae
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x589bb4]
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 - 0x478], ebx
push 0x250
lea eax, [ebp - 0x468]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004d5e40
add esp, 0xc
lea ecx, [ebp - 0x46c]
push ebx
call fcn.0040df50
mov eax, dword [ebp - 0x46c]
mov edi, 0x55d3c0
sub edi, eax
mov byte [ebp - 4], 1
push 4
push 0x55d3c0
mov ebx, dword [eax - 0xc]
sar edi, 1
call fcn.005019a0
mov ecx, SysReAllocString
mov dword [ebp - 0x470], eax
sub ecx, eax
add esp, 8
cmp ecx, ebx
jl 0x4c1cdb
lea esi, [ebx + eax]
test esi, esi
js 0x4c1ce5
mov eax, dword [ebp - 0x46c]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x4c1a8e
push esi
lea ecx, [ebp - 0x46c]
call fcn.0040afd0
mov eax, dword [ebp - 0x46c]
lea edx, [eax + edi*2]
cmp edi, ebx
jbe 0x4c1a9a
mov edx, 0x55d3c0
mov ecx, dword [ebp - 0x470]
lea eax, [eax + ebx*2]
add ecx, ecx
push ecx
push edx
push ecx
push eax
call fcn.004c20d0
mov eax, dword [ebp - 0x46c]
add esp, 0x10
cmp esi, dword [eax - 8]
jg 0x4c1cdb
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x46c]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c1c85
mov edi, dword [ebp + 0xc]
mov ecx, 0x55d3cc
lea eax, [ebp - 0x43c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c1b26
test dx, dx
je 0x4c1b22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c1b26
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c1b00
xor eax, eax
jmp 0x4c1b2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c1c68
mov ecx, 0x5468bc
lea eax, [ebp - 0x43c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c1b66
test dx, dx
je 0x4c1b62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c1b66
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c1b40
xor eax, eax
jmp 0x4c1b6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c1c68
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4c1bb0
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 0
lea edx, [ebp - 0x474]
mov dword [ebp - 0x474], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x468]
push edx
call dword [eax + 8]
cmp dword [ebp - 0x470], 0
jne 0x4c1c7e
test edi, edi
je 0x4c1c68
test byte [ebp - 0x468], 0x10
je 0x4c1c68
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
mov esi, dword [ebp - 0x478]
lea ecx, [ebp - 0x218]
mov eax, ecx
add esp, 0xc
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4c1c0e
movzx eax, word [esi + ecx]
test ax, ax
je 0x4c1c0e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4c1bf0
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x47c], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4c1c54
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.004c19c0
add esp, 0x30
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c1af0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x46c]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c1ca7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4c1cbf
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.0049a7f8
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040ab80
push 0x80070057
call fcn.0040ab80
int3