Function at 0x4049b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4c206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
test edi, edi
je 0x4049ff
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x4049ff
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4049ff
push 0
push edi
call ebx
mov dword [ebp - 0x28], 1
push dword [esi + 0x3c]
xorps xmm0, xmm0
mov dword [esi + 0x4c], 1
mov ecx, esi
movups xmmword [ebp - 0x14], xmm0
call fcn.00405360
test eax, eax
je 0x404bc7
push dword [ebp - 0x28]
lea eax, [esi + 0x20]
push eax
push 0x4c2c40
call fcn.0040c620
add esp, 8
movzx eax, ax
mov ecx, esi
push eax
push 0
push 0x80000
push 0x86080000
push 0
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00406240
mov dword [ebp - 0x24], eax
test eax, eax
je 0x404bc7
mov ecx, dword [esi + 0x138]
mov eax, dword [esi + 0x140]
mov edx, dword [esi + 0x134]
sub eax, ecx
push 0
push eax
mov eax, dword [esi + 0x13c]
sub eax, edx
push eax
push ecx
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404aa6
push 0
push 0
push 0x103ff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
lea ecx, [esi + 4]
call fcn.0040c810
push 0
push 0
push 0x110
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x4c], 0
je 0x404ae7
push 0x43
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
xorps xmm0, xmm0
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], 1
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x404b24
cmp dword [ebp - 0x1c], 0x12
je 0x404b6b
cmp dword [esi + 0x48], 0
je 0x404b6b
mov eax, dword [esi + 4]
test eax, eax
je 0x404b6b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404b6b
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x404b08
test eax, eax
je 0x404b6b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x404b08
push 0x97
push 0
push 0
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 0x28], 0
je 0x404b92
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x404ba8
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp - 0x24]
jne 0x404ba8
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004591b7
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x28], 0
je 0x404bd2
push 1
push edi
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004591b7
mov esp, ebp
pop ebp
ret 8