Function at 0x43ecb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2d11
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x524a60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x68], 0
push dword [eax]
lea eax, [ebp - 0x60]
push eax
call fcn.0043a2c0
add esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
jne 0x43ed7a
call fcn.004045a0
mov ecx, eax
test ecx, ecx
je 0x43f071
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov ecx, edi
push 0x4e8ad8
call fcn.004040f0
test al, al
jne 0x43ed44
push 0
push 0x4e8ad8
mov ecx, edi
call fcn.00404e90
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov esi, dword [ebp - 0x60]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43f053
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43f053
call fcn.004045a0
mov ecx, eax
test ecx, ecx
je 0x43f07b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
push str.LDSGameCenter_
call fcn.004040f0
test al, al
jne 0x43edb8
push 0xf
push str.LDSGameCenter_
lea ecx, [ebp - 0x64]
call fcn.00404e90
mov byte [ebp - 4], 5
lea eax, [ebp - 0x64]
push 1
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0042eab0
add esp, 0xc
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x64]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43edef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x12
push str.LocalStorage.json
lea ecx, [ebp - 0x5c]
call fcn.0040c0e0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ee64
push 0x4e8ad8
mov ecx, edi
call fcn.00403650
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ee3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43f053
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43f053
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xb
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x5c]
mov edx, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43eeb2
sub edx, esi
lea ecx, [ebp - 0x40]
sar edx, 1
push edx
push eax
call fcn.004061e0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042ff80
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.004039d0
test esi, esi
jg 0x43ef33
push 0x4e8ad8
mov ecx, edi
call fcn.00403650
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.00409cb0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ef2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43ee3c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004341c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x43ef6c
push 0x4e8ad8
mov ecx, edi
call fcn.00403650
mov dword [ebp - 0x68], 1
jmp 0x43f02f
lea ecx, [ebp - 0x6c]
call fcn.0040bbd0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x70]
push 0x4e8ad8
push dword [ebp - 0x60]
push esi
push eax
call fcn.00435420
add esp, 0x10
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x70]
cmp dword [eax - 0xc], 0
je 0x43efe4
push eax
lea ecx, [ebp - 0x40]
call fcn.004036f0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004a30c0
add esp, 8
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 8
jb 0x43efc3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040bd50
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
call fcn.004039d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.004039d0
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
push eax
call fcn.00404230
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.00403980
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6c]
call fcn.00403980
mov byte [ebp - 4], 0xb
push esi
call fcn.00434090
add esp, 4
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.00409cb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00403980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403980
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1588
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403f90
push 0x80004005
call fcn.00403f90
int3