Function at 0x49e170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5121a8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x565040]
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.00485600
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 0x49e553
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.004157a0
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00433c50
lea ecx, [ebp - 0x100]
lea edx, [eax + 0xc4]
call fcn.00416570
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00433c50
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 [0x570cc0]
sub ecx, edx
cmp ecx, 1
jb 0x49e5a6
cmp dword [0x570cc4], 7
mov eax, 0x570cb0
push edx
cmova eax, dword [0x570cb0]
push eax
push 1
push 0x521b64
push ecx
push dword [ebp - 0x120]
lea ecx, [ebp - 0xb8]
call fcn.0041b880
push 2
push 0x532ca8
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.0041b6d0
push 1
push 0x521b60
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.0041b6d0
push 1
push 0x521b60
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.0041b6d0
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 0x49e3e4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e3da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e5ab
push ecx
push edx
call fcn.004d2c11
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.00415000
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x49e42d
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e5ab
push ecx
push edx
call fcn.004d2c11
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 0x49e5b0
cmp edi, 7
ja 0x49e4c8
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x49e51d
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49e4db
mov eax, 0x7ffffffe
jmp 0x49e4e5
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.004d7310
add esp, 0x14
xor edx, edx
mov byte [ebp - 4], 0x14
lea ecx, [edx + 1]
call fcn.00418440
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 0x49e589
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e57f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e5b5
push ecx
push edx
call fcn.004d2c11
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.004d2bfe
mov esp, ebp
pop ebp
ret 0xc
call fcn.00401610
call fcn.004e23ec
call fcn.00401610
call fcn.004e23ec
int3