Function at 0x46f3f4
Capabilities:
Hide graphical window

Disassembly:
push 0xa0
mov eax, 0x522f07
call fcn.004e6398
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 0x108]
mov esi, dword [ebp + 8]
test al, al
jne 0x46f43d
cmp dword [esi], 8
jle 0x46f43d
cmp dword [esi], 0x16
jge 0x46f43d
mov ecx, dword [edi + 0x48]
push esi
test ecx, ecx
je 0x46f436
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x46f82b
mov ecx, edi
jmp 0x46f692
cmp dword [esi], 0x1a
jne 0x46f469
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
test al, al
je 0x46f469
push 0x7f01
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x46f82b
cmp dword [esi], 0x19
jne 0x46f480
cmp dword [edi + 0x588], 0
je 0x46f480
mov ecx, dword [edi + 0x44]
push edi
call fcn.0043d73b
cmp dword [esi], 0x15
jne 0x46f492
cmp dword [edi + 0x588], 0
jne 0x46f82b
cmp dword [esi], 0x18
jne 0x46f605
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
test al, al
je 0x46f605
cmp dword [edi + 0x588], 0
jne 0x46f82b
push 0x1c
call fcn.004e5464
mov edx, eax
pop ecx
mov dword [ebp - 0x18], edx
and dword [ebp - 4], 0
xor eax, eax
push 7
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.0046ebb6
mov esi, eax
mov dword [ebp - 0x14], esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ecx + 0x588], esi
mov dword [esi + 0x10], ecx
mov ecx, esi
call fcn.0046ebcf
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x28]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00449890
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f5f8
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x558]
mov ecx, eax
call fcn.0043e88a
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x10]
push 0
movzx ecx, word [eax + 0x7a6]
movzx edx, word [eax + 0x7a4]
movzx eax, cl
shl ax, 8
movzx ecx, ax
movzx eax, dl
or ecx, eax
push ecx
push 0x401
push dword [esi + 4]
call edi
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.0046f0ae
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
push dword [eax]
add ecx, 0x1c8
call fcn.00448d38
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00448c55
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
mov edi, dword [ebp - 0x10]
mov ecx, edi
call fcn.00446e90
mov esi, dword [ebp + 8]
cmp dword [esi], 0x17
jne 0x46f61f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
test al, al
je 0x46f61f
mov ecx, edi
call fcn.00446e90
cmp dword [esi], 0xd
je 0x46f69c
cmp dword [esi], 0x13
je 0x46f69c
cmp dword [esi], 0xf
je 0x46f69c
cmp dword [esi], 9
je 0x46f82b
cmp dword [esi], 0xe
je 0x46f82b
cmp dword [esi], 0x14
je 0x46f82b
cmp dword [esi], 0xb
mov ecx, edi
jne 0x46f673
mov eax, dword [edi]
call dword [eax + 0x100]
test al, al
je 0x46f82b
or dword [edi + 0x58c], 8
mov ecx, edi
call fcn.00446e90
jmp 0x46f82b
cmp dword [esi], 0xa
jne 0x46f691
mov eax, dword [edi]
call dword [eax + 0x100]
test al, al
je 0x46f82b
and dword [edi + 0x58c], 0xfffffff7
jmp 0x46f667
push esi
call fcn.0046bf52
jmp 0x46f82b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
test al, al
je 0x46f82b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [esi + 0x46d], 0
mov ecx, edi
mov byte [esi + 0x725], 0
mov eax, dword [edi]
call dword [eax + 0x118]
test al, al
je 0x46f82b
cmp dword [edi + 0x588], 0
jne 0x46f82b
push 0x1c
call fcn.004e5464
mov edx, eax
pop ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 2
xor eax, eax
push 7
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.0046ebb6
mov esi, eax
mov dword [ebp + 8], esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ecx + 0x588], esi
mov dword [esi + 0x10], ecx
mov ecx, esi
call fcn.0046ebcf
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x28]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00449890
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f82b
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x558]
mov ecx, eax
call fcn.0043e88a
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x10]
push 0
movzx ecx, word [eax + 0x7a6]
movzx edx, word [eax + 0x7a4]
movzx eax, cl
shl ax, 8
movzx ecx, ax
movzx eax, dl
or ecx, eax
push ecx
push 0x401
push dword [esi + 4]
call edi
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.0046f0ae
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
push dword [eax]
add ecx, 0x1c8
call fcn.00448d38
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00448c55
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
call fcn.004e6361
ret 4