Function at 0x4c9090
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e6a7
mov eax, dword fs:[0]
push eax
sub esp, 0x74c
mov eax, dword [0x5ad124]
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, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x4c0], xmm0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x744], edi
mov dword [ebp - 0x748], 0
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x130], 0
jne 0x4c912e
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x4c9638
movups xmmword [ebp - 0x4b4], xmm0
mov dword [ebp - 0x4a4], 0
push 8
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
call fcn.00507050
add esp, 4
mov dword [ebp - 0x4b4], eax
test eax, eax
je 0x4c9198
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x4b4]
lea ecx, [ebp - 0x4b4]
mov dword [eax], ecx
lea eax, [esi + 0x120]
mov byte [ebp - 4], 1
push eax
call fcn.004ca8f0
cmp dword [ebp - 0x4a4], 0
je 0x4c95f8
nop dword [eax]
lea eax, [ebp - 0x758]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.004cb2f0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x4c91de
xor eax, eax
jmp 0x4c91e0
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x4d8], cx
lea ecx, [ebp - 0x4d8]
push eax
mov dword [ebp - 0x4c4], 7
mov dword [ebp - 0x4c8], 0
call fcn.00413750
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4ac]
mov eax, dword [ebp - 0x4b0]
dec ecx
and ecx, dword [ebp - 0x4a8]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4c9285
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x4c9657
add eax, eax
cmp eax, 0x1000
jb 0x4c927c
test cl, 0x1f
jne 0x4c9657
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4c9657
sub ecx, eax
cmp ecx, 4
jb 0x4c9657
cmp ecx, 0x23
ja 0x4c9657
mov ecx, eax
push ecx
call fcn.00506ed8
add esp, 4
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4c929b
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x4a4], 1
jne 0x4c92b1
mov dword [ebp - 0x4a8], eax
jmp 0x4c92b7
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.0050b5d0
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4a0]
push 0x585dbc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x58c3e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.0050b5d0
add esp, 0xc
lea eax, [ebp - 0x728]
push eax
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4c95c3
nop dword [eax + eax]
cmp word [ebp - 0x6fc], 0x2e
je 0x4c95a6
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0050b5d0
add esp, 0xc
lea ecx, [ebp - 0x6fc]
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push ecx
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x728], 0x10
je 0x4c9510
xor eax, eax
mov dword [ebp - 0x72c], 7
mov dword [ebp - 0x730], 0
mov word [ebp - 0x740], ax
cmp word [ebp - 0x298], ax
je 0x4c93df
lea eax, [ebp - 0x298]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c93d0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x740]
call fcn.004122f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x4ac]
inc eax
cmp edx, eax
ja 0x4c9419
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.004cb100
mov edx, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4a8]
dec edx
mov eax, dword [ebp - 0x4a4]
and ecx, edx
add eax, ecx
mov dword [ebp - 0x4a8], ecx
and eax, edx
lea esi, [eax*4]
mov eax, dword [ebp - 0x4b0]
cmp dword [eax + esi], 0
jne 0x4c945e
push 0x18
call fcn.00507050
mov ecx, dword [ebp - 0x4b0]
add esp, 4
mov dword [ecx + esi], eax
mov eax, dword [ebp - 0x4b0]
mov esi, dword [eax + esi]
test esi, esi
je 0x4c94fe
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x4c9481
mov eax, dword [esi]
jmp 0x4c9483
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x72c], 8
jae 0x4c94b1
mov eax, dword [ebp - 0x730]
add eax, 1
je 0x4c94bf
add eax, eax
push eax
lea eax, [ebp - 0x740]
push eax
push esi
call fcn.0050a600
add esp, 0xc
jmp 0x4c94bf
mov eax, dword [ebp - 0x740]
mov dword [esi], eax
mov dword [ebp - 0x740], ecx
mov eax, dword [ebp - 0x730]
xor ecx, ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x72c]
mov dword [esi + 0x14], eax
mov eax, 7
inc dword [ebp - 0x4a4]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x730], 0
mov word [ebp - 0x740], cx
mov byte [ebp - 4], 2
jmp 0x4c958e
mov eax, dword [ebp - 0x72c]
inc dword [ebp - 0x4a4]
mov byte [ebp - 4], 2
jmp 0x4c958e
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0050b5d0
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6fc]
push 0
push eax
call fcn.0054227b
lea eax, [ebp - 0x90]
push eax
push str..exe
call fcn.00528535
add esp, 0x38
test eax, eax
jne 0x4c95a6
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x740]
call fcn.00411150
lea eax, [ebp - 0x740]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4c0]
call fcn.004ca330
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x72c]
cmp eax, 8
jb 0x4c95a6
inc eax
lea ecx, [ebp - 0x740]
push eax
push dword [ebp - 0x740]
call fcn.00414a40
lea eax, [ebp - 0x728]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c9340
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c4]
cmp eax, 8
jb 0x4c95e5
inc eax
lea ecx, [ebp - 0x4d8]
push eax
push dword [ebp - 0x4d8]
call fcn.00414a40
cmp dword [ebp - 0x4a4], 0
jne 0x4c91c0
mov edi, dword [ebp - 0x744]
lea eax, [ebp - 0x4c0]
mov ecx, edi
push eax
call fcn.004ca3d0
lea ecx, [ebp - 0x4b4]
call fcn.004ca7b0
push 8
push 1
push dword [ebp - 0x4b4]
call fcn.00407890
add esp, 0xc
mov dword [ebp - 0x4b4], 0
lea ecx, [ebp - 0x4c0]
call fcn.004ca2d0
mov eax, edi
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.00507796
mov esp, ebp
pop ebp
ret 4
call fcn.00515e51
int3