Function at 0x49f4f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5139a8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x567040]
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 - 0x120], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0x10]
push esi
call fcn.004860e0
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 0x49f8d3
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.004157a0
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00434180
lea ecx, [ebp - 0x100]
lea edx, [eax + 0xc4]
call fcn.00416570
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00434180
lea ecx, [ebp - 0xe8]
lea edx, [eax + 4]
call fcn.00416570
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 4
mov ecx, 0x7ffffffe
mov edx, dword [0x572ce8]
sub ecx, edx
cmp ecx, 1
jb 0x49f926
cmp dword [0x572cec], 7
mov eax, 0x572cd8
push edx
cmova eax, dword [0x572cd8]
push eax
push 1
push 0x522ab4
push ecx
push dword [ebp - 0x120]
lea ecx, [ebp - 0xb8]
call fcn.0041bd80
push 2
push 0x533df4
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.00416c00
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.0041bbd0
push 1
push 0x522c58
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00416c00
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.0041bbd0
push 1
push 0x522c58
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00416c00
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.0041bbd0
lea ecx, [ebp - 0x70]
call fcn.00415000
lea ecx, [ebp - 0x88]
call fcn.00415000
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x49f764
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49f75a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49f92b
push ecx
push edx
call fcn.004d4141
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.00415000
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x49f7ad
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49f7a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49f92b
push ecx
push edx
call fcn.004d4141
add esp, 8
lea ecx, [ebp - 0xb8]
call fcn.00415000
lea ecx, [ebp - 0xe8]
call fcn.00415000
lea ecx, [ebp - 0x100]
call fcn.00415000
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x14
call fcn.00415000
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
mov dword [ebp - 0x130], esp
push eax
call fcn.004169a0
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 0x49f930
cmp edi, 7
ja 0x49f848
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x49f89d
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49f85b
mov eax, 0x7ffffffe
jmp 0x49f865
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.00417130
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.004d8840
add esp, 0x14
xor edx, edx
mov byte [ebp - 4], 0x14
lea ecx, [edx + 1]
call fcn.00418940
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.00415000
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x49f909
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49f8ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49f935
push ecx
push edx
call fcn.004d4141
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.004d412e
mov esp, ebp
pop ebp
ret 0xc
call fcn.00401610
call fcn.004e392c
call fcn.00401610
call fcn.004e392c
int3