Function at 0x43e640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2b79
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x524a60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
call fcn.0043e440
add esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x43e70d
call fcn.004045a0
mov ecx, eax
test ecx, ecx
je 0x43e85d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov ecx, esi
push 0x4e8ad8
call fcn.004040f0
test al, al
jne 0x43e6cc
push 0
push 0x4e8ad8
mov ecx, esi
call fcn.00404e90
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43e6f9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004045a0
mov ecx, eax
test ecx, ecx
je 0x43e867
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
push eax
call fcn.00440bf0
add esp, 4
test eax, eax
jne 0x43e76f
lea eax, [ebp - 0x10]
push eax
call fcn.00440db0
add esp, 4
test eax, eax
jne 0x43e76f
push str.LDSGameCenter.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040bda0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00403aa0
jmp 0x43e791
push str.pgstation.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040bda0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
push eax
call fcn.00403aa0
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43e7b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e7f9
add esi, 0xfffffff0
push esi
call fcn.00404230
mov ebx, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e7f7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43e82a
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x4e8ad8
call fcn.00403650
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e82a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x43e849
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403f90
push 0x80004005
call fcn.00403f90
int3