Function at 0x40b4bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051dd0a
mov ebx, eax
test ebx, ebx
je 0x40b75c
call fcn.0050025c
mov dword [ebp - 0x10], eax
push dword [ebx]
call fcn.0051e0ad
test eax, eax
jne 0x40b590
test esi, 2
je 0x40b504
push 3
push dword [ebx]
call sub.USER32.dll_ShowWindow
jmp 0x40b523
push dword [ebx]
call sub.USER32.dll_IsIconic
test eax, eax
je 0x40b51a
push 4
push dword [ebx]
call sub.USER32.dll_ShowWindow
jmp 0x40b523
push 8
push dword [ebx]
call sub.USER32.dll_ShowWindow
test esi, 4
jne 0x40b573
test esi, 1
jne 0x40b53c
cmp dword [0x56cef0], 0
je 0x40b573
cmp dword [ebp - 0x10], 0
je 0x40b557
push 0x33
push 0
push 0
push 0
push 0
push 0
push dword [ebx]
call sub.USER32.dll_SetWindowPos
jmp 0x40b573
push dword [ebx]
call sub.USER32.dll_BringWindowToTop
push dword [ebx]
call sub.USER32.dll_SetActiveWindow
push dword [ebx]
call sub.USER32.dll_SetForegroundWindow
push dword [ebx]
call sub.USER32.dll_UpdateWindow
push dword [ebx]
call fcn.00520583
call fcn.0040b956
call fcn.005206a4
push 0
call fcn.00417312
jmp 0x40b75c
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
push dword [0x56ceec]
call sub.USER32.dll_GetTopWindow
mov edi, eax
test edi, edi
je 0x40b5d7
push edi
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x40b5d7
push edi
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x40b5d7
push edi
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x40b5e0
mov dword [ebp - 4], 1
jmp 0x40b5e0
mov eax, dword [ebx + 0x724]
mov dword [ebp - 4], eax
test esi, 2
je 0x40b5ef
mov dword [ebp - 4], 1
test esi, 8
je 0x40b5fc
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x40b631
mov dword [ebp - 0xc], 1
push 0
push 0
push 0xb
push dword [0x56ceec]
call sub.USER32.dll_SendMessageA
push 1
push dword [ebx]
call sub.USER32.dll_ShowWindow
push 3
push dword [ebx]
call sub.USER32.dll_ShowWindow
jmp 0x40b6b6
push dword [ebx]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x40b647
push dword [ebx]
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x40b64e
mov dword [ebp - 8], 1
push 1
push dword [ebx]
call sub.USER32.dll_ShowWindow
cmp dword [ebp - 8], 0
je 0x40b6b6
cmp dword [0x562244], 0
je 0x40b67c
push 0
push 0x7a
push 0x111
push dword [0x56cee8]
call sub.USER32.dll_PostMessageA
jmp 0x40b699
cmp dword [0x562248], 0
je 0x40b699
push 0
push 0x7b
push 0x111
push dword [0x56cee8]
call sub.USER32.dll_PostMessageA
cmp dword [0x56224c], 0
je 0x40b6b6
push 0
push 0x7c
push 0x111
push dword [0x56cee8]
call sub.USER32.dll_PostMessageA
test esi, 4
jne 0x40b725
cmp dword [ebp - 0x10], 0
je 0x40b6d9
push 0x33
push 0
push 0
push 0
push 0
push 0
push dword [ebx]
call sub.USER32.dll_SetWindowPos
jmp 0x40b725
test esi, 1
je 0x40b6f1
cmp dword [0x56cef0], 0
je 0x40b6f1
push 0
call fcn.0041aa4c
push dword [ebx]
call sub.USER32.dll_BringWindowToTop
push dword [ebx]
call sub.USER32.dll_SetActiveWindow
test esi, 1
je 0x40b717
cmp dword [0x56cef0], 0
je 0x40b717
push dword [ebx]
call sub.USER32.dll_SetForegroundWindow
push dword [ebx]
call sub.USER32.dll_SetFocus
push dword [ebx]
call sub.USER32.dll_UpdateWindow
push dword [ebx]
call fcn.00520583
call fcn.0040b956
cmp dword [ebp - 0xc], 0
je 0x40b750
push 0
push 1
push 0xb
push dword [0x56ceec]
call sub.USER32.dll_SendMessageA
push ebx
call fcn.0040ba68
jmp 0x40b755
call fcn.005206a4
push 0
call fcn.00417312
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8