Function at 0x45808e
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x527745
call fcn.0051f0b4
mov eax, 0x5844
call fcn.004eff30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push edi
push 0x188
push dword [ebx + 0x9c]
mov dword [ebx + 0x2f8], edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
jl 0x4584e6
mov dword [ebx + 0x2b4], eax
mov eax, dword [ebx + 0x2a4]
cmp eax, edi
je 0x4580fa
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4580fa
mov eax, dword [ebx + 0x2a4]
add eax, 4
push edi
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, 0x800
push esi
lea eax, [ebp - 0x1028]
push edi
push eax
call fcn.004ee670
add esp, 0xc
push esi
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.004ee670
add esp, 0xc
call fcn.0044a171
lea ecx, [ebp - 0x28]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x1028]
push edx
push eax
call dword [ecx + 0x20]
push edi
push edi
push 0x188
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x2b4], eax
push eax
lea eax, [ebx + 0x94]
call fcn.00425b40
cmp eax, edi
je 0x45816d
mov eax, dword [eax + 0x18]
jmp 0x45816f
xor eax, eax
mov edx, 0x5dc
mov dword [ebx + 0x2b8], eax
cmp eax, edx
jb 0x458429
mov ecx, dword [ebx + 0x2a4]
cmp ecx, edi
je 0x4584e6
cmp eax, edx
je 0x4582d3
cmp eax, 0x5dd
je 0x4582d3
mov edx, dword [ebx + 0x304]
cmp edx, 0x64
jne 0x4581ba
mov dword [ecx + 0xe4], 0x6a
jmp 0x4581c9
cmp edx, 0x65
jne 0x4581c9
mov dword [ecx + 0xe4], 0x6b
mov ecx, dword [ebx + 0x2a4]
mov dword [ecx + 0x124], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
add ebx, 0x2d8
push eax
call fcn.00458d32
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x18], eax
call fcn.00434410
test al, al
je 0x458213
mov ecx, dword [ebp + 8]
add ecx, 0x2c0
jmp 0x4584ec
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x2c0]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
push 1
jle 0x458251
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004015d6
mov ecx, dword [ebx + 0x2a4]
lea eax, [ebp - 0x10]
push eax
call fcn.004472fa
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
jmp 0x4583fa
lea esi, [ebp - 0x20]
call fcn.0043a7c8
push ecx
add eax, 0x1010
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00401f01
mov ecx, dword [ebx + 0x2a4]
lea eax, [ebp - 0x10]
push eax
call fcn.004472fa
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
call fcn.0043a7c8
lea esi, [eax + 4]
mov eax, 0x4828
call fcn.004eff30
mov edi, esp
push dword [ebx + 0x2a4]
mov ecx, 0x120a
rep movsd dword es:[edi], dword [esi]
call fcn.004471fd
lea esi, [ebp - 0x20]
call fcn.0043a7c8
push ecx
add eax, 0x1010
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00401f01
mov ecx, dword [ebx + 0x2a4]
call fcn.00447619
jmp 0x4583fa
mov eax, dword [ebx + 0x304]
mov dword [ecx + 0xe4], eax
lea esi, [ebx + 0x2c0]
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jle 0x458330
push 1
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push esi
call fcn.004015d6
mov ecx, dword [ebx + 0x2a4]
lea eax, [ebp + 8]
push eax
call fcn.004472fa
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push esi
call fcn.004015d6
mov ecx, dword [ebx + 0x2a4]
call fcn.00447619
jmp 0x4583d1
mov esi, 0x56f16c
push esi
lea ecx, [ebp + 8]
call fcn.00402946
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00402946
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x304]
cmp eax, 0x64
jne 0x458360
push str.http:__www.iiapple.com_pclient_app
jmp 0x45836a
cmp eax, 0x65
jne 0x458372
push str.http:__www.iiapple.com_pclient_game
lea ecx, [ebp + 8]
call fcn.00401ed2
push 1
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.004015d6
mov ecx, dword [ebx + 0x2a4]
lea eax, [ebp - 0x10]
push eax
call fcn.004472fa
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.004015d6
mov ecx, dword [ebx + 0x2a4]
call fcn.00447619
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
lea esi, [ebp - 0x5850]
call fcn.0044a18f
mov eax, 0x4828
call fcn.004eff30
mov edi, esp
push dword [ebx + 0x2a4]
mov ecx, 0x120a
rep movsd dword es:[edi], dword [esi]
call fcn.004471fd
mov eax, dword [ebx + 0x2a4]
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4584e6
mov eax, dword [ebx + 0x2a4]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4584e6
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
add ebx, 0x2d8
push eax
call fcn.00458d32
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x20]
mov dword [ebp - 0x18], eax
call fcn.00434410
test al, al
jne 0x458205
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x2a4]
mov ecx, dword [ebx + 0x304]
mov dword [eax + 0xe4], ecx
call fcn.0043a7c8
lea esi, [eax + 4]
mov eax, 0x4828
call fcn.004eff30
mov edi, esp
push dword [ebx + 0x2a4]
mov ecx, 0x120a
rep movsd dword es:[edi], dword [esi]
call fcn.004471fd
lea esi, [ebp - 0x20]
call fcn.0043a7c8
push ecx
add eax, 0x1010
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00401f01
mov ecx, dword [ebx + 0x2a4]
call fcn.00447619
mov ebx, dword [ebx + 0x2a4]
call fcn.004473d6
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2a4]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
xor eax, eax
call fcn.00457f9e
mov ebx, esi
lea ecx, [ebx + 0x2c0]
push 0x537290
call fcn.00401ed2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 4