Function at 0x40b4c4
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.0051fafa
mov ebx, eax
test ebx, ebx
je 0x40b764
call fcn.00501da8
mov dword [ebp - 0x10], eax
push dword [ebx]
call fcn.0051fe9d
test eax, eax
jne 0x40b598
test esi, 2
je 0x40b50c
push 3
push dword [ebx]
call sub.USER32.dll_ShowWindow
jmp 0x40b52b
push dword [ebx]
call sub.USER32.dll_IsIconic
test eax, eax
je 0x40b522
push 4
push dword [ebx]
call sub.USER32.dll_ShowWindow
jmp 0x40b52b
push 8
push dword [ebx]
call sub.USER32.dll_ShowWindow
test esi, 4
jne 0x40b57b
test esi, 1
jne 0x40b544
cmp dword [0x56f020], 0
je 0x40b57b
cmp dword [ebp - 0x10], 0
je 0x40b55f
push 0x33
push 0
push 0
push 0
push 0
push 0
push dword [ebx]
call sub.USER32.dll_SetWindowPos
jmp 0x40b57b
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.00522388
call fcn.0040b95e
call fcn.005224a9
push 0
call fcn.004172e2
jmp 0x40b764
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 [0x56f01c]
call sub.USER32.dll_GetTopWindow
mov edi, eax
test edi, edi
je 0x40b5df
push edi
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x40b5df
push edi
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x40b5df
push edi
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x40b5e8
mov dword [ebp - 4], 1
jmp 0x40b5e8
mov eax, dword [ebx + 0x724]
mov dword [ebp - 4], eax
test esi, 2
je 0x40b5f7
mov dword [ebp - 4], 1
test esi, 8
je 0x40b604
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x40b639
mov dword [ebp - 0xc], 1
push 0
push 0
push 0xb
push dword [0x56f01c]
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 0x40b6be
push dword [ebx]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x40b64f
push dword [ebx]
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x40b656
mov dword [ebp - 8], 1
push 1
push dword [ebx]
call sub.USER32.dll_ShowWindow
cmp dword [ebp - 8], 0
je 0x40b6be
cmp dword [0x56426c], 0
je 0x40b684
push 0
push 0x7a
push 0x111
push dword [0x56f018]
call sub.USER32.dll_PostMessageA
jmp 0x40b6a1
cmp dword [0x564270], 0
je 0x40b6a1
push 0
push 0x7b
push 0x111
push dword [0x56f018]
call sub.USER32.dll_PostMessageA
cmp dword [0x564274], 0
je 0x40b6be
push 0
push 0x7c
push 0x111
push dword [0x56f018]
call sub.USER32.dll_PostMessageA
test esi, 4
jne 0x40b72d
cmp dword [ebp - 0x10], 0
je 0x40b6e1
push 0x33
push 0
push 0
push 0
push 0
push 0
push dword [ebx]
call sub.USER32.dll_SetWindowPos
jmp 0x40b72d
test esi, 1
je 0x40b6f9
cmp dword [0x56f020], 0
je 0x40b6f9
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 0x40b71f
cmp dword [0x56f020], 0
je 0x40b71f
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.00522388
call fcn.0040b95e
cmp dword [ebp - 0xc], 0
je 0x40b758
push 0
push 1
push 0xb
push dword [0x56f01c]
call sub.USER32.dll_SendMessageA
push ebx
call fcn.0040ba70
jmp 0x40b75d
call fcn.005224a9
push 0
call fcn.004172e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8