Function at 0x42bc20
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 0x42bfc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x42bc75
mov eax, dword [ebp - 4]
test byte [eax + 0x13d], 4
je 0x42bc75
lea edx, [ebp - 8]
mov eax, dword [0x48137c]
call fcn.004049a8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40bce0]
call fcn.0040958c
call fcn.00403214
mov eax, dword [0x4826f4]
call fcn.0042e81c
mov eax, dword [ebp - 4]
or byte [eax + 0x13d], 4
xor edx, edx
push ebp
push 0x42bfaa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x42bf92
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd7], 0
je 0x42be8d
xor eax, eax
push ebp
push 0x42bcd8
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 0x42bcef
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13b], 4
jne 0x42bd99
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13a], 1
jne 0x42bd43
mov eax, dword [0x4826f4]
mov eax, dword [eax + 0x2c]
call fcn.0041de80
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x42bd27
adc ebx, 0
mov eax, dword [0x4826f4]
mov eax, dword [eax + 0x2c]
call fcn.0041dec4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
sar eax, 1
jns 0x42bd73
adc eax, 0
jmp 0x42bd73
mov eax, dword [0x4826f8]
call fcn.0042c85c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x38]
sar ebx, 1
jns 0x42bd5c
adc ebx, 0
mov eax, dword [0x4826f8]
call fcn.0042c854
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3c]
sar eax, 1
jns 0x42bd73
adc eax, 0
test ebx, ebx
jge 0x42bd79
xor ebx, ebx
test eax, eax
jge 0x42bd7f
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 0x42be68
mov eax, dword [ebp - 4]
cmp byte [eax + 0x136], 2
jne 0x42bdf5
push 0
mov eax, dword [ebp - 4]
call fcn.00421fec
push eax
push 0x223
mov eax, dword [0x4826f4]
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.00421fec
push eax
call sub.user32.dll_ShowWindow
jmp 0x42be46
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x136]
mov eax, dword [eax*4 + 0x48079c]
push eax
mov eax, dword [ebp - 4]
call fcn.00421fec
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.00421fec
push eax
push 0x405ae0
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.0041e564
push 0
push 0
push 0x234
mov eax, dword [0x4826f4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x158]
push eax
call sub.user32.dll_SendMessageA
jmp 0x42bf92
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x136]
mov eax, dword [eax*4 + 0x48079c]
push eax
mov eax, dword [ebp - 4]
call fcn.00421fec
push eax
call sub.user32.dll_ShowWindow
jmp 0x42bf92
xor eax, eax
push ebp
push 0x42beb1
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 0x42bec8
mov eax, dword [0x4826f8]
mov eax, dword [eax + 0x5c]
cmp eax, dword [ebp - 4]
jne 0x42bedf
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042b10c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13a], 1
jne 0x42bef8
mov eax, dword [ebp - 4]
call fcn.004200f0
jmp 0x42bf92
mov eax, dword [ebp - 4]
test byte [eax + 0x13d], 8
je 0x42bf23
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00421fec
push eax
call sub.user32.dll_SetWindowPos
jmp 0x42bf92
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00421fec
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x42bf59
mov eax, dword [ebp - 4]
call fcn.00421fec
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x42bf59
mov eax, dword [ebp - 4]
call fcn.00421fec
call fcn.00427f8c
mov ebx, eax
test ebx, ebx
je 0x42bf82
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00421fec
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x42bf92
push 0
mov eax, dword [ebp - 4]
call fcn.00421fec
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bfb1
mov eax, dword [ebp - 4]
and byte [eax + 0x13d], 0xfb
ret