Function at 0x649ce0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x7c5683
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov eax, dword [esp + 0x194]
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x160], 0xf
mov dword [esp + 0x15c], esi
mov byte [esp + 0x14c], 0
lea ecx, [esp + 0x24]
push 0x1a
push ecx
mov dword [esp + 0x194], esi
call fcn.00668a40
push str.LDSGameCenter_fullscreengames.json
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x1a0], 1
call fcn.00403a70
add esp, 0x14
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x18c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x649d98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call edi
test eax, eax
je 0x649dcf
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x148]
push edx
push eax
call fcn.00614660
add esp, 8
test eax, eax
je 0x649dcf
cmp dword [esp + 0x15c], esi
jne 0x649f49
lea ecx, [esp + 0x1c]
push ecx
call fcn.00618650
push str.Utils_fullscreengames.json
push eax
lea edx, [esp + 0x24]
mov bl, 4
push edx
mov byte [esp + 0x19c], bl
call fcn.00403a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x190], 5
call fcn.00404210
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x18c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x649e2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x18c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x649e56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call edi
test eax, eax
je 0x649e87
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x148]
push edx
push eax
call fcn.00614660
add esp, 8
test eax, eax
je 0x649e87
cmp dword [esp + 0x15c], esi
jne 0x649f49
lea ecx, [esp + 0x18]
push 0x1a
push ecx
call fcn.00668a40
push str.Ludashigame.json
push eax
lea edx, [esp + 0x2c]
mov bl, 6
push edx
mov byte [esp + 0x1a0], bl
call fcn.00403a70
add esp, 0x14
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x190], 7
call fcn.00404210
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x18c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x649ee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x18c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x649f10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call edi
test eax, eax
je 0x64a0dd
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x148]
push edx
push eax
call fcn.00614660
add esp, 8
test eax, eax
je 0x64a0dd
cmp dword [esp + 0x15c], esi
je 0x64a0dd
cmp dword [esp + 0x160], 0x10
mov eax, dword [esp + 0x14c]
jae 0x649f61
lea eax, [esp + 0x14c]
push eax
call fcn.00623a40
mov edi, eax
add esp, 4
cmp edi, esi
je 0x64a0d8
push edi
call fcn.00622b10
mov ebp, eax
add esp, 4
xor esi, esi
test ebp, ebp
jle 0x64a0cf
mov bl, 0xa
push 0
push 0x7fc3f9
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00406a70
lea ecx, [esp + 0x28]
push ecx
push esi
lea edx, [esp + 0x16c]
push edi
push edx
mov byte [esp + 0x19c], 8
call fcn.00621b00
add esp, 0x10
cmp dword [esp + 0x40], 0x10
mov byte [esp + 0x18c], bl
jb 0x649fea
mov eax, dword [esp + 0x2c]
push eax
call fcn.00704960
add esp, 4
cmp dword [esp + 0x178], 0
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
je 0x64a0a4
cmp dword [esp + 0x17c], 0x10
mov eax, dword [esp + 0x168]
jae 0x64a025
lea eax, [esp + 0x168]
lea ecx, [esp + 0x48]
push 0xfde9
mov dword [esp + 0x48], ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00580860
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x190], 0xb
call fcn.004068d0
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
mov byte [esp + 0x18c], 0xd
cmp eax, ecx
je 0x64a06f
push eax
call fcn.007238ab
add esp, 4
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
call fcn.00531ee0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x18c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x64a0a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x17c], 0x10
mov byte [esp + 0x18c], 3
jb 0x64a0c6
mov ecx, dword [esp + 0x168]
push ecx
call fcn.00704960
add esp, 4
inc esi
cmp esi, ebp
jl 0x649f8b
push edi
call fcn.006222c0
add esp, 4
mov esi, 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x18c], 0
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x64a105
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x160], 0x10
jb 0x64a11f
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.00704960
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x17c
ret