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

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x1a8
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rsi, qword [rcx]
mov rdi, rcx
test rsi, rsi
je 0x14005dbcb
vmovss xmm0, dword [rcx + 0x44]
vmovaps xmmword [r11 - 0x88], xmm12
vxorps xmm12, xmm12, xmm12
vcomiss xmm0, xmm12
jbe 0x14005dbc2
cmp byte [rcx + 0x34], 0
vmovaps xmmword [r11 - 0x28], xmm6
vmovss xmm6, dword [rcx + 0x40]
vmovaps xmmword [r11 - 0x38], xmm7
vmovss xmm7, dword [rcx + 0x3c]
vmovaps xmmword [r11 - 0x48], xmm8
vmovaps xmmword [r11 - 0x58], xmm9
vmovaps xmmword [r11 - 0x68], xmm10
vmovaps xmmword [r11 - 0x78], xmm11
vmovaps xmmword [r11 - 0xb8], xmm15
vmovss xmm15, dword [0x140077840]
vmulss xmm0, xmm0, xmm15
vsubss xmm8, xmm7, xmm0
vaddss xmm9, xmm7, xmm0
vsubss xmm10, xmm6, xmm0
vaddss xmm11, xmm6, xmm0
je 0x14005db63
cmp byte [rcx + 8], 0
mov qword [r11 - 0x18], r15
mov qword [r11 + 8], rbx
je 0x14005d27d
add rcx, 0xc
call fcn.14000f470
vmovss dword [rsp + 0x48], xmm8
vmovss xmm8, dword [0x140077894]
mov r9d, eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rsi
vmovss dword [rsp + 0x20], xmm8
vmovss dword [rsp + 0x40], xmm9
vmovss dword [rsp + 0x44], xmm6
vmovss dword [rsp + 0x4c], xmm6
call fcn.1400329c0
lea rcx, [rdi + 0xc]
call fcn.14000f470
mov rcx, qword [rdi]
lea r8, [rsp + 0x40]
mov r9d, eax
lea rdx, [rsp + 0x48]
vmovss dword [rsp + 0x40], xmm7
vmovss dword [rsp + 0x44], xmm11
vmovss dword [rsp + 0x48], xmm7
vmovss dword [rsp + 0x4c], xmm10
vmovss dword [rsp + 0x20], xmm8
call fcn.1400329c0
jmp 0x14005d285
vmovss xmm8, dword [0x140077894]
mov r15, qword [rdi + 0x50]
mov rsi, qword [rdi + 0x48]
cmp rsi, r15
je 0x14005db53
vmovsd xmm6, qword [0x1400778a8]
vmovss xmm5, dword [0x140077854]
mov qword [rsp + 0x1c8], r12
xor r12d, r12d
vmovaps xmmword [rsp + 0x120], xmm13
vmovaps xmmword [rsp + 0x110], xmm14
mov qword [rsp + 0x1d0], r14
nop dword [rax + rax]
mov eax, dword [rsi + 4]
vmovups xmm0, xmmword [rsi + 8]
vmovss xmm1, dword [rsi]
vmovss xmm13, dword [rsi + 0x18]
vmovss xmm14, dword [rsi + 0x1c]
vmovups xmmword [rsp + 0x68], xmm0
test eax, eax
jne 0x14005d400
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
call fcn.14000f470
mov r14d, eax
vmovss xmm0, dword [rdi + 0x20]
vmovss dword [rsp + 0x80], xmm13
vmovss dword [rsp + 0x84], xmm14
test eax, 0xff000000
je 0x14005d378
vcomiss xmm0, xmm15
jb 0x14005d378
vsubss xmm2, xmm0, xmm15
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.140031c70
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
dec r8d
vmovss dword [rsp + 0x28], xmm8
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.1400307c0
mov dword [rbx + 0x78], r12d
vmovdqu xmm0, xmmword [0x140077c70]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
vmovups xmmword [rsp + 0x68], xmm0
call fcn.14000f470
mov r14d, eax
vmovss xmm2, dword [rdi + 0x20]
vmovss dword [rsp + 0x88], xmm13
vmovss dword [rsp + 0x8c], xmm14
test eax, 0xff000000
je 0x14005db14
vcomiss xmm2, xmm15
jb 0x14005db14
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.140031c70
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
dec r8d
mov rcx, rbx
mov dword [rbx + 0x78], r8d
call fcn.1400316a0
jmp 0x14005db10
vmovss xmm0, dword [rdi + 0x30]
vsubss xmm0, xmm0, xmm1
cmp eax, 1
jne 0x14005d79b
vaddss xmm11, xmm0, dword [0x1400779e8]
vucomiss xmm11, xmm12
vmovss xmm9, dword [rdi + 0x3c]
vmovss xmm10, dword [rdi + 0x40]
vmovss dword [rsp + 0x40], xmm12
vmovss dword [rsp + 0x44], xmm12
jne 0x14005d43e
vunpcklps xmm1, xmm13, xmm14
jmp 0x14005d49e
vcvtss2sd xmm0, xmm11, xmm11
vmulsd xmm0, xmm0, xmm6
call fcn.1400681e0
vpermilpd xmm6, xmm0, 1
vsubss xmm1, xmm13, xmm9
vcvtss2sd xmm4, xmm1, xmm1
vcvtss2sd xmm1, xmm9, xmm9
vfmadd231sd xmm1, xmm4, xmm6
vsubss xmm2, xmm14, xmm10
vcvtss2sd xmm5, xmm2, xmm2
vfmadd231sd xmm1, xmm5, xmm0
vcvtss2sd xmm2, xmm10, xmm10
vfnmadd231sd xmm2, xmm4, xmm0
vfmadd231sd xmm2, xmm5, xmm6
vmovsd xmm6, qword [0x1400778a8]
vmovss xmm5, dword [0x140077854]
vcvtsd2ss xmm3, xmm1, xmm1
vcvtsd2ss xmm0, xmm2, xmm2
vunpcklps xmm1, xmm3, xmm0
vxorps xmm11, xmm11, xmmword [0x140077db0]
vucomiss xmm11, xmm12
vmovsd qword [rsp + 0x78], xmm1
vmovss xmm8, dword [rsp + 0x7c]
vmovaps xmm7, xmm1
vmovaps xmm1, xmm10
vcvtss2sd xmm1, xmm1, xmm1
vmovsd qword [rsp + 0x40], xmm1
vmovss xmm1, dword [rdi + 0x24]
vaddss xmm4, xmm1, dword [rsp + 0x7c]
vmovaps xmm0, xmm9
vmovaps xmm2, xmm7
vmovaps xmm3, xmm7
vfnmadd231ss xmm2, xmm1, xmm5
vfmadd231ss xmm3, xmm1, xmm5
vcvtss2sd xmm0, xmm0, xmm0
vmovss dword [rsp + 0x58], xmm4
vmovss dword [rsp + 0x60], xmm2
vmovss dword [rsp + 0x78], xmm3
vmovsd qword [rsp + 0x48], xmm0
vfnmadd231ss xmm8, xmm1, xmm15
jne 0x14005d534
vunpcklps xmm0, xmm7, xmm4
vmovsd qword [rsp + 0x58], xmm0
vunpcklps xmm0, xmm2, xmm8
vmovsd qword [rsp + 0x60], xmm0
vunpcklps xmm0, xmm3, xmm8
vmovsd qword [rsp + 0x40], xmm0
jmp 0x14005d656
vcvtss2sd xmm0, xmm11, xmm11
vmulsd xmm0, xmm0, xmm6
call fcn.1400681e0
vmovss xmm2, dword [rsp + 0x58]
vpermilpd xmm6, xmm0, 1
vsubss xmm2, xmm2, xmm10
vcvtss2sd xmm5, xmm2, xmm2
vmovsd xmm2, qword [rsp + 0x40]
vsubss xmm1, xmm7, xmm9
vmovss xmm7, dword [rsp + 0x60]
vcvtss2sd xmm4, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x48]
vfnmadd231sd xmm2, xmm4, xmm0
vfmadd231sd xmm1, xmm4, xmm6
vfmadd231sd xmm1, xmm5, xmm0
vfmadd231sd xmm2, xmm5, xmm6
vcvtsd2ss xmm0, xmm2, xmm2
vcvtsd2ss xmm3, xmm1, xmm1
vunpcklps xmm1, xmm3, xmm0
vcvtss2sd xmm0, xmm11, xmm11
vmulsd xmm0, xmm0, qword [0x1400778a8]
vmovsd qword [rsp + 0x58], xmm1
call fcn.1400681e0
vpermilpd xmm6, xmm0, 1
vsubss xmm1, xmm7, xmm9
vmovss xmm7, dword [rsp + 0x78]
vcvtss2sd xmm4, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x48]
vfmadd231sd xmm1, xmm4, xmm6
vsubss xmm2, xmm8, xmm10
vcvtss2sd xmm5, xmm2, xmm2
vmovsd xmm2, qword [rsp + 0x40]
vfmadd231sd xmm1, xmm5, xmm0
vfnmadd231sd xmm2, xmm4, xmm0
vfmadd231sd xmm2, xmm5, xmm6
vcvtsd2ss xmm0, xmm2, xmm2
vcvtsd2ss xmm3, xmm1, xmm1
vunpcklps xmm1, xmm3, xmm0
vcvtss2sd xmm0, xmm11, xmm11
vmulsd xmm0, xmm0, qword [0x1400778a8]
vmovsd qword [rsp + 0x60], xmm1
call fcn.1400681e0
vpermilpd xmm6, xmm0, 1
vsubss xmm1, xmm7, xmm9
vcvtss2sd xmm4, xmm1, xmm1
vmovsd xmm1, qword [rsp + 0x48]
vfmadd231sd xmm1, xmm4, xmm6
vsubss xmm2, xmm8, xmm10
vcvtss2sd xmm5, xmm2, xmm2
vmovsd xmm2, qword [rsp + 0x40]
vfmadd231sd xmm1, xmm5, xmm0
vfnmadd231sd xmm2, xmm4, xmm0
vfmadd231sd xmm2, xmm5, xmm6
vcvtsd2ss xmm3, xmm1, xmm1
vcvtsd2ss xmm0, xmm2, xmm2
vunpcklps xmm1, xmm3, xmm0
vmovsd qword [rsp + 0x40], xmm1
vmovss xmm11, dword [rsp + 0x40]
vmovss xmm10, dword [rsp + 0x44]
vmovss xmm9, dword [rsp + 0x60]
vmovss xmm8, dword [rsp + 0x64]
vmovss xmm7, dword [rsp + 0x58]
vmovss xmm6, dword [rsp + 0x5c]
lea rcx, [rsp + 0x68]
vmovss dword [rsp + 0x90], xmm11
vmovss dword [rsp + 0x94], xmm10
vmovss dword [rsp + 0xa0], xmm9
vmovss dword [rsp + 0xa4], xmm8
vmovss dword [rsp + 0xa8], xmm7
vmovss dword [rsp + 0xac], xmm6
vmovss dword [rsp + 0x98], xmm13
vmovss dword [rsp + 0x9c], xmm14
call fcn.14000f470
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.140033160
vmovdqu xmm0, xmmword [0x140077be0]
lea rcx, [rsp + 0x68]
vmovups xmmword [rsp + 0x68], xmm0
vmovss dword [rsp + 0xb0], xmm11
vmovss dword [rsp + 0xb4], xmm10
vmovss dword [rsp + 0xb8], xmm13
vmovss dword [rsp + 0xbc], xmm14
vmovss dword [rsp + 0xc0], xmm9
vmovss dword [rsp + 0xc4], xmm8
vmovss dword [rsp + 0xc8], xmm7
vmovss dword [rsp + 0xcc], xmm6
call fcn.14000f470
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.140032fb0
vmovsd xmm6, qword [0x1400778a8]
jmp 0x14005db14
vsubss xmm10, xmm0, dword [0x1400779d0]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
call fcn.14000f470
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm2, xmm0, dword [0x140077874]
vmovss dword [rsp + 0xd0], xmm13
vmovss dword [rsp + 0xd4], xmm14
test eax, 0xff000000
je 0x14005d825
vcomiss xmm2, xmm15
jb 0x14005d825
vmovss xmm0, dword [0x140077970]
mov dword [rsp + 0x28], 0x1d
lea rdx, [rsp + 0xd0]
vmovaps xmm3, xmm12
mov rcx, rbx
vmovss dword [rsp + 0x20], xmm0
call fcn.140032190
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1400316a0
mov dword [rbx + 0x78], r12d
vmovdqu xmm0, xmmword [0x140077be0]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
vmovups xmmword [rsp + 0x68], xmm0
call fcn.14000f470
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm1, xmm0, dword [0x140077884]
vmovss dword [rsp + 0xd8], xmm13
vmovss dword [rsp + 0xdc], xmm14
test eax, 0xff000000
je 0x14005d8c7
vcomiss xmm1, xmm15
jb 0x14005d8c7
vsubss xmm2, xmm1, xmm15
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.140031c70
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
vmovss xmm0, dword [0x1400777f0]
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.1400307c0
mov dword [rbx + 0x78], r12d
vxorps xmm0, xmm10, xmmword [0x140077db0]
vcvtss2sd xmm1, xmm0, xmm0
vmulsd xmm3, xmm1, xmm6
vmovss xmm1, dword [0x1400779bc]
vxorpd xmm2, xmm2, xmm2
vsubss xmm1, xmm1, xmm10
vmovsd xmm0, xmm2, xmm3
vcvtss2sd xmm2, xmm1, xmm1
vmulsd xmm1, xmm2, xmm6
call fcn.1400681a2
vmovss xmm4, dword [rdi + 0x28]
vmulss xmm1, xmm4, dword [0x1400778b8]
vperm2f128 ymm7, ymm0, ymm0, 1
vmovupd ymm5, ymm0
vcvtss2sd xmm3, xmm1, xmm1
vcvtss2sd xmm9, xmm13, xmm13
vmovaps xmm1, xmm9
vcvtss2sd xmm8, xmm14, xmm14
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 [0x140077aac]
vsubss xmm1, xmm0, xmm10
vcvtss2sd xmm0, xmm1, xmm1
vmulsd xmm0, xmm0, qword [0x1400778a8]
vzeroupper
call fcn.1400681e0
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 0x14005da17
inc ecx
test r8d, r8d
je 0x14005da02
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14005da07
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.140027e90
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 0x14005da6a
inc r8d
test ecx, ecx
je 0x14005da52
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14005da57
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.140027e90
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 0x14005dabd
inc r8d
test ecx, ecx
je 0x14005daa5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14005daaa
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.140027e90
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xf0]
vmovdqu xmm0, xmmword [0x140077c50]
vmovups xmmword [rsp + 0x68], xmm0
mov qword [rcx + rdx*8], rax
lea rcx, [rsp + 0x68]
inc dword [rbx + 0x78]
mov rbx, qword [rdi]
call fcn.14000f470
mov rdx, qword [rbx + 0x80]
mov r9d, eax
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
call fcn.1400316a0
vmovsd xmm6, qword [0x1400778a8]
mov dword [rbx + 0x78], r12d
vmovss xmm5, dword [0x140077854]
vmovss xmm8, dword [0x140077894]
add rsi, 0x20
cmp rsi, r15
jne 0x14005d2d0
vmovaps xmm14, xmmword [rsp + 0x110]
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 xmm15, xmmword [rsp + 0x100]
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]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14005dbc2
cmp rcx, rdx
je 0x14005dbc2
mov qword [rdi + 0x50], rcx
vmovaps xmm12, xmmword [rsp + 0x130]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140066f70
add rsp, 0x1a8
pop rdi
pop rsi
ret