Function at 0x425a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516d60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x10], 1
jne 0x425d52
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
cmp esi, 0x1401
jne 0x425b00
mov eax, dword [ebx + 0x24]
lea edx, [ebp - 0x10]
push edx
push edi
push dword [ebp + 0x10]
lea ecx, [ebx + 0x24]
push 0x1401
call dword [eax]
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x425b23
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x1403
jne 0x425b23
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push edi
push dword [ebp + 0x10]
mov ecx, ebx
push esi
call dword [eax + 0x10]
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x425ae7
mov esi, dword [ebx + 0x28]
lea ecx, [ebx + 0x24]
push 0
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425730
mov dword [ebx + 0x28], esi
test eax, eax
jne 0x425ae7
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x425b7f
push edi
mov ecx, ebx
mov dword [ebx + 0x3c], eax
call fcn.00425040
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x3c], 0
je 0x425d52
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x14
jne 0x425bb7
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x3c], 1
mov dword [eax], 0
cmp dword [ebx + 0x3c], 0
je 0x425d52
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x425d52
mov eax, dword [ebp + 0x10]
mov ecx, 1
movzx edi, ax
cmp cx, di
jne 0x425c0d
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0x14]
shr eax, 0x10
mov ecx, ebx
push 1
push eax
call fcn.00424d60
cmp dword [ebp - 0x10], 0
mov esi, dword [ebp + 0x18]
mov dword [esi], eax
je 0x425c10
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0x18]
mov eax, 2
cmp ax, di
jne 0x425cd3
mov dword [ebp - 0x10], 1
call fcn.0040ed70
mov ecx, eax
call fcn.0040cb60
test eax, eax
jne 0x425c53
call fcn.0040ed70
mov ecx, eax
call fcn.0040cbb0
test eax, eax
jne 0x425c53
call fcn.00472210
push 0
push str.LDSGameCenter.exe
jmp 0x425c5f
call fcn.00472210
push 0
push str.pgstation.exe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0x18], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.game_shortcut_open
mov dword [ebp - 4], 0
call fcn.0046f0b0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470530
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x425cb2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x10], 0
mov dword [esi], 0
jne 0x425ae7
mov eax, 3
cmp ax, di
jne 0x425d52
push 0
push dword [ebx + 4]
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0x18], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.game_shortcut_close
mov dword [ebp - 4], 1
call fcn.0046f0b0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00470530
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x425d31
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x10], 0
mov dword [esi], 0
jne 0x425ae7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18