Function at 0x42bbf8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42bf9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x42bc4d
mov eax, dword [ebp - 4]
test byte [eax + 0x13d], 4
je 0x42bc4d
lea edx, [ebp - 8]
mov eax, dword [0x480350]
call fcn.004049a8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40bcb8]
call fcn.0040956c
call fcn.00403214
mov eax, dword [0x4816f0]
call fcn.0042e7f4
mov eax, dword [ebp - 4]
or byte [eax + 0x13d], 4
xor edx, edx
push ebp
push 0x42bf82
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x42bf6a
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd7], 0
je 0x42be65
xor eax, eax
push ebp
push 0x42bcb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffd7
call fcn.00402d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42bcc7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13b], 4
jne 0x42bd71
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13a], 1
jne 0x42bd1b
mov eax, dword [0x4816f0]
mov eax, dword [eax + 0x2c]
call fcn.0041de58
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x42bcff
adc ebx, 0
mov eax, dword [0x4816f0]
mov eax, dword [eax + 0x2c]
call fcn.0041de9c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
sar eax, 1
jns 0x42bd4b
adc eax, 0
jmp 0x42bd4b
mov eax, dword [0x4816f4]
call fcn.0042c834
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x42bd34
adc ebx, 0
mov eax, dword [0x4816f4]
call fcn.0042c82c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
sar eax, 1
jns 0x42bd4b
adc eax, 0
test ebx, ebx
jge 0x42bd51
xor ebx, ebx
test eax, eax
jge 0x42bd57
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x13b], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13a], 1
jne 0x42be40
mov eax, dword [ebp - 4]
cmp byte [eax + 0x136], 2
jne 0x42bdcd
push 0
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
push 0x223
mov eax, dword [0x4816f0]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x158]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
call sub.user32.dll_ShowWindow
jmp 0x42be1e
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x136]
mov eax, dword [eax*4 + 0x47f79c]
push eax
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
push 0x405ac4
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.0041e53c
push 0
push 0
push 0x234
mov eax, dword [0x4816f0]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x158]
push eax
call sub.user32.dll_SendMessageA
jmp 0x42bf6a
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x136]
mov eax, dword [eax*4 + 0x47f79c]
push eax
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
call sub.user32.dll_ShowWindow
jmp 0x42bf6a
xor eax, eax
push ebp
push 0x42be89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffd8
call fcn.00402d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42bea0
mov eax, dword [0x4816f4]
mov eax, dword [eax + 0x5c]
cmp eax, dword [ebp - 4]
jne 0x42beb7
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042b0e4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13a], 1
jne 0x42bed0
mov eax, dword [ebp - 4]
call fcn.004200c8
jmp 0x42bf6a
mov eax, dword [ebp - 4]
test byte [eax + 0x13d], 8
je 0x42befb
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
call sub.user32.dll_SetWindowPos
jmp 0x42bf6a
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00421fc4
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x42bf31
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x42bf31
mov eax, dword [ebp - 4]
call fcn.00421fc4
call fcn.00427f64
mov ebx, eax
test ebx, ebx
je 0x42bf5a
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x42bf6a
push 0
mov eax, dword [ebp - 4]
call fcn.00421fc4
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bf89
mov eax, dword [ebp - 4]
and byte [eax + 0x13d], 0xfb
ret