Function at 0x46b1a4
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 0x46b70e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x46b1f9
mov eax, dword [ebp - 4]
test byte [eax + 0x2ec], 4
je 0x46b1f9
lea edx, [ebp - 8]
mov eax, dword [0x622270]
call fcn.00406f08
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x417298]
call fcn.0040d848
call fcn.004042ec
mov eax, dword [0x623c38]
call fcn.0046fa0c
mov eax, dword [ebp - 4]
or byte [eax + 0x2ec], 4
xor edx, edx
push ebp
push 0x46b6f1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x46b6d9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1a6], 0
je 0x46b5d4
xor eax, eax
push ebp
push 0x46b25c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffae
call fcn.00403c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b273
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 4
je 0x46b29f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 6
jne 0x46b356
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x46b356
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x46b2e3
mov eax, dword [0x623c38]
mov eax, dword [eax + 0x44]
call fcn.0044dad8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x46b2c7
adc ebx, 0
mov eax, dword [0x623c38]
mov eax, dword [eax + 0x44]
call fcn.0044db1c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x46b313
adc eax, 0
jmp 0x46b313
mov eax, dword [0x623c3c]
call fcn.0046ca6c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x46b2fc
adc ebx, 0
mov eax, dword [0x623c3c]
call fcn.0046ca60
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x46b313
adc eax, 0
test ebx, ebx
jge 0x46b319
xor ebx, ebx
test eax, eax
jge 0x46b31f
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x46b4e0
mov eax, dword [ebp - 4]
call fcn.00469644
jmp 0x46b4e0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x230]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x46b43b
mov eax, dword [0x623c38]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x230], 7
jne 0x46b39c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x46463c]
call fcn.00403be8
test al, al
je 0x46b39c
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x46b3c8
mov ebx, dword [esi + 0x48]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x46b3b0
adc ebx, 0
add ebx, dword [esi + 0x40]
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x46b3c3
adc eax, 0
add eax, dword [esi + 0x44]
jmp 0x46b3f8
mov eax, dword [0x623c3c]
call fcn.0046ca6c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x46b3e1
adc ebx, 0
mov eax, dword [0x623c3c]
call fcn.0046ca60
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x46b3f8
adc eax, 0
test ebx, ebx
jge 0x46b3fe
xor ebx, ebx
test eax, eax
jge 0x46b404
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
je 0x46b4e0
mov eax, dword [ebp - 4]
call fcn.00469644
jmp 0x46b4e0
cmp al, 5
jne 0x46b4e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x46b487
mov eax, dword [0x623c38]
mov eax, dword [eax + 0x44]
call fcn.0044dad8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x46b46b
adc ebx, 0
mov eax, dword [0x623c38]
mov eax, dword [eax + 0x44]
call fcn.0044db1c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x46b4b7
adc eax, 0
jmp 0x46b4b7
mov eax, dword [0x623c3c]
call fcn.0046ca9c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x48]
sar ebx, 1
jns 0x46b4a0
adc ebx, 0
mov eax, dword [0x623c3c]
call fcn.0046ca90
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
sar eax, 1
jns 0x46b4b7
adc eax, 0
test ebx, ebx
jge 0x46b4bd
xor ebx, ebx
test eax, eax
jge 0x46b4c3
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x46b5af
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22b], 2
jne 0x46b53c
push 0
mov eax, dword [ebp - 4]
call fcn.00454948
push eax
push 0x223
mov eax, dword [0x623c38]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.00454948
push eax
call sub.user32.dll_ShowWindow
jmp 0x46b58d
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x61ded8]
push eax
mov eax, dword [ebp - 4]
call fcn.00454948
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.00454948
push eax
push 0x407a14
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.0044e334
push 0
push 0
push 0x234
mov eax, dword [0x623c38]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
jmp 0x46b6d9
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x61ded8]
push eax
mov eax, dword [ebp - 4]
call fcn.00454948
push eax
call sub.user32.dll_ShowWindow
jmp 0x46b6d9
xor eax, eax
push ebp
push 0x46b5f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffaf
call fcn.00403c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b60f
mov eax, dword [0x623c3c]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x46b626
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0046a390
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22f], 1
jne 0x46b63f
mov eax, dword [ebp - 4]
call fcn.00451f04
jmp 0x46b6d9
mov eax, dword [ebp - 4]
test byte [eax + 0x2ec], 8
je 0x46b66a
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00454948
push eax
call sub.user32.dll_SetWindowPos
jmp 0x46b6d9
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00454948
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x46b6a0
mov eax, dword [ebp - 4]
call fcn.00454948
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x46b6a0
mov eax, dword [ebp - 4]
call fcn.00454948
call fcn.00465cac
mov ebx, eax
test ebx, ebx
je 0x46b6c9
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00454948
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x46b6d9
push 0
mov eax, dword [ebp - 4]
call fcn.00454948
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b6f8
mov eax, dword [ebp - 4]
and byte [eax + 0x2ec], 0xfb
ret