Function at 0x45068d
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4f2066
call fcn.004eadec
sub esp, 0x18
push ebp
push esi
push edi
mov eax, ebx
call fcn.0044c26c
lea ebp, [ebx + 4]
push dword [ebp]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4506c9
push 0
push 0x7dd5
push 0x111
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5216fc]
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, ebx
call fcn.004540e5
push ebx
push 0x64
pop ecx
call fcn.0045413e
xor esi, esi
push esi
push dword [ebp]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [0x52164c], esi
sete al
mov dword [0x52164c], eax
lea eax, [esp + 0x14]
push eax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [0x52164c], esi
lea esi, [ebx + 0x1bcc]
je 0x450821
call fcn.004313dd
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [0x52165c], eax
push dword [ebx + 0x2818]
call esi
mov dword [0x521660], eax
push dword [ebx + 0x2fd0]
call esi
mov dword [0x521664], eax
mov eax, ebx
call fcn.00453fad
test eax, eax
je 0x450770
mov eax, dword [ebx + 0x3520]
push dword [eax + 4]
call esi
test eax, eax
je 0x450770
mov dword [0x521668], 1
jmp 0x450777
and dword [0x521668], 0
lea esi, [esp + 0x14]
mov edi, 0x521670
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
push 0x521680
lea esi, [ebx + 0x1bd0]
push dword [esi]
call edi
push 0x521690
push dword [ebx + 0x2818]
call edi
push 0x5216a0
push dword [ebx + 0x2fd0]
call edi
xor edi, edi
cmp dword [0x521660], edi
je 0x4507ca
push edi
push dword [ebx + 0x2818]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x521664], edi
je 0x4507df
push edi
push dword [ebx + 0x2fd0]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x521668], edi
je 0x4507f7
mov eax, dword [ebx + 0x3520]
push edi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
lea eax, [ebx + 0x1bcc]
call fcn.00434cd7
push 0x14
push edi
push ebp
mov eax, 0x5216dc
call fcn.00403ebb
push 0x14
push edi
push esi
mov eax, 0x5216ec
call fcn.00403ebb
jmp 0x450875
call fcn.004313dd
mov dword [0x5216d8], eax
lea esi, [esp + 0x14]
mov edi, 0x5216dc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x5216ec
lea esi, [ebx + 0x1bd0]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edi, edi
push edi
lea eax, [ebx + 0x1bcc]
call fcn.00434cd7
push 0x14
push edi
push ebp
mov eax, 0x521670
call fcn.00403ebb
push 0x14
push edi
push esi
mov eax, 0x521680
call fcn.00403ebb
mov eax, dword [0x521654]
cmp eax, dword [0x5216d0]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x4508b1
cmp dword [0x52164c], edi
mov eax, 0x5216d0
jne 0x45089a
mov eax, 0x521654
xor ecx, ecx
cmp dword [eax], edi
push 0x13
setne cl
push edi
push edi
push edi
push edi
dec ecx
dec ecx
mov eax, ecx
push eax
push dword [ebp]
call esi
mov eax, dword [0x521658]
cmp eax, dword [0x5216d4]
je 0x4508ea
cmp dword [0x52164c], edi
mov eax, 0x5216d0
jne 0x4508d0
mov eax, 0x521654
xor ecx, ecx
cmp dword [eax], edi
push 0x13
setne cl
push edi
push edi
push edi
push edi
dec ecx
dec ecx
mov eax, ecx
push eax
push dword [ebx + 0x1bd0]
call esi
cmp dword [0x52164c], edi
mov eax, 0x5216d0
jne 0x4508fc
mov eax, 0x521654
cmp dword [eax], edi
je 0x45090f
push 1
lea esi, [ebx + 0x1fb8]
call fcn.0040c3a8
jmp 0x450920
push dword [0x521a48]
lea eax, [ebx + 0x1bcc]
call fcn.0043f7e6
cmp dword [0x52164c], edi
je 0x450931
push 0x80
xor ecx, ecx
jmp 0x450937
push edi
mov ecx, 0x80
push 0x20
mov edi, ebp
pop eax
call fcn.00403f58
mov esi, dword [ebx + 0x24]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], esi
je 0x450958
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
mov ecx, ebx
mov dword [esp + 0x30], edi
call fcn.0044afd0
cmp dword [0x52164c], edi
je 0x4509e3
mov esi, 0x5216ec
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4509b6
lea eax, [esp + 0x14]
push eax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x20]
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0xc8]
push ecx
push dword [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_SetRect]
push 0x14
push edi
lea eax, [ebx + 0x1bd0]
push eax
mov eax, esi
call fcn.00403ebb
lea esi, [ebx + 0x1bcc]
call fcn.004313dd
mov ecx, dword [0x5216d8]
cmp ecx, eax
je 0x450a8e
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
mov eax, esi
call fcn.00434cd7
jmp 0x450a8e
lea esi, [ebx + 0x1bcc]
call fcn.004313dd
mov ecx, dword [0x52165c]
cmp ecx, eax
je 0x450a07
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
mov eax, esi
call fcn.00434cd7
push dword [ebx + 0x2818]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
call edi
mov ecx, dword [0x521660]
cmp ecx, eax
je 0x450a33
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push dword [ebx + 0x2818]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x2fd0]
call edi
mov ecx, dword [0x521664]
cmp ecx, eax
je 0x450a59
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push dword [ebx + 0x2fd0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebx
call fcn.00453fad
test eax, eax
je 0x450a8e
lea esi, [ebx + 0x3520]
mov eax, dword [esi]
push dword [eax + 4]
call edi
mov ecx, dword [0x521668]
cmp ecx, eax
je 0x450a8e
mov esi, dword [esi]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5218b4]
cmp eax, dword [0x5218b8]
je 0x450ab3
push 0x409
push 0x10
push 0x7f0
push dword [ebx + 0x1bd0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [ebp]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
or ecx, 0xffffffff
call fcn.0045413e
mov eax, dword [esp + 0xc]
mov edi, ebx
call fcn.004540e5
cmp dword [0x52164c], 0
je 0x450ae0
call fcn.004af112
or dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 0x10]
test esi, esi
je 0x450af2
call fcn.00408ee4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
leave
ret