Function at 0x1400db2d0
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rsi, rcx
mov r14d, dword [rsp + 0x100]
mov dword [rsp + 0x100], r14d
mov ebp, dword [rsp + 0x108]
mov dword [rsp + 0x108], ebp
mov edi, dword [rcx + 0x34]
mov dword [rsp + 0xe0], edi
xor r11d, r11d
mov dword [rcx + 0x34], r11d
mov r10d, dword [rsp + 0x110]
test r10b, 0x10
je 0x1400db349
xor edx, edx
call fcn.1400da180
jmp 0x1400db610
mov r15d, 0x17
test r10b, 4
jne 0x1400db362
test r10b, 8
mov eax, 0x57
cmove r15d, eax
test r10b, 2
je 0x1400db36b
mov dword [rcx + 0x28], edx
mov r13d, r10d
and r13d, 1
je 0x1400db3b5
mov dword [rsp + 0x100], r14d
mov dword [rsp + 0x108], ebp
test r14b, 1
je 0x1400db38c
inc r14d
test bpl, 1
je 0x1400db394
inc ebp
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
mov dword [rcx + 0x1c], eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, r9d
mov dword [rcx + 0x18], eax
and r15d, 0xfffffffc
jmp 0x1400db3e7
mov r14d, dword [rcx + 0x20]
mov ebp, dword [rcx + 0x24]
mov ecx, r14d
shr ecx, 1
movzx eax, word [rsi + 0x1c]
sub ax, cx
movsx ecx, ax
mov dword [rsp + 0xf0], ecx
mov ecx, ebp
shr ecx, 1
movzx eax, word [rsi + 0x18]
sub ax, cx
movsx ecx, ax
mov dword [rsp + 0xf8], ecx
test r10b, 8
je 0x1400db3fa
mov edx, 1
mov rcx, rsi
call fcn.1400da180
cmp dword [rsi + 0x10], 1
je 0x1400db610
mov r12d, r15d
and r12d, 0x40
je 0x1400db512
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.USER32.dll_ClientToScreen]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r9d, dword [rsp + 0x40]
sub r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x44]
sub r8d, dword [rsp + 0x64]
mov ebx, dword [rsp + 0x50]
sub ebx, dword [rsp + 0x58]
sub ebx, dword [rsp + 0x60]
add ebx, dword [rsp + 0x68]
mov edi, dword [rsp + 0x54]
sub edi, dword [rsp + 0x5c]
sub edi, dword [rsp + 0x64]
add edi, dword [rsp + 0x6c]
add edi, ebp
add ebx, r14d
mov eax, dword [rsp + 0xf8]
sub eax, r8d
mov r8d, dword [rsp + 0xf0]
sub r8d, r9d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
mov r9d, eax
xor edx, edx
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 0x13
xor r15d, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsi + 0x20], ebx
mov dword [rsi + 0x24], edi
xor edx, edx
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [rsp + 0xe0]
jmp 0x1400db515
xor r15d, r15d
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov r9, rax
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1400dad20
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
test r12d, r12d
je 0x1400db565
mov edx, 8
mov rcx, qword [rsi + 0xe8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsi + 0x14], r15d
test byte [rsi + 0x2c], 0x80
je 0x1400db60d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400ec950
nop
lea rax, str.SoftwareSynapticsSynTPEnhUltraNavUSB
lea r8, str.SoftwareSynapticsSynTPEnhUltraNavPS2
cmp dword [rsi + 0xf0], 0
cmovne r8, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov rdx, 0xffffffff80000001
mov r9d, 1
lea rcx, [rsp + 0x70]
call fcn.1400ecac0
test eax, eax
je 0x1400db5ea
xor r9d, r9d
mov r8d, dword [rsi + 0x20]
lea rdx, str.MagCustomWidth
lea rcx, [rsp + 0x78]
call fcn.140106e60
xor r9d, r9d
mov r8d, dword [rsi + 0x24]
lea rdx, str.MagCustomHeight
lea rcx, [rsp + 0x78]
call fcn.140106e60
test r13d, r13d
je 0x1400db603
mov eax, dword [rsp + 0x100]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x108]
mov dword [rsi + 0x24], eax
lea rcx, [rsp + 0x70]
call fcn.1400eca60
mov dword [rsi + 0x34], edi
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret