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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x140103040]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rax, qword [0x14011ad40]
mov qword [rsp + 0x30], rax
vmovss xmm2, dword [0x1400f98c0]
vmovss xmm1, dword [0x1400f98c0]
lea rcx, [rsp + 0x78]
call fcn.1400075d0
mov rcx, qword [rsp + 0xf8]
add rcx, 0x200
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x80]
call fcn.14002f1b0
mov qword [rsp + 0x48], rax
vmovss xmm2, dword [0x1400f98c0]
vmovss xmm1, dword [0x1400f98c0]
lea rcx, [rsp + 0x88]
call fcn.1400075d0
mov rcx, qword [rsp + 0xf8]
add rcx, 0x1f8
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x90]
call fcn.14002f210
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.1400300a0
mov rax, qword [rsp + 0xf8]
vmovss xmm0, dword [rsp + 0xc0]
vaddss xmm0, xmm0, dword [rax + 0x70]
vmovss xmm1, dword [rsp + 0xc8]
call fcn.14005eaf0
vmovss dword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0xf8]
vmovss xmm0, dword [rsp + 0xc4]
vaddss xmm0, xmm0, dword [rax + 0x74]
vmovss xmm1, dword [rsp + 0xcc]
call fcn.14005eaf0
vmovss dword [rsp + 0xc4], xmm0
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x108]
and eax, 0x15
test eax, eax
jne 0x140050d7c
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0xb4]
test eax, eax
je 0x140050d7c
mov eax, dword [rsp + 0x108]
or eax, 1
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
and eax, 0x2a
test eax, eax
jne 0x140050dc5
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0xbc]
test eax, eax
je 0x140050da7
mov dword [rsp + 0x38], 0x20
jmp 0x140050daf
mov dword [rsp + 0x38], 2
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x108]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x108], eax
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xc0]
vcomiss xmm0, dword [rax]
ja 0x140050dfb
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xc8]
vcomiss xmm0, dword [rax + 8]
jb 0x140050dfb
mov byte [rsp + 0x20], 1
jmp 0x140050e00
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xc4]
vcomiss xmm0, dword [rax + 4]
ja 0x140050e40
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xcc]
vcomiss xmm0, dword [rax + 0xc]
jb 0x140050e40
mov byte [rsp + 0x21], 1
jmp 0x140050e45
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x26], al
mov rcx, qword [rsp + 0x100]
call fcn.140030270
mov rax, qword [rsp + 0x30]
vmovss xmm1, dword [rax + 0x381c]
vmulss xmm1, xmm1, dword [0x1400f9950]
vaddss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x3c], xmm0
lea rcx, [rsp + 0xc0]
call fcn.140030270
vmovss xmm1, dword [rsp + 0x3c]
vcomiss xmm1, xmm0
jbe 0x140050ebf
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0xd0]
test eax, eax
jg 0x140050ebf
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x140050ebf
mov byte [rsp + 0x22], 0
jmp 0x140050ec4
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x25], al
mov rcx, qword [rsp + 0x100]
call fcn.140030290
mov rax, qword [rsp + 0x30]
vmovss xmm1, dword [rax + 0x3820]
vmulss xmm1, xmm1, dword [0x1400f9950]
vaddss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x40], xmm0
lea rcx, [rsp + 0xc0]
call fcn.140030290
vmovss xmm1, dword [rsp + 0x40]
vcomiss xmm1, xmm0
jbe 0x140050f3e
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0xd1]
test eax, eax
jg 0x140050f3e
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x140050f3e
mov byte [rsp + 0x23], 0
jmp 0x140050f43
mov byte [rsp + 0x23], 1
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x108]
and eax, 1
test eax, eax
je 0x140051025
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x140051025
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xc0]
vcomiss xmm0, dword [rax]
ja 0x140050f8b
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x140050fc8
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rcx + 0x381c]
mov rax, qword [rsp + 0xf8]
vsubss xmm0, xmm0, dword [rax + 0x20]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051490
jmp 0x140051020
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xc8]
vcomiss xmm0, dword [rax + 8]
ja 0x140051020
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
vmovss xmm0, dword [rax + 8]
vaddss xmm0, xmm0, dword [rcx + 0x381c]
mov rax, qword [rsp + 0xf8]
vsubss xmm0, xmm0, dword [rax + 0x20]
vmovss xmm2, dword [0x1400f98c0]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051490
jmp 0x1400510d3
mov eax, dword [rsp + 0x108]
and eax, 4
test eax, eax
je 0x14005103c
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14005104e
mov eax, dword [rsp + 0x108]
and eax, 0x10
test eax, eax
je 0x1400510d3
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400510a5
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
vmovss xmm0, dword [rax]
vaddss xmm0, xmm0, dword [rcx + 8]
vmulss xmm0, xmm0, dword [0x1400f975c]
call fcn.14002fdc0
mov rax, qword [rsp + 0xf8]
vsubss xmm0, xmm0, dword [rax + 0x20]
vmovss xmm2, dword [0x1400f975c]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051490
jmp 0x1400510d3
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rcx + 0x20]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051490
mov eax, dword [rsp + 0x108]
and eax, 2
test eax, eax
je 0x1400511ae
movzx eax, byte [rsp + 0x26]
test eax, eax
jne 0x1400511ae
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xc4]
vcomiss xmm0, dword [rax + 4]
ja 0x140051113
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x140051151
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rcx + 0x3820]
mov rax, qword [rsp + 0xf8]
vsubss xmm0, xmm0, dword [rax + 0x24]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051510
jmp 0x1400511a9
mov rax, qword [rsp + 0x100]
vmovss xmm0, dword [rsp + 0xcc]
vcomiss xmm0, dword [rax + 0xc]
ja 0x1400511a9
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
vmovss xmm0, dword [rax + 0xc]
vaddss xmm0, xmm0, dword [rcx + 0x3820]
mov rax, qword [rsp + 0xf8]
vsubss xmm0, xmm0, dword [rax + 0x24]
vmovss xmm2, dword [0x1400f98c0]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051510
jmp 0x14005125e
mov eax, dword [rsp + 0x108]
and eax, 8
test eax, eax
je 0x1400511c5
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x1400511d7
mov eax, dword [rsp + 0x108]
and eax, 0x20
test eax, eax
je 0x14005125e
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14005122f
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rcx + 0xc]
vmulss xmm0, xmm0, dword [0x1400f975c]
call fcn.14002fdc0
mov rax, qword [rsp + 0xf8]
vsubss xmm0, xmm0, dword [rax + 0x24]
vmovss xmm2, dword [0x1400f975c]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051510
jmp 0x14005125e
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rcx + 0x24]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140051510
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
call fcn.1400507d0
mov rax, qword [rsp + 0xf8]
add rax, 0x84
mov r8, rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0xf0]
call fcn.14002f210
mov eax, dword [rsp + 0x108]
and eax, 0x40
test eax, eax
jne 0x14005139f
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x1000000
test eax, eax
je 0x14005139f
mov eax, dword [rsp + 0x28]
and eax, 0x14
test eax, eax
je 0x1400512dc
mov eax, dword [rsp + 0x28]
and eax, 0xffffffea
or eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0x28
test eax, eax
je 0x1400512f5
mov eax, dword [rsp + 0x28]
and eax, 0xffffffd5
or eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
add rax, 8
mov r8, qword [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14002f210
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x100]
mov r8, qword [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14002f210
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.1400300a0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x368]
mov qword [rsp + 0x70], rax
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xa8]
call fcn.140050c10
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.14002f330
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400cde70
add rsp, 0xe8
ret