Function at 0x436730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e791c
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x52965c]
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
call fcn.0042e7a0
mov ecx, eax
call fcn.00429d60
mov edi, eax
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x436a20
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
call fcn.0042e7a0
mov ecx, eax
call fcn.0042af60
mov esi, eax
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b040
test esi, esi
jne 0x436822
test eax, eax
jne 0x436822
push dword [edi]
lea eax, [ebp - 0x21c]
push str._PIDludashiembed__SUBPID_s
push eax
call fcn.004046e0
add esp, 0xc
call fcn.0042e7a0
mov ecx, eax
call fcn.00429d60
mov ecx, str.360safeadvtool
mov eax, dword [eax]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436806
test dx, dx
je 0x436802
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436806
add eax, 4
add ecx, 4
test dx, dx
jne 0x4367e0
xor eax, eax
jmp 0x43680b
sbb eax, eax
or eax, 1
test eax, eax
je 0x436843
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b010
cmp dword [eax], 0
jne 0x436843
jmp 0x436838
push dword [edi]
lea eax, [ebp - 0x21c]
push str._FROMBUYTRY__PIDludashiembed__SUBPID_s
push eax
call fcn.004046e0
add esp, 0xc
call fcn.0042e7a0
cmp dword [eax + 0x50], 0
je 0x436853
push str.__NOSHORTCUT
lea ecx, [ebp - 0x21c]
call fcn.0041c9b0
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b030
cmp dword [eax], 0
je 0x436874
push str.__FILELIST
lea ecx, [ebp - 0x21c]
call fcn.0041c9b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00474bb0
add esp, 0xc
call fcn.00442db0
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
mov ebx, 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
jne 0x43690c
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
jne 0x4368fd
push str.Cteate_ComputerZ.set_fail.
call fcn.00435160
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4369e2
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x436a2a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov eax, str.gamecenter
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
test eax, 0xffff0000
jne 0x43694a
movzx eax, ax
push eax
call fcn.004066f0
jmp 0x436954
push str.gamecenter
call fcn.0040a920
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00468810
add esp, 0xc
mov edx, dword [ebp - 0x220]
mov eax, esi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436996
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
push 0x4f777c
push str.gamecenter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.Write_decrypt_gamecenter_cmd_result:_d
call fcn.00435160
mov edx, dword [ebp - 0x224]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4369e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x436a04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0045e5d8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
int3