Function at 0x1400299b0
Capabilities:
Check for unmoving mouse cursor
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400890c0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rax, qword [rbp + 0x400]
mov rsi, rcx
movzx ecx, ax
mov r12d, r8d
shr rax, 0x10
mov rdi, rdx
mov qword [rbp - 0x70], r9
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], eax
test rsi, rsi
je 0x140029b7f
test ecx, ecx
jne 0x140029a13
test eax, eax
je 0x140029b7f
cmp byte [rsi + 0x128], 0
je 0x140029b7f
mov rax, qword [rsp + 0x20]
xor r14b, r14b
cmp qword [rsi + 0x78], 0
mov qword [rsi + 0x118], rax
je 0x140029c0f
cmp r12d, 0x201
jne 0x140029afd
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x58
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0x5a
mov rcx, rbx
mov r15d, eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [r15 + r15*4]
mov eax, 0x2aaaaaab
shl ecx, 3
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dword [rsp + 0x24], edx
jge 0x140029afd
movd xmm2, dword [rsp + 0x20]
movd xmm3, r15d
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm3
mulss xmm3, dword [0x14007ba30]
mulss xmm1, dword [rsi + 0x134]
divss xmm3, dword [0x14007ba34]
divss xmm1, dword [0x14007ba34]
subss xmm1, xmm3
comiss xmm1, xmm2
jbe 0x140029afd
movzx r9d, word [rsp + 0x24]
mov edx, 0xa1
movzx eax, word [rsp + 0x20]
mov r8d, 2
shl r9d, 0x10
mov rcx, rdi
or r9, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rsi + 0x13c], r14b
jne 0x140029b7f
movups xmm0, xmmword [rsi + 0xb0]
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x370]
movaps xmmword [rbp + 0x370], xmm0
call fcn.14002b570
test al, al
je 0x140029c08
cmp r12d, 0x201
jne 0x140029b42
mov byte [rsi + 0x9d], 2
jmp 0x140029bed
movzx eax, byte [rsi + 0x9d]
cmp r12d, 0x202
jne 0x140029be2
cmp al, 2
jne 0x140029be6
mov rcx, rsi
call qword [rsi + 0x78]
test eax, eax
je 0x140029ba2
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf060
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14002f100
add rsp, 0x4a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [rsi + 0xb0]
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x370]
movaps xmmword [rbp + 0x370], xmm0
call fcn.14002b570
mov byte [rsi + 0x9d], al
jmp 0x140029bed
cmp al, 2
je 0x140029bed
mov byte [rsi + 0x9d], 1
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov r14b, 1
jmp 0x140029c0f
mov byte [rsi + 0x9d], r14b
cmp qword [rsi + 0x70], 0
je 0x140029d5f
movups xmm0, xmmword [rsi + 0xa0]
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x370]
movaps xmmword [rbp + 0x370], xmm0
call fcn.14002b570
test al, al
je 0x140029d58
cmp r12d, 0x201
jne 0x140029c56
mov byte [rsi + 0x9c], 2
jmp 0x140029d3d
movzx eax, byte [rsi + 0x9c]
cmp r12d, 0x202
jne 0x140029d32
cmp al, 2
jne 0x140029d36
mov rcx, rsi
call qword [rsi + 0x70]
test eax, eax
je 0x140029d3d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [rsi + 0xc4]
lea rcx, [rbp - 0x38]
xor eax, eax
xor edx, edx
mov r8d, 0x3a8
mov dword [rbp - 0x5c], eax
mov dword [rbp - 0x44], eax
call fcn.14005f600
mov rax, qword [rsi + 0x120]
xor ecx, ecx
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x60], 0x3d0
mov dword [rbp - 0x4c], 7
mov dword [rbp - 0x48], 0x405
movzx ebx, bx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadIconW]
movups xmm0, xmmword [0x140073960]
lea r8, [rbp + 0x370]
mov qword [rbp - 0x40], rax
mov edx, 0x80
lea rcx, [rbp - 0x38]
movups xmmword [rbp + 0x370], xmm0
call fcn.140048d88
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov rcx, qword [rbp - 0x58]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rsi + 0x128], 0
mov byte [rsi + 0x9c], 0
jmp 0x140029d3d
cmp al, 2
je 0x140029d3d
mov byte [rsi + 0x9c], 1
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov r14b, 1
jmp 0x140029d5f
mov byte [rsi + 0x9c], 0
mov rcx, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
sub rax, rcx
sar rax, 4
test rax, rax
je 0x14002a24a
mov ebx, 1
mov qword [rsp + 0x498], r13
mov r13d, ebx
xor r15d, r15d
cmp dword [r15 + rcx + 8], 1
mov qword [rbp - 0x68], r13
jne 0x140029db7
mov r8, qword [rsp + 0x20]
mov edx, r12d
mov rcx, qword [r15 + rcx]
call fcn.140024bf0
test al, al
movzx r14d, r14b
cmovne r14d, ebx
mov rcx, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
sub rax, rcx
sar rax, 4
cmp r13, rax
ja 0x14002a242
cmp dword [r15 + rcx + 8], 2
jne 0x140029dfc
mov r9, qword [rbp - 0x70]
mov edx, r12d
mov r8, qword [rsp + 0x20]
mov rcx, qword [r15 + rcx]
call fcn.1400276b0
test al, al
movzx r14d, r14b
cmovne r14d, ebx
mov rbx, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
sub rax, rbx
sar rax, 4
cmp r13, rax
ja 0x14002a242
cmp dword [r15 + rbx + 8], 3
jne 0x140029f4a
mov rbx, qword [r15 + rbx]
cmp qword [rbx + 0x10], 0
je 0x140029f46
cmp byte [rbx + 0xf9], 1
je 0x140029f46
cmp byte [rbx + 0xf8], 0
je 0x140029f46
cvttss2si ecx, dword [rbx + 0x58]
cvttss2si edx, dword [rbx + 0x5c]
mov dword [rsp + 0x40], ecx
cvttss2si eax, dword [rbx + 0x60]
mov dword [rsp + 0x44], edx
add eax, ecx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], eax
cvttss2si eax, dword [rbx + 0x64]
add eax, edx
mov rdx, qword [rsp + 0x20]
mov dword [rsp + 0x4c], eax
call fcn.14002b570
test al, al
je 0x140029f46
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
cmp r12d, 0x201
jne 0x140029eb9
mov byte [rbx + 8], 2
mov r14b, 1
jmp 0x140029f4a
movzx eax, byte [rbx + 8]
cmp r12d, 0x202
jne 0x140029f39
cmp al, 2
jne 0x140029f3d
mov rcx, rbx
mov byte [rbx + 8], 1
call qword [rbx + 0x10]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], 0
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
cvttss2si ecx, dword [rbx + 0x58]
cvttss2si edx, dword [rbx + 0x5c]
mov dword [rsp + 0x50], ecx
cvttss2si eax, dword [rbx + 0x60]
mov dword [rsp + 0x54], edx
add eax, ecx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rbx + 0x64]
add eax, edx
mov rdx, qword [rsp + 0x28]
mov dword [rsp + 0x5c], eax
call fcn.14002b570
test al, al
jne 0x140029f41
mov byte [rbx + 8], al
mov r14b, 1
jmp 0x140029f4a
cmp al, 2
je 0x140029f41
mov byte [rbx + 8], 1
mov r14b, 1
jmp 0x140029f4a
mov byte [rbx + 8], 0
mov rdi, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
sub rax, rdi
sar rax, 4
cmp r13, rax
ja 0x14002a242
cmp dword [r15 + rdi + 8], 4
jne 0x14002a0a4
mov rdi, qword [r15 + rdi]
mov rbx, qword [rsp + 0x20]
cmp byte [rdi + 0x74], 0
jne 0x14002a0a0
cmp qword [rdi + 0x18], 0
je 0x14002a0a0
cvttss2si ecx, dword [rdi + 0x38]
cvttss2si edx, dword [rdi + 0x3c]
mov dword [rsp + 0x60], ecx
cvttss2si eax, dword [rdi + 0x40]
mov dword [rsp + 0x64], edx
add eax, ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x68], eax
cvttss2si eax, dword [rdi + 0x44]
add eax, edx
mov rdx, rbx
mov dword [rsp + 0x6c], eax
call fcn.14002b570
test al, al
je 0x14002a092
mov edx, 0x7f89
mov dword [rdi + 0x48], r12d
xor ecx, ecx
mov qword [rdi + 0x4c], rbx
mov qword [rdi + 0x58], 1
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
cmp r12d, 0x201
jne 0x14002a004
mov byte [rdi + 0x10], 2
jmp 0x14002a027
movzx eax, byte [rdi + 0x10]
cmp r12d, 0x202
jne 0x14002a01f
cmp al, 2
jne 0x14002a023
mov qword [rdi + 0x58], 2
jmp 0x14002a023
cmp al, 2
je 0x14002a027
mov byte [rdi + 0x10], 1
mov rcx, rdi
call qword [rdi + 0x18]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
cvttss2si ecx, dword [rdi + 0x38]
cvttss2si edx, dword [rdi + 0x3c]
mov dword [rsp + 0x70], ecx
cvttss2si eax, dword [rdi + 0x40]
mov dword [rsp + 0x74], edx
add eax, ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x78], eax
cvttss2si eax, dword [rdi + 0x44]
add eax, edx
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x7c], eax
call fcn.14002b570
test al, al
jne 0x14002a08d
mov byte [rdi + 0x10], al
mov r14b, 1
jmp 0x14002a0a4
mov rcx, rdi
mov qword [rdi + 0x58], 0
call qword [rdi + 0x18]
mov byte [rdi + 0x10], 0
mov rbx, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
sub rax, rbx
sar rax, 4
cmp r13, rax
ja 0x14002a242
cmp dword [r15 + rbx + 8], 6
jne 0x14002a217
mov rbx, qword [r15 + rbx]
cmp qword [rbx + 0x10], 0
je 0x14002a213
cmp byte [rbx + 0x151], 1
je 0x14002a213
cmp byte [rbx + 0x150], 0
je 0x14002a213
cvttss2si ecx, dword [rbx + 0xd0]
cvttss2si edx, dword [rbx + 0xd4]
mov dword [rbp - 0x80], ecx
cvttss2si eax, dword [rbx + 0xd8]
mov dword [rbp - 0x7c], edx
add eax, ecx
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x78], eax
cvttss2si eax, dword [rbx + 0xdc]
add eax, edx
mov rdx, qword [rsp + 0x20]
mov dword [rbp - 0x74], eax
call fcn.14002b570
test al, al
je 0x14002a213
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
cmp r12d, 0x201
jne 0x14002a168
mov byte [rbx + 8], 2
mov r14b, 1
jmp 0x14002a217
movzx eax, byte [rbx + 8]
cmp r12d, 0x202
jne 0x14002a206
cmp al, 2
jne 0x14002a20a
mov rcx, rbx
mov byte [rbx + 8], 1
call qword [rbx + 0x10]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_ScreenToClient]
cvttss2si ecx, dword [rbx + 0xd0]
cvttss2si edx, dword [rbx + 0xd4]
mov dword [rbp + 0x370], ecx
cvttss2si eax, dword [rbx + 0xd8]
mov dword [rbp + 0x374], edx
add eax, ecx
lea rcx, [rbp + 0x370]
mov dword [rbp + 0x378], eax
cvttss2si eax, dword [rbx + 0xdc]
add eax, edx
mov rdx, qword [rsp + 0x38]
mov dword [rbp + 0x37c], eax
call fcn.14002b570
test al, al
jne 0x14002a20e
mov byte [rbx + 8], al
mov r14b, 1
jmp 0x14002a217
cmp al, 2
je 0x14002a20e
mov byte [rbx + 8], 1
mov r14b, 1
jmp 0x14002a217
mov byte [rbx + 8], 0
mov rcx, qword [rsi + 0x80]
inc r13
mov rax, qword [rsi + 0x88]
add r15, 0x10
sub rax, rcx
mov ebx, 1
sar rax, 4
cmp qword [rbp - 0x68], rax
jb 0x140029d90
mov r13, qword [rsp + 0x498]
cmp r12d, 0x201
jne 0x14002a265
mov byte [rsi + 0xd0], 0
mov qword [rsi + 0xc8], 0
test r14b, r14b
jne 0x14002a280
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
movzx eax, r14b
jmp 0x140029b81