Function at 0x180052b50
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, 0x58
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x158]
mov rax, r9
shr rax, 0x10
mov rbx, r8
movzx r12d, r9w
movzx r15d, ax
mov rax, qword [rcx]
mov r13, r9
mov qword [rsp + 0x28], rbx
mov rbp, rdx
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], r15d
call qword [rax + 0x88]
xor esi, esi
mov r14d, eax
test eax, eax
jle 0x180052c1f
mov rbx, qword [rsp + 0x30]
nop dword [rax]
mov rcx, qword [rdi + 0x158]
mov edx, esi
mov r8, qword [rcx]
call qword [r8 + 0x20]
mov rbp, rax
mov rdx, qword [rax + 0x10]
mov ecx, dword [rdx]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rdx + 4]
mov dword [rsp + 0x34], ecx
mov ecx, dword [rdx + 8]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rdx + 0xc]
mov dword [rsp + 0x3c], ecx
test r12d, r12d
jne 0x180052bfc
test r15d, r15d
je 0x180052c0e
lea rcx, [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x180052c80
inc esi
cmp esi, r14d
jl 0x180052bc0
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
xor esi, esi
cmp dword [rdi + 0x14], 1
mov dword [rdi + 0x20], esi
jne 0x180052c54
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, r13
mov r8, rbx
mov edx, 0xa2
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [0x18027b2f8]
mov dword [rdi + 0x14], esi
test rax, rax
jne 0x180052cf4
mov ecx, 0x1e0
call fcn.1800b543c
test rax, rax
je 0x180052cea
mov rcx, rax
call fcn.18006fa40
jmp 0x180052ced
mov rax, qword [rbp + 0x18]
cmp dword [rax + 8], 0x31
jne 0x180052c94
cmp dword [rbp + 4], 0xa
je 0x180052dbb
mov rcx, qword [rdi + 0x148]
test rcx, rcx
je 0x180052ca9
mov rax, qword [rcx]
lea edx, [rsi + 1]
call qword [rax + 0x58]
xor ebx, ebx
cmp dword [rdi + 0x14], 1
mov dword [rdi + 0x20], ebx
jne 0x180052ce2
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 + 0x28]
mov rcx, qword [rsp + 0x20]
mov r9, r13
mov edx, 0xa2
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi + 0x14], ebx
jmp 0x180052dbb
mov rax, rsi
mov qword [0x18027b2f8], rax
movss xmm2, dword [rax + 0x108]
movd xmm0, r12d
movd xmm1, r15d
lea rcx, [rdi + 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 0x180052d44
mov rcx, rdi
call fcn.18005c440
jmp 0x180052d83
lea rcx, [rdi + 0x68]
mov rdx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x180052dbb
mov rcx, qword [rdi + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rdi + 0x150]
cmp dword [rcx + 0x518], 0xffffffff
je 0x180052d83
test eax, eax
jne 0x180052d83
mov rcx, qword [rdi + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp dword [rdi + 0x14], 1
mov dword [rdi + 0x20], esi
jne 0x180052db8
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 + 0x28]
mov r9, r13
mov edx, 0xa2
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi + 0x14], esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret