Function at 0x576f20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba133
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00407d60
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403b90
movzx ecx, al
test ecx, ecx
je 0x576f8a
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x24]
jmp 0x577178
mov ecx, dword [ebp - 0x40]
call fcn.00576980
test eax, eax
jne 0x576fb4
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x28]
jmp 0x577178
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00405d50
mov byte [ebp - 4], 1
push str.UpdateTempupdate.exe
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00403a70
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405ef0
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x57703b
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x30]
jmp 0x577178
push 0
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
call fcn.00612480
add esp, 8
test eax, eax
jne 0x57707c
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x34]
jmp 0x577178
push str.LDSGameCenter_update
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov byte [ebp - 4], 3
cmp dword [ebp + 8], 0
je 0x5770e5
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test edx, edx
je 0x5770e5
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.004068d0
mov byte [ebp - 4], 4
push 0x7f92dc
push 0x7f92ec
lea ecx, [ebp - 0x20]
call fcn.004036f0
lea ecx, [ebp - 0x20]
call fcn.00406470
push eax
push 0x7f92f0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004a23e0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00405ef0
push 0
push 0
push 0
push 0
push 1
push 1
lea ecx, [ebp - 0x18]
call fcn.00405e80
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
call fcn.00639ae0
add esp, 0x20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x577147
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x38]
jmp 0x577178
mov dword [ebp - 0x3c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4