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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov eax, dword [0x14109ec58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x24]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x28]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x2c]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0xa8], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x30]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x98], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x34]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x68], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x38]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0xb8], xmm0
mov rax, qword [rsp + 0x118]
movd xmm0, dword [rax + 0x3c]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x60], xmm0
movsd xmm2, qword [rsp + 0x50]
subsd xmm2, qword [rsp + 0x88]
movsd xmm0, qword [rsp + 0x50]
subsd xmm0, qword [rsp + 0x88]
mulsd xmm2, xmm0
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, qword [rsp + 0x70]
movsd xmm1, qword [rsp + 0x40]
subsd xmm1, qword [rsp + 0x70]
mulsd xmm0, xmm1
addsd xmm2, xmm0
movsd xmm1, qword [rsp + 0xa8]
subsd xmm1, qword [rsp + 0x20]
movsd xmm0, qword [rsp + 0xa8]
subsd xmm0, qword [rsp + 0x20]
mulsd xmm1, xmm0
movapd xmm0, xmm2
addsd xmm0, xmm1
call fcn.140001a98
movsd qword [rsp + 0xa0], xmm0
movsd xmm3, qword [rsp + 0x20]
movsd xmm2, qword [rsp + 0x70]
movsd xmm1, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x28]
call fcn.1400501f0
mov dword [rsp + 0xb0], eax
movsd xmm3, qword [rsp + 0x20]
movsd xmm2, qword [rsp + 0x70]
movsd xmm1, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x28]
call fcn.140050080
mov dword [rsp + 0x38], eax
movsd xmm0, qword [rsp + 0x88]
subsd xmm0, qword [rsp + 0x50]
divsd xmm0, qword [rsp + 0xa0]
movsd qword [rsp + 0x30], xmm0
movsd xmm0, qword [rsp + 0x70]
subsd xmm0, qword [rsp + 0x40]
divsd xmm0, qword [rsp + 0xa0]
movsd qword [rsp + 0x80], xmm0
movsd xmm0, qword [rsp + 0x20]
subsd xmm0, qword [rsp + 0xa8]
divsd xmm0, qword [rsp + 0xa0]
movsd qword [rsp + 0x78], xmm0
movsxd rcx, dword [rsp + 0x28]
lea rax, [0x140067598]
movsd xmm0, qword [0x14005c4a8]
divsd xmm0, qword [rax + rcx*8]
movsd qword [rsp + 0x48], xmm0
movsd xmm0, qword [rsp + 0x60]
call fcn.14000354c
mulsd xmm0, qword [rsp + 0xa0]
divsd xmm0, qword [rsp + 0x48]
cvttsd2si eax, xmm0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 1
jge 0x14005076e
mov dword [rsp + 0x58], 1
cmp dword [rsp + 0x58], 0x40
jle 0x14005077d
mov dword [rsp + 0x58], 0x40
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.GDI32.dll_MoveToEx]
movd xmm5, dword [rsp + 0x58]
cvtdq2pd xmm5, xmm5
movsd xmm0, qword [rsp + 0x60]
divsd xmm0, xmm5
movsd qword [rsp + 0x90], xmm0
mov dword [rsp + 0xc0], 1
jmp 0x1400507d5
mov eax, dword [rsp + 0xc0]
add eax, 1
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0xc0], eax
jg 0x140050997
movd xmm1, dword [rsp + 0xc0]
cvtdq2pd xmm1, xmm1
movsd xmm0, qword [rsp + 0x90]
mulsd xmm0, xmm1
movsd qword [rsp + 0xe8], xmm0
movsd xmm0, qword [rsp + 0xe8]
call section.text
movapd xmm5, xmm0
movsd xmm0, qword [rsp + 0xa0]
mulsd xmm0, xmm5
movsd qword [rsp + 0xc8], xmm0
movsd xmm0, qword [rsp + 0xe8]
call fcn.1410a2490
movapd xmm5, xmm0
movsd xmm0, qword [rsp + 0xa0]
mulsd xmm0, xmm5
movsd qword [rsp + 0xe0], xmm0
movsd xmm1, qword [rsp + 0x98]
mulsd xmm1, qword [rsp + 0xe0]
movsd xmm0, qword [rsp + 0x50]
addsd xmm0, xmm1
movsd xmm1, qword [rsp + 0x30]
mulsd xmm1, qword [rsp + 0xc8]
addsd xmm0, xmm1
movsd qword [rsp + 0xd8], xmm0
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, qword [rsp + 0xe0]
movsd xmm0, qword [rsp + 0x40]
addsd xmm0, xmm1
movsd xmm1, qword [rsp + 0x80]
mulsd xmm1, qword [rsp + 0xc8]
addsd xmm0, xmm1
movsd qword [rsp + 0xf8], xmm0
movsd xmm1, qword [rsp + 0xb8]
mulsd xmm1, qword [rsp + 0xe0]
movsd xmm0, qword [rsp + 0xa8]
addsd xmm0, xmm1
movsd xmm1, qword [rsp + 0x78]
mulsd xmm1, qword [rsp + 0xc8]
addsd xmm0, xmm1
movsd qword [rsp + 0xf0], xmm0
movsd xmm3, qword [rsp + 0xf0]
movsd xmm2, qword [rsp + 0xf8]
movsd xmm1, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x28]
call fcn.1400501f0
mov dword [rsp + 0xd4], eax
movsd xmm3, qword [rsp + 0xf0]
movsd xmm2, qword [rsp + 0xf8]
movsd xmm1, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x28]
call fcn.140050080
mov dword [rsp + 0xd0], eax
mov r8d, dword [rsp + 0xd0]
mov edx, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.GDI32.dll_LineTo]
mov r11d, dword [rsp + 0xd4]
mov dword [rsp + 0xb0], r11d
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x38], eax
jmp 0x1400507c4
add rsp, 0x108
ret