Function at 0x454790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d53fd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
jne 0x454ad7
mov edi, dword [ebp + 0xc]
cmp edi, 0x110
jne 0x4547f7
sub esp, 8
mov dword [ebx + 0x8c], 1
call fcn.00454fe0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebx + 0x8c], 0
jne 0x45486c
mov esi, dword [ebx + 0x70]
jmp 0x454933
cmp edi, 2
jne 0x45483d
mov eax, dword [ebx + 0x90]
mov edx, ebx
neg edx
mov dword [ebx + 0x8c], 0
sbb edx, edx
mov ecx, dword [eax + 8]
lea eax, [ebx + 0x84]
and edx, eax
push edx
call fcn.0045c430
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
cmp dword [ebx + 0x8c], 0
jne 0x45486c
mov esi, dword [ebx + 0x70]
jmp 0x4549a4
cmp edi, 0x111
jne 0x454928
mov eax, dword [ebp + 0x10]
mov edx, 0x3f6
movzx eax, ax
mov ecx, eax
cmp dx, ax
jne 0x454885
sub esp, 8
push edx
push ecx
mov ecx, ebx
call fcn.004553c0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
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 0x454895
sub esp, 8
push eax
jmp 0x45485f
mov eax, 0x3f5
cmp ax, cx
jne 0x4548d9
mov eax, dword [ebx + 0x78]
push 7
push 0xb
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e1514]
lea ecx, [ebx + 0x78]
call esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 1
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x45486c
mov eax, 0x430
cmp ax, cx
jne 0x454928
sub esp, 8
lea ecx, [ebp - 0x6c]
push dword [ebx + 0x94]
call fcn.004851b0
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004557b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00455520
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x45486c
mov esi, dword [ebx + 0x70]
cmp edi, 0x110
jne 0x45499f
cmp byte [ebx + 0x75], 0
mov dword [ebx + 0x70], 1
je 0x454950
push 1
push str.IsExterior
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [ebx + 0x74], 0
je 0x454972
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.00455aa0
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x70], 0
mov dword [eax], 0
cmp dword [ebx + 0x70], 0
je 0x454a2e
mov dword [ebx + 0x70], esi
jmp 0x45486c
cmp edi, 2
jne 0x4549d7
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 0x454a2e
mov dword [ebx + 0x70], esi
jmp 0x45486c
cmp edi, 0x4e
jne 0x454a2e
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 8], 0xffffff38
jne 0x454a09
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 edi
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.004558b0
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x454acc
lea ecx, [ebx + 0x50]
cmp edi, 5
jne 0x454aa3
xor eax, eax
mov edi, ebx
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x454a74
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x454a65
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x454a7c
test ecx, ecx
jne 0x454a77
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x454a7c
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x454ac3
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x50]
push eax
call fcn.00453b40
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [ebx + 0x70], esi
jmp 0x45486c
cmp edi, 0x24
jne 0x454ad4
cmp dword [ecx + 0x14], 0xffffffff
je 0x454ac3
cmp dword [ecx + 0x18], 0xffffffff
je 0x454ac3
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], esi
jmp 0x45486c
mov dword [ebx + 0x70], esi
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