Function at 0x4a54d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5678a5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 edi, dword [ebp + 8]
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x4c], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], vtable.GamePicDownloadInfo.0
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.004b07d0
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 0x4a5698
mov ecx, dword [0x600120]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x4a5715
cmp dword [0x600124], 7
mov eax, 0x600110
push ecx
cmova eax, dword [0x600110]
push eax
push 1
push 0x5824b4
push ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x40]
call fcn.0041ecd0
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x54], esp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], esi
push 1
push 0x5824b4
call fcn.00419a00
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
sub esp, 0x18
mov byte [ebp - 4], 3
mov esi, esp
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
cmp dword [ebp - 0x14], 7
mov edi, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
cmp edi, 0x7ffffffe
ja 0x4a571a
cmp edi, 7
ja 0x4a562c
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x4a5675
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4a563f
mov eax, 0x7ffffffe
jmp 0x4a5649
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.00419f20
mov ecx, dword [ebp - 0x48]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x44]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.0052d740
add esp, 0x14
xor edx, edx
mov byte [ebp - 4], 2
lea ecx, [edx + 1]
call fcn.0041b7d0
add esp, 0x30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004179b0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x4c]
cmp esi, 1
je 0x4a56ae
push 0
push esi
push 0xfb8
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4a56c2
call fcn.0041f660
push 0x4a5730
push edi
call dword [0x5ffbf0]
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4a56f8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a56ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a571f
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 8
call fcn.00401610
call fcn.00401610
call fcn.0053775e
int3