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

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x1a8
mov rax, qword [0x140078010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rsi, qword [rcx]
mov rdi, rcx
test rsi, rsi
je 0x140051f6e
vmovss xmm0, dword [rcx + 0x44]
vmovaps xmmword [r11 - 0xa8], xmm14
vxorps xmm14, xmm14, xmm14
vcomiss xmm0, xmm14
jbe 0x140051f65
cmp byte [rcx + 0x34], 0
vmovaps xmmword [r11 - 0x28], xmm6
vmovss xmm6, dword [rcx + 0x3c]
vmovaps xmmword [r11 - 0x38], xmm7
vmovss xmm7, dword [rcx + 0x40]
vmovaps xmmword [r11 - 0x48], xmm8
vmovaps xmmword [r11 - 0x58], xmm9
vmovaps xmmword [r11 - 0x68], xmm10
vmovaps xmmword [r11 - 0x78], xmm11
vmovss xmm11, dword [0x14006b358]
vmulss xmm0, xmm0, xmm11
vmovaps xmmword [r11 - 0x88], xmm12
vsubss xmm8, xmm6, xmm0
vaddss xmm9, xmm6, xmm0
vsubss xmm10, xmm7, xmm0
vaddss xmm12, xmm7, xmm0
je 0x140051f06
cmp byte [rcx + 8], 0
mov qword [r11 - 0x18], r15
mov qword [r11 + 8], rbx
je 0x14005165d
add rcx, 0xc
call fcn.14000dd30
vmovss dword [rsp + 0x4c], xmm7
vmovss dword [rsp + 0x58], xmm7
vmovss xmm7, dword [0x14006b39c]
mov r9d, eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x54]
mov rcx, rsi
vmovss dword [rsp + 0x20], xmm7
vmovss dword [rsp + 0x48], xmm9
vmovss dword [rsp + 0x54], xmm8
call fcn.140031130
lea rcx, [rdi + 0xc]
call fcn.14000dd30
mov rcx, qword [rdi]
lea r8, [rsp + 0x48]
mov r9d, eax
lea rdx, [rsp + 0x54]
vmovss dword [rsp + 0x48], xmm6
vmovss dword [rsp + 0x4c], xmm12
vmovss dword [rsp + 0x54], xmm6
vmovss dword [rsp + 0x58], xmm10
vmovss dword [rsp + 0x20], xmm7
call fcn.140031130
jmp 0x140051665
vmovss xmm7, dword [0x14006b39c]
mov r15, qword [rdi + 0x50]
mov rsi, qword [rdi + 0x48]
cmp rsi, r15
je 0x140051ef6
vmovss xmm4, dword [0x14006b364]
mov qword [rsp + 0x1c8], r12
xor r12d, r12d
vmovaps xmmword [rsp + 0x100], xmm15
vmovsd xmm15, qword [0x14006b3b0]
mov qword [rsp + 0x1d0], r14
vmovaps xmmword [rsp + 0x120], xmm13
nop dword [rax + rax]
mov eax, dword [rsi + 4]
vmovups xmm0, xmmword [rsi + 8]
vmovss xmm1, dword [rsi]
vmovss xmm8, dword [rsi + 0x18]
vmovss xmm10, dword [rsi + 0x1c]
vmovups xmmword [rsp + 0x60], xmm0
test eax, eax
jne 0x1400517d1
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
call fcn.14000dd30
mov r14d, eax
vmovss xmm0, dword [rdi + 0x20]
vmovss dword [rsp + 0x80], xmm8
vmovss dword [rsp + 0x84], xmm10
test eax, 0xff000000
je 0x140051758
vcomiss xmm0, xmm11
jb 0x140051758
vsubss xmm2, xmm0, xmm11
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.140030260
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
dec r8d
vmovss dword [rsp + 0x28], xmm7
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.14002ede0
mov dword [rbx + 0x78], r12d
vmovups xmm0, xmmword [0x14006b650]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
vmovups xmmword [rsp + 0x60], xmm0
call fcn.14000dd30
mov r14d, eax
vmovss xmm2, dword [rdi + 0x20]
vmovss dword [rsp + 0x88], xmm8
vmovss dword [rsp + 0x8c], xmm10
test eax, 0xff000000
je 0x140051eb7
vcomiss xmm2, xmm11
jb 0x140051eb7
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.140030260
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
dec r8d
mov dword [rbx + 0x78], r8d
jmp 0x140051ea4
vmovss xmm0, dword [rdi + 0x30]
vsubss xmm0, xmm0, xmm1
cmp eax, 1
jne 0x140051b47
vaddss xmm13, xmm0, dword [0x14006b4d0]
vucomiss xmm13, xmm14
vmovss xmm9, dword [rdi + 0x3c]
vmovss xmm12, dword [rdi + 0x40]
jne 0x140051814
vunpcklps xmm0, xmm8, xmm10
vmovsd qword [rsp + 0x40], xmm0
vmovss xmm6, dword [rsp + 0x40]
vshufps xmm1, xmm0, xmm0, 0x55
jmp 0x140051869
vcvtss2sd xmm0, xmm13, xmm13
vmulsd xmm0, xmm0, xmm15
call fcn.14005c550
vsubss xmm1, xmm8, xmm9
vcvtss2sd xmm3, xmm1, xmm1
vcvtss2sd xmm1, xmm9, xmm9
vsubss xmm2, xmm10, xmm12
vcvtss2sd xmm4, xmm2, xmm2
vpermilpd xmm5, xmm0, 1
vfmadd231sd xmm1, xmm3, xmm5
vfmadd231sd xmm1, xmm4, xmm0
vcvtss2sd xmm2, xmm12, xmm12
vfnmadd231sd xmm2, xmm3, xmm0
vfmadd231sd xmm2, xmm4, xmm5
vmovss xmm4, dword [0x14006b364]
vcvtsd2ss xmm6, xmm1, xmm1
vcvtsd2ss xmm1, xmm2, xmm2
vxorps xmm13, xmm13, xmmword [0x14006b740]
vmovaps xmm2, xmm9
vmovaps xmm3, xmm12
vcvtss2sd xmm0, xmm3, xmm3
vmovsd qword [rsp + 0x40], xmm0
vcvtss2sd xmm0, xmm2, xmm2
vmovsd qword [rsp + 0x48], xmm0
vmovss xmm0, dword [rdi + 0x24]
vaddss xmm2, xmm1, xmm0
vmovaps xmm14, xmm6
vmovaps xmm7, xmm1
vmovaps xmm15, xmm6
vfnmadd231ss xmm14, xmm0, xmm4
vfnmadd231ss xmm7, xmm0, xmm11
vfmadd231ss xmm15, xmm0, xmm4
vxorps xmm0, xmm0, xmm0
vucomiss xmm13, xmm0
vmovss dword [rsp + 0x50], xmm2
vmovss dword [rsp + 0x70], xmm13
jne 0x14005190d
vunpcklps xmm1, xmm14, xmm7
vunpcklps xmm0, xmm15, xmm7
vunpcklps xmm2, xmm6, xmm2
vmovsd qword [rsp + 0x40], xmm0
vmovss xmm7, dword [rsp + 0x40]
vmovsd qword [rsp + 0x40], xmm1
vmovss xmm13, dword [rsp + 0x40]
vmovsd qword [rsp + 0x40], xmm2
vmovss xmm14, dword [rsp + 0x40]
vshufps xmm6, xmm0, xmm0, 0x55
vshufps xmm12, xmm1, xmm1, 0x55
vshufps xmm9, xmm2, xmm2, 0x55
jmp 0x140051a21
vcvtss2sd xmm0, xmm13, xmm13
vmulsd xmm0, xmm0, qword [0x14006b3b0]
call fcn.14005c550
vmovss xmm2, dword [rsp + 0x50]
vpermilpd xmm5, xmm0, 1
vsubss xmm2, xmm2, xmm12
vcvtss2sd xmm4, xmm2, xmm2
vsubss xmm1, xmm6, xmm9
vcvtss2sd xmm3, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x48]
vfmadd231sd xmm1, xmm3, xmm5
vfmadd231sd xmm1, xmm4, xmm0
vcvtsd2ss xmm2, xmm1, xmm1
vmovss dword [rsp + 0x54], xmm2
vmovsd xmm2, qword [rsp + 0x40]
vfnmadd231sd xmm2, xmm3, xmm0
vfmadd231sd xmm2, xmm4, xmm5
vcvtsd2ss xmm0, xmm2, xmm2
vmovss dword [rsp + 0x50], xmm0
vcvtss2sd xmm0, xmm13, xmm13
vmulsd xmm0, xmm0, qword [0x14006b3b0]
call fcn.14005c550
vmovsd xmm2, qword [rsp + 0x40]
vpermilpd xmm5, xmm0, 1
vsubss xmm1, xmm14, xmm9
vcvtss2sd xmm3, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x48]
vfnmadd231sd xmm2, xmm3, xmm0
vsubss xmm6, xmm7, xmm12
vfmadd231sd xmm1, xmm3, xmm5
vcvtss2sd xmm4, xmm6, xmm6
vfmadd231sd xmm1, xmm4, xmm0
vmovss xmm0, dword [rsp + 0x70]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x14006b3b0]
vfmadd231sd xmm2, xmm4, xmm5
vcvtsd2ss xmm13, xmm1, xmm1
vcvtsd2ss xmm12, xmm2, xmm2
call fcn.14005c550
vmovsd xmm2, qword [rsp + 0x48]
vmovss xmm14, dword [rsp + 0x54]
vsubss xmm1, xmm15, xmm9
vmovss xmm9, dword [rsp + 0x50]
vcvtss2sd xmm3, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x40]
vcvtss2sd xmm4, xmm6, xmm6
vpermilpd xmm5, xmm0, 1
vfnmadd231sd xmm1, xmm3, xmm0
vfmadd231sd xmm2, xmm3, xmm5
vfmadd231sd xmm1, xmm4, xmm5
vfmadd231sd xmm2, xmm4, xmm0
vcvtsd2ss xmm6, xmm1, xmm1
vcvtsd2ss xmm7, xmm2, xmm2
lea rcx, [rsp + 0x60]
vmovss dword [rsp + 0x90], xmm7
vmovss dword [rsp + 0x94], xmm6
vmovss dword [rsp + 0x98], xmm8
vmovss dword [rsp + 0x9c], xmm10
vmovss dword [rsp + 0xa0], xmm13
vmovss dword [rsp + 0xa4], xmm12
vmovss dword [rsp + 0xa8], xmm14
vmovss dword [rsp + 0xac], xmm9
call fcn.14000dd30
mov rcx, qword [rdi]
lea r9, [rsp + 0x98]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xa0]
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
call fcn.1400318d0
vmovups xmm0, xmmword [0x14006b620]
lea rcx, [rsp + 0x60]
vmovups xmmword [rsp + 0x60], xmm0
vmovss dword [rsp + 0xb0], xmm7
vmovss dword [rsp + 0xb4], xmm6
vmovss dword [rsp + 0xb8], xmm8
vmovss dword [rsp + 0xbc], xmm10
vmovss dword [rsp + 0xc0], xmm13
vmovss dword [rsp + 0xc4], xmm12
vmovss dword [rsp + 0xc8], xmm14
vmovss dword [rsp + 0xcc], xmm9
call fcn.14000dd30
mov rcx, qword [rdi]
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xc0]
lea rax, [rsp + 0xb0]
lea rdx, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
call fcn.140031720
vmovsd xmm15, qword [0x14006b3b0]
vxorps xmm14, xmm14, xmm14
jmp 0x140051eb7
vsubss xmm12, xmm0, dword [0x14006b4c0]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
call fcn.14000dd30
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm2, xmm0, dword [0x14006b380]
vmovss dword [rsp + 0xd0], xmm8
vmovss dword [rsp + 0xd4], xmm10
test eax, 0xff000000
je 0x140051bd1
vcomiss xmm2, xmm11
jb 0x140051bd1
vmovss xmm0, dword [0x14006b470]
mov dword [rsp + 0x28], 0x1d
lea rdx, [rsp + 0xd0]
vmovaps xmm3, xmm14
mov rcx, rbx
vmovss dword [rsp + 0x20], xmm0
call fcn.140030780
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.14002fc90
mov dword [rbx + 0x78], r12d
vmovups xmm0, xmmword [0x14006b620]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x60]
vmovups xmmword [rsp + 0x60], xmm0
call fcn.14000dd30
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm1, xmm0, dword [0x14006b38c]
vmovss dword [rsp + 0xd8], xmm8
vmovss dword [rsp + 0xdc], xmm10
test eax, 0xff000000
je 0x140051c73
vcomiss xmm1, xmm11
jb 0x140051c73
vsubss xmm2, xmm1, xmm11
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.140030260
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
vmovss xmm0, dword [0x14006b308]
mov rdx, qword [rbx + 0x80]
dec r8d
vmovss dword [rsp + 0x28], xmm0
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.14002ede0
mov dword [rbx + 0x78], r12d
vxorps xmm0, xmm12, xmmword [0x14006b740]
vcvtss2sd xmm1, xmm0, xmm0
vmulsd xmm3, xmm1, xmm15
vmovss xmm1, dword [0x14006b4b0]
vxorpd xmm2, xmm2, xmm2
vsubss xmm1, xmm1, xmm12
vmovsd xmm0, xmm2, xmm3
vcvtss2sd xmm2, xmm1, xmm1
vmulsd xmm1, xmm2, xmm15
call fcn.14005c512
vmovss xmm4, dword [rdi + 0x28]
vmulss xmm1, xmm4, dword [0x14006b3c0]
vperm2f128 ymm7, ymm0, ymm0, 1
vmovupd ymm5, ymm0
vcvtss2sd xmm3, xmm1, xmm1
vcvtss2sd xmm9, xmm8, xmm8
vmovaps xmm1, xmm9
vcvtss2sd xmm8, xmm10, xmm10
vcvtss2sd xmm6, xmm4, xmm4
vpermilpd xmm2, xmm5, 1
vfmadd231sd xmm1, xmm3, xmm2
vcvtsd2ss xmm0, xmm1, xmm1
vmovss dword [rsp + 0xe0], xmm0
vmovaps xmm0, xmm8
vfnmadd231sd xmm0, xmm3, xmm5
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0xe4], xmm0
vmovaps xmm0, xmm9
vpermilpd xmm1, xmm7, 1
vfmadd231sd xmm0, xmm6, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0xe8], xmm0
vmovaps xmm1, xmm8
vfnmadd231sd xmm1, xmm6, xmm7
vcvtsd2ss xmm0, xmm1, xmm1
vmovss dword [rsp + 0xec], xmm0
vmovss xmm0, dword [0x14006b554]
vsubss xmm1, xmm0, xmm12
vcvtss2sd xmm0, xmm1, xmm1
vmulsd xmm0, xmm0, xmm15
vzeroupper
call fcn.14005c550
mov rbx, qword [rdi]
vpermilpd xmm1, xmm0, 1
vmovaps xmm2, xmm9
vfmadd231sd xmm2, xmm6, xmm1
mov ecx, dword [rbx + 0x78]
mov r8d, dword [rbx + 0x7c]
vcvtsd2ss xmm1, xmm2, xmm2
vmovaps xmm2, xmm8
vfnmadd231sd xmm2, xmm6, xmm0
vcvtsd2ss xmm0, xmm2, xmm2
vmovss dword [rsp + 0xf4], xmm0
vmovss dword [rsp + 0xf0], xmm1
cmp ecx, r8d
jne 0x140051dc2
inc ecx
test r8d, r8d
je 0x140051dad
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140051db2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.140025d90
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xe0]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
mov rbx, qword [rdi]
mov r8d, dword [rbx + 0x78]
mov ecx, dword [rbx + 0x7c]
cmp r8d, ecx
jne 0x140051e15
inc r8d
test ecx, ecx
je 0x140051dfd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140051e02
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.140025d90
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xe8]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
mov rbx, qword [rdi]
mov r8d, dword [rbx + 0x78]
mov ecx, dword [rbx + 0x7c]
cmp r8d, ecx
jne 0x140051e68
inc r8d
test ecx, ecx
je 0x140051e50
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140051e55
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.140025d90
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xf0]
vmovups xmm0, xmmword [0x14006b640]
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rcx + rdx*8], rax
lea rcx, [rsp + 0x60]
inc dword [rbx + 0x78]
mov rbx, qword [rdi]
call fcn.14000dd30
mov r8d, dword [rbx + 0x78]
mov r9d, eax
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.14002fc90
mov dword [rbx + 0x78], r12d
vmovss xmm4, dword [0x14006b364]
vmovss xmm7, dword [0x14006b39c]
add rsi, 0x20
cmp rsi, r15
jne 0x1400516b0
vmovaps xmm15, xmmword [rsp + 0x100]
vmovaps xmm13, xmmword [rsp + 0x120]
mov r14, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x1c8]
mov rbx, qword [rsp + 0x1c0]
mov r15, qword [rsp + 0x1a0]
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x48]
mov rax, rdx
vmovaps xmm12, xmmword [rsp + 0x130]
sub rax, rcx
vmovaps xmm11, xmmword [rsp + 0x140]
vmovaps xmm10, xmmword [rsp + 0x150]
vmovaps xmm9, xmmword [rsp + 0x160]
vmovaps xmm8, xmmword [rsp + 0x170]
vmovaps xmm7, xmmword [rsp + 0x180]
vmovaps xmm6, xmmword [rsp + 0x190]
sar rax, 5
test rax, rax
je 0x140051f65
cmp rcx, rdx
je 0x140051f65
mov qword [rdi + 0x50], rcx
vmovaps xmm14, xmmword [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14005b410
add rsp, 0x1a8
pop rdi
pop rsi
ret