Function at 0x4cc6b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6121
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x494], esi
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x484], eax
cmp edx, 0x18
ja 0x4cd55b
lea eax, [edx + edx*2]
cmp dword [ecx + eax*8 + 0x10], 0
lea edi, [ecx + eax*8]
mov dword [ebp - 0x490], edi
je 0x4cc7fc
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x47c], eax
jb 0x4cc749
mov edi, dword [edi]
mov dword [ebp - 0x490], edi
cmp eax, 8
jae 0x4cc764
movups xmm0, xmmword [edi]
mov edi, 7
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
jmp 0x4cd577
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4cd5b8
add eax, eax
cmp eax, 0x1000
jb 0x4cc7b1
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4cd5b8
push ecx
call fcn.005a1c68
add esp, 4
test eax, eax
je 0x4cd596
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4cc7cc
test eax, eax
je 0x4cc7ca
push eax
call fcn.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4cd5a7
jmp 0x4cc7cc
xor ecx, ecx
mov eax, dword [ebp - 0x47c]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x490]
push ecx
call fcn.00570780
mov eax, dword [ebp - 0x47c]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
jmp 0x4cd577
xor eax, eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov dword [ebp - 4], eax
jmp dword [edx*4 + 0x4cd630]
cmp dword [ebp - 0x484], 0
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004cb630
push eax
lea ecx, [ebp - 0x438]
call fcn.004443e3
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x4cd49a
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc88d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cd5bd
push edx
push ecx
call fcn.0056d0c8
add esp, 8
jmp 0x4cd49a
cmp dword [ebp - 0x428], 0
je 0x4cd4f9
cmp dword [ebp - 0x484], 0
je 0x4cd4b7
lea ecx, [ebp - 0x438]
call fcn.004428e0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cd50b
lea eax, [ebp - 0x438]
cmp edi, eax
je 0x4cd50b
cmp dword [ebp - 0x424], 8
mov ecx, edi
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
jmp 0x4cd506
push 0
push 0x605890
lea ecx, [ebp - 0x438]
call fcn.00407684
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00444a6a
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4cd577
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cd54f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cd626
push edx
push ecx
call fcn.0056d0c8
add esp, 8
jmp 0x4cd577
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov eax, esi
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.0056d855
mov esp, ebp
pop ebp
ret 0xc
push 0x630328
lea eax, [ebp - 0x471]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x469]
push eax
call fcn.0057134b
call fcn.00407541
call fcn.0057b201
call fcn.0057b201
call fcn.004072dc
push 0x630328
lea eax, [ebp - 0x469]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x471]
push eax
call fcn.0057134b
call fcn.004072dc
push 0x630328
lea eax, [ebp - 0x469]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x471]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x469]
push eax
call fcn.0057134b
call fcn.0057b201
call fcn.0057b201
sub eax, 0x9c004cc8
enter 76, 0x5a
int 0x4c
add byte [ecx], bh
into
dec esp
add byte [esi + 0x6c004ccf], bh
ror byte [eax + eax - 0x10], 1
ror byte [eax + eax + 0x74], 1
ror dword [eax + eax - 8], 1
ror dword [eax + eax + 0x25], 1
ror byte [eax + eax + 0x52], cl
ror byte [eax + eax - 0x2a], cl
ror byte [eax + eax - 0x1c], cl
ror byte [eax + eax - 0xe], cl
ror byte [eax + eax + 0x1f], cl
ror dword [eax + eax + 0x4c], cl
ror dword [eax + eax + 0x79], cl
ror dword [eax + eax - 0x5a], cl
ror dword [eax + eax - 0x2d], cl
ror dword [eax + eax + 0x23], cl
aam 0x4c
add byte [ecx - 0x2c], cl
dec esp
add byte [esp + edx*8 + 0x4c], dl
add byte [esi - 0x2c], dh
dec esp
add byte [ecx - 0x73ffb32c], al
aam 0x4c
add ah, cl
int3