Function at 0x4cc470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da7ad
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x63d284]
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 - 0x38], ecx
sub esp, 0x18
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp + 8]
mov edx, SysReAllocString
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp ecx, 8
jae 0x4cc4e8
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4cc567
mov edi, ecx
or edi, 7
cmp edi, edx
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4cc8f7
add eax, eax
cmp eax, 0x1000
jb 0x4cc530
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4cc8f7
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4cc89e
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4cc54b
test eax, eax
je 0x4cc549
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4cc8ac
jmp 0x4cc54b
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [esi + 0x10], ecx
push eax
mov dword [esi + 0x14], edi
call fcn.004cd5b0
mov esi, eax
add esp, 0x1c
lea eax, [ebp + 8]
cmp eax, esi
je 0x4cc5ee
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4cc5bc
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc5b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc8ba
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov dword [ebp + 0x18], 0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp + 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4cc628
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc61e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc8ba
push edx
push ecx
call fcn.0056c61e
add esp, 8
cmp dword [ebp + 0x18], 0
je 0x4cc843
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cc843
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x4cc767
mov esi, dword [eax + 0x30]
lea edi, [eax + 0x2c]
cmp esi, dword [edi + 8]
je 0x4cc751
mov dword [esi], 0
lea ecx, [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, 8
jae 0x4cc6b4
movups xmm0, xmmword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, 7
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea esi, [eax - 6]
add dword [edi + 4], 0x18
jmp 0x4cc845
or eax, 7
mov ecx, SysReAllocString
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x38], eax
inc eax
cmp eax, 0x7fffffff
ja 0x4cc8f7
add eax, eax
cmp eax, 0x1000
jb 0x4cc703
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4cc8f7
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4cc8bf
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4cc71e
test eax, eax
je 0x4cc71c
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4cc8cd
jmp 0x4cc71e
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov esi, 1
add dword [edi + 4], 0x18
jmp 0x4cc845
lea eax, [ebp + 8]
mov ecx, edi
push eax
push esi
call fcn.00453179
mov esi, 1
jmp 0x4cc845
sub esp, 0x18
lea eax, [ebp + 8]
mov esi, esp
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp ecx, 8
jae 0x4cc7a9
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4cc831
mov edi, ecx
mov ecx, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, ecx
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4cc8f7
add eax, eax
cmp eax, 0x1000
jb 0x4cc7fa
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4cc8f7
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4cc8db
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4cc815
test eax, eax
je 0x4cc813
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4cc8e9
jmp 0x4cc815
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x14], edi
call fcn.004ca4e0
mov esi, eax
jmp 0x4cc845
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4cc87f
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cc875
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc8fc
push edx
push ecx
call fcn.0056c61e
add esp, 8
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.0056cd75
mov esp, ebp
pop ebp
ret 0x18
push 0x638780
lea eax, [ebp - 0x29]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x2a]
push eax
call fcn.0057359b
call fcn.0057da80
push 0x638780
lea eax, [ebp - 0x2a]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x29]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x2a]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x29]
push eax
call fcn.0057359b
call fcn.00407b84
call fcn.0057da80
int3