Function at 0x180066b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, rcx
mov rax, r9
movzx r13d, r9w
shr rax, 0x10
xor esi, esi
mov r14, r9
mov dword [rcx + 0x20], esi
mov rcx, qword [rcx + 0x158]
movzx r12d, ax
mov rax, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x44], r12d
call qword [rax + 0x88]
mov rdi, qword [rsp + 0x40]
mov ebx, esi
mov r15d, eax
test eax, eax
jle 0x180066bef
nop word [rax + rax]
mov rcx, qword [rbp + 0x158]
mov edx, ebx
mov r8, qword [rcx]
call qword [r8 + 0x20]
mov r14, rax
test rax, rax
je 0x180066bea
mov rdx, qword [rax + 0x10]
mov ecx, dword [rdx]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rdx + 4]
mov dword [rsp + 0x44], ecx
mov ecx, dword [rdx + 8]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rdx + 0xc]
mov dword [rsp + 0x4c], ecx
test r13d, r13d
jne 0x180066bd1
test r12d, r12d
je 0x180066be3
lea rcx, [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x180066c52
inc ebx
cmp ebx, r15d
jl 0x180066b90
mov r14, qword [rsp + 0x28]
cmp dword [rbp + 0x14], 1
mov dword [rbp + 0x20], esi
jne 0x180066c26
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov r9, r14
mov edx, 0xa2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [0x18027b2f8]
mov dword [rbp + 0x14], esi
test rax, rax
jne 0x180066cc7
mov ecx, 0x1e0
call fcn.1800b543c
test rax, rax
je 0x180066cbd
mov rcx, rax
call fcn.18006fa40
jmp 0x180066cc0
mov rax, qword [r14 + 0x18]
cmp dword [rax + 8], 0x31
jne 0x180066c67
cmp dword [r14 + 4], 0xa
je 0x180066e6c
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x180066c7c
mov rax, qword [rcx]
lea edx, [rbx + 1]
call qword [rax + 0x58]
cmp dword [rbp + 0x14], 1
mov dword [rbp + 0x20], esi
jne 0x180066cb5
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov edx, 0xa2
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0x14], esi
jmp 0x180066e6c
mov rax, rsi
mov qword [0x18027b2f8], rax
movss xmm2, dword [rax + 0x108]
movd xmm0, r13d
movd xmm1, r12d
lea rcx, [rbp + 0x58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
divss xmm0, xmm2
divss xmm1, xmm2
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x24], eax
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x180066d15
mov rcx, rbp
call fcn.18005c440
lea rcx, [rbp + 0x68]
mov rdx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x180066d61
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x150]
cmp dword [rcx + 0x518], 0xffffffff
je 0x180066e6c
test eax, eax
jne 0x180066e6c
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x38]
jmp 0x180066e6c
lea rcx, [rbp + 0x78]
mov rdx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x180066d7f
mov rcx, rbp
call fcn.180067960
jmp 0x180066e6c
lea rcx, [rbp + 0x1c0]
mov r9, r14
call fcn.1800562c0
test eax, eax
jne 0x180066e6c
mov rcx, qword [rbp + 0x150]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov eax, dword [rcx + 0x4e4]
mov rdx, rdi
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x4e8]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x4ec]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x4f0]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x180066e6c
mov rcx, qword [rbp + 0x150]
lea rdx, [0x1801f4f40]
nop word [rax + rax]
movzx eax, word [rcx + rsi*2 + 0x208]
inc rsi
cmp ax, word [rdx + rsi*2 - 2]
jne 0x180066e6c
cmp rsi, 6
jne 0x180066e00
mov rcx, qword [rbp + 0x140]
lea edx, [rsi + 0x6d]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x140]
lea edx, [rsi + 0x6d]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x150]
call fcn.1800173e0
mov rcx, qword [rbp + 0x158]
mov rax, qword [rcx]
call qword [rax + 0x40]
call fcn.180006d10
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x58]
call fcn.180006d10
call fcn.1800a03c0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret