Function at 0x45d2d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xf
ja 0x45d30b
cmp dword [ebp - 0x38], 0xf
je 0x45d511
cmp dword [ebp - 0x38], 2
je 0x45d5ef
cmp dword [ebp - 0x38], 3
je 0x45d334
cmp dword [ebp - 0x38], 5
je 0x45d3ed
jmp 0x45d64c
cmp dword [ebp - 0x38], 0x18
je 0x45d551
cmp dword [ebp - 0x38], 0x232
je 0x45d534
cmp dword [ebp - 0x38], 0x31e
je 0x45d5fe
jmp 0x45d64c
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x20]
and edx, 2
je 0x45d3e8
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x21]
test eax, eax
je 0x45d39f
mov ecx, dword [ebp + 8]
xor edx, edx
cmp dword [ecx + 0x48], 0
sete dl
movzx eax, dl
test eax, eax
je 0x45d385
xor eax, eax
jmp 0x45d64e
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
sub edx, dword [ecx + 0x24]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 0x28]
mov dword [ebp - 4], ecx
jmp 0x45d3cb
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x50]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x12]
sub eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x51]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x12]
sub ecx, eax
mov dword [ebp - 4], ecx
push 0x11
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x45d64c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x20]
and eax, 1
je 0x45d50c
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x20]
and edx, 8
jne 0x45d50c
cmp dword [ebp + 0x14], 2
je 0x45d419
cmp dword [ebp + 0x14], 1
jne 0x45d43d
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x20]
and eax, 0xfffffffd
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], al
jmp 0x45d503
push 0xfffffffffffffff0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x10000000
je 0x45d503
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x20]
or edx, 4
mov eax, dword [ebp + 8]
mov byte [eax + 0x20], dl
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x20]
and edx, 2
jne 0x45d4aa
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x20]
or ecx, 2
mov edx, dword [ebp + 8]
mov byte [edx + 0x20], cl
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0045d660
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
mov byte [eax + 8], 1
jmp 0x45d503
mov ecx, dword [ebp + 0x18]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 0xffff
movzx eax, cx
cmp edx, eax
jg 0x45d4ee
mov ecx, dword [ebp + 0x18]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x10
and ecx, 0xffff
movzx eax, cx
cmp edx, eax
jle 0x45d4f7
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], 1
jmp 0x45d503
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0045d660
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 4], ecx
jmp 0x45d64c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 8]
test eax, eax
je 0x45d52f
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0045d660
mov edx, dword [ebp + 8]
mov byte [edx + 8], 0
jmp 0x45d64c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x20]
and ecx, 2
je 0x45d54c
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0045d660
jmp 0x45d64c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x20]
and ecx, 1
je 0x45d5ed
cmp dword [ebp + 0x14], 0
jne 0x45d588
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x20]
and edx, 0xfffffff9
mov eax, dword [ebp + 8]
mov byte [eax + 0x20], dl
jmp 0x45d5e9
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], 1
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0045d9d0
push 0xfffffffffffffff0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x80000000
je 0x45d5e9
lea ecx, [ebp - 0x30]
call fcn.0045b890
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x30]
call fcn.0045b970
push eax
lea ecx, [ebp - 0x30]
call fcn.0045b950
push eax
push 5
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x45d64e
jmp 0x45d64c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x45d64c
mov dword [ebp - 0x34], 0
cmp dword [0x5f6c68], 0
je 0x45d618
lea ecx, [ebp - 0x34]
push ecx
call dword [0x5f6c68]
cmp dword [ebp - 0x34], 0
je 0x45d630
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x20]
or eax, 8
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], al
jmp 0x45d640
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x20]
and eax, 0xfffffff7
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], al
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0045d9d0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14