Function at 0x4ca390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - method.GamePicDownloadInfo.virtual_0], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0x10]
push esi
call fcn.004b09b0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ca773
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.00418370
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00441760
lea ecx, [ebp - 0x100]
lea edx, [eax + 0xc4]
call fcn.00419370
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00441760
lea ecx, [ebp - 0xe8]
lea edx, [eax + 4]
call fcn.00419370
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 4
mov ecx, 0x7ffffffe
mov edx, dword [0x600120]
sub ecx, edx
cmp ecx, 1
jb 0x4ca7c6
cmp dword [0x600124], 7
mov eax, 0x600110
push edx
cmova eax, dword [0x600110]
push eax
push 1
push 0x5824b4
push ecx
push dword [ebp - 0x120]
lea ecx, [ebp - 0xb8]
call fcn.0041ecd0
push 2
push 0x5af780
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.00419a00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
push dword [ebp - 0x11c]
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0x120]
call fcn.0041eb20
push 1
push 0x582658
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00419a00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x120]
lea ecx, [ebp - 0x88]
call fcn.0041eb20
push 1
push 0x582658
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00419a00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x120]
lea ecx, [ebp - 0xd0]
call fcn.0041eb20
lea ecx, [ebp - 0x70]
call fcn.004179b0
lea ecx, [ebp - 0x88]
call fcn.004179b0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4ca604
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ca5fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca7cb
push ecx
push edx
call fcn.0052b438
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.004179b0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4ca64d
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ca643
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca7cb
push ecx
push edx
call fcn.0052b438
add esp, 8
lea ecx, [ebp - 0xb8]
call fcn.004179b0
lea ecx, [ebp - 0xe8]
call fcn.004179b0
lea ecx, [ebp - 0x100]
call fcn.004179b0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x14
call fcn.004179b0
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
mov dword [ebp - 0x130], esp
push eax
call fcn.004197a0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov esi, esp
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x14], 7
mov edi, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x124], eax
cmp edi, 0x7ffffffe
ja 0x4ca7d0
cmp edi, 7
ja 0x4ca6e8
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x4ca73d
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4ca6fb
mov eax, 0x7ffffffe
jmp 0x4ca705
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.00419f20
mov ecx, dword [ebp - 0x11c]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x124]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.0052d740
add esp, 0x14
xor edx, edx
mov byte [ebp - 4], 0x14
lea ecx, [edx + 1]
call fcn.0041b7d0
add esp, 0x30
push dword [ebp + 0x10]
push dword [ebp - 0x128]
push 0x8b5
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0xd0]
call fcn.004179b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4ca7a9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ca79f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca7d5
push ecx
push edx
call fcn.0052b438
add esp, 8
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.0052b3fa
mov esp, ebp
pop ebp
ret 0xc
call fcn.00401610
call fcn.0053775e
call fcn.00401610
call fcn.0053775e
int3