Function at 0x4b4030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b4692
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4b4085
mov eax, dword [ebp - 4]
test byte [eax + 0x384], 4
je 0x4b4085
lea edx, [ebp - 0x18]
mov eax, dword [0x55a4b0]
call fcn.0040ad94
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x429138]
call fcn.004171f8
call fcn.00405de0
mov eax, dword [0x560294]
call fcn.004ba750
mov eax, dword [ebp - 4]
or byte [eax + 0x384], 4
xor edx, edx
push ebp
push 0x4b4675
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4b462f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ea], 0
je 0x4b4523
xor eax, eax
push ebp
push 0x4b40e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffab
call fcn.004055ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b40ff
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29f], 4
je 0x4b412b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29f], 6
jne 0x4b420f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29e], 1
jne 0x4b420f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29e], 1
jne 0x4b4171
mov eax, dword [0x560294]
mov eax, dword [eax + 0x44]
call fcn.0048942c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x48]
sar esi, 1
jns 0x4b4153
adc esi, 0
mov eax, dword [0x560294]
mov eax, dword [eax + 0x44]
call fcn.0048946c
mov edi, eax
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x4c]
sar edi, 1
jns 0x4b41a4
adc edi, 0
jmp 0x4b41a4
lea edx, [ebp - 0x14]
mov eax, dword [0x560298]
call fcn.004b7854
mov esi, dword [ebp - 0xc]
sub esi, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x48]
sar esi, 1
jns 0x4b4191
adc esi, 0
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x4c]
sar edi, 1
jns 0x4b41a4
adc edi, 0
mov eax, dword [0x560298]
call fcn.004b65e4
cmp esi, eax
jge 0x4b41be
mov eax, dword [0x560298]
call fcn.004b65e4
mov esi, eax
mov eax, dword [0x560298]
call fcn.004b65d8
cmp edi, eax
jge 0x4b41d8
mov eax, dword [0x560298]
call fcn.004b65d8
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x59], 0
je 0x4b442f
mov eax, dword [ebp - 4]
call fcn.004b18b4
jmp 0x4b442f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29f]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x4b4334
mov eax, dword [0x560294]
mov ebx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29f], 7
jne 0x4b4256
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x4a7710]
call fcn.0040553c
test al, al
je 0x4b4256
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4b4297
cmp ebx, dword [ebp - 4]
je 0x4b4297
mov eax, ebx
call fcn.004af9f4
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
sar eax, 1
jns 0x4b4278
adc eax, 0
add esi, eax
mov eax, ebx
call fcn.004afa14
mov edi, eax
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x4b4293
adc eax, 0
add edi, eax
jmp 0x4b42c9
mov eax, dword [0x560298]
call fcn.004b65cc
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x48]
sar esi, 1
jns 0x4b42b0
adc esi, 0
mov eax, dword [0x560298]
call fcn.004b65c0
mov edi, eax
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x4c]
sar edi, 1
jns 0x4b42c9
adc edi, 0
mov eax, dword [0x560298]
call fcn.004b65e4
cmp esi, eax
jge 0x4b42e3
mov eax, dword [0x560298]
call fcn.004b65e4
mov esi, eax
mov eax, dword [0x560298]
call fcn.004b65d8
cmp edi, eax
jge 0x4b42fd
mov eax, dword [0x560298]
call fcn.004b65d8
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x59], 0
je 0x4b442f
mov eax, dword [ebp - 4]
call fcn.004b18b4
jmp 0x4b442f
cmp al, 5
jne 0x4b442f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29e], 1
jne 0x4b4382
mov eax, dword [0x560294]
mov eax, dword [eax + 0x44]
call fcn.0048942c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x48]
sar esi, 1
jns 0x4b4364
adc esi, 0
mov eax, dword [0x560294]
mov eax, dword [eax + 0x44]
call fcn.0048946c
mov edi, eax
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x4c]
sar edi, 1
jns 0x4b43de
adc edi, 0
jmp 0x4b43de
mov eax, dword [0x560298]
call fcn.004b65fc
mov esi, eax
sar esi, 1
jns 0x4b4395
adc esi, 0
mov eax, dword [0x560298]
call fcn.004b65e4
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
sar eax, 1
jns 0x4b43ae
adc eax, 0
sub esi, eax
mov eax, dword [0x560298]
call fcn.004b65f0
mov edi, eax
sar edi, 1
jns 0x4b43c3
adc edi, 0
mov eax, dword [0x560298]
call fcn.004b65d8
add edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
sar eax, 1
jns 0x4b43dc
adc eax, 0
sub edi, eax
mov eax, dword [0x560298]
call fcn.004b65e4
cmp esi, eax
jge 0x4b43f8
mov eax, dword [0x560298]
call fcn.004b65e4
mov esi, eax
mov eax, dword [0x560298]
call fcn.004b65d8
cmp edi, eax
jge 0x4b4412
mov eax, dword [0x560298]
call fcn.004b65d8
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 4]
mov byte [eax + 0x29f], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29e], 1
jne 0x4b44fe
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29a], 2
jne 0x4b448b
push 0
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
push 0x223
mov eax, dword [0x560294]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x37c]
push eax
call sub.user32.dll_SendMessageW
push 3
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
call sub.user32.dll_ShowWindow
jmp 0x4b44dc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29a]
mov eax, dword [eax*4 + 0x5590ec]
push eax
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
push 0x40ce58
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.00489de8
push 0
push 0
push 0x234
mov eax, dword [0x560294]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x37c]
push eax
call sub.user32.dll_SendMessageW
jmp 0x4b465d
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29a]
mov eax, dword [eax*4 + 0x5590ec]
push eax
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
call sub.user32.dll_ShowWindow
jmp 0x4b465d
xor eax, eax
push ebp
push 0x4b4547
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffac
call fcn.004055ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b455e
mov eax, dword [0x560298]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 4]
jne 0x4b4575
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b2d84
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29e], 1
jne 0x4b4591
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc0]
jmp 0x4b465d
mov eax, dword [ebp - 4]
test byte [eax + 0x384], 8
je 0x4b45bf
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4b465d
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00492a8c
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x4b45f4
mov eax, dword [ebp - 4]
call fcn.00492a8c
call fcn.004ad1b8
test eax, eax
jne 0x4b45f4
mov eax, dword [ebp - 4]
call fcn.00492a8c
call fcn.004ad4e8
mov ebx, eax
test ebx, ebx
je 0x4b461d
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x4b465d
push 0
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
call sub.user32.dll_ShowWindow
jmp 0x4b465d
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x4b465d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x4b465d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ea], 0
je 0x4b465d
push 1
mov eax, dword [ebp - 4]
call fcn.00492a8c
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b467c
mov eax, dword [ebp - 4]
and byte [eax + 0x384], 0xfb
ret