Function at 0x458b60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50be9d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
jne 0x458ec2
mov esi, dword [ebp + 0xc]
cmp esi, 0x110
jne 0x458bcb
sub esp, 8
mov dword [ebx + 0x90], 1
call fcn.00459390
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x90], 0
jne 0x458c73
mov edi, dword [ebx + 0x70]
jmp 0x458d1e
cmp esi, 2
jne 0x458c11
mov eax, dword [ebx + 0x94]
mov edx, ebx
neg edx
mov dword [ebx + 0x90], 0
sbb edx, edx
mov ecx, dword [eax + 8]
lea eax, [ebx + 0x84]
and edx, eax
push edx
call fcn.0045f660
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
cmp dword [ebx + 0x90], 0
jne 0x458c73
mov edi, dword [ebx + 0x70]
jmp 0x458d8f
cmp esi, 0x111
jne 0x458d13
mov eax, dword [ebp + 0x10]
mov edx, 0x3f6
movzx eax, ax
mov ecx, eax
cmp dx, ax
jne 0x458c8c
push edx
lea ecx, [ebx + 0x8c]
call fcn.00440b30
mov eax, dword [ebx + 0x78]
push 0x17
push 5
mov esi, dword [eax]
mov ecx, esi
call dword [0x525578]
lea ecx, [ebx + 0x78]
call esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 2
push 0x471
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
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 eax, 0x3f7
cmp ax, cx
jne 0x458c99
push eax
jmp 0x458c30
mov eax, 0x3f5
cmp ax, cx
jne 0x458ccd
mov eax, dword [ebx + 0x78]
push 7
push 0xb
mov esi, dword [eax]
mov ecx, esi
call dword [0x525578]
lea ecx, [ebx + 0x78]
call esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 1
push 0x465
jmp 0x458c63
mov eax, 0x430
cmp ax, cx
jne 0x458d13
sub esp, 8
lea ecx, [ebp - 0x6c]
push dword [ebx + 0x98]
call fcn.00489d60
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004598f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00459770
jmp 0x458c6a
mov edi, dword [ebx + 0x70]
cmp esi, 0x110
jne 0x458d8a
cmp byte [ebx + 0x75], 0
mov dword [ebx + 0x70], 1
je 0x458d3b
push 1
push str.IsExterior
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [ebx + 0x74], 0
je 0x458d5d
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [ebx + 0x50]
call fcn.00459be0
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x70], 0
mov dword [eax], 0
cmp dword [ebx + 0x70], 0
je 0x458e19
mov dword [ebx + 0x70], edi
jmp 0x458c73
cmp esi, 2
jne 0x458dc2
push str.IsExterior
push dword [ebx + 4]
mov dword [ebx + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x70], 0
mov dword [eax], 0
cmp dword [ebx + 0x70], 0
je 0x458e19
mov dword [ebx + 0x70], edi
jmp 0x458c73
cmp esi, 0x4e
jne 0x458e19
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 8], 0xffffff38
jne 0x458df4
mov eax, dword [ebx + 4]
mov dword [ecx + 0xc], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push ecx
sub esp, 8
mov ecx, ebx
call fcn.004599f0
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x458eb7
lea ecx, [ebx + 0x50]
cmp esi, 5
jne 0x458e8e
xor eax, eax
mov esi, ebx
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x458e5f
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x458e50
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x458e67
test ecx, ecx
jne 0x458e62
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x458e67
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x458eae
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x50]
push eax
call fcn.00457f30
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [ebx + 0x70], edi
jmp 0x458c73
cmp esi, 0x24
jne 0x458ebf
cmp dword [ecx + 0x14], 0xffffffff
je 0x458eae
cmp dword [ecx + 0x18], 0xffffffff
je 0x458eae
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [ebx + 0x70], edi
jmp 0x458c73
mov dword [ebx + 0x70], edi
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