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

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x1a8
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rsi, qword [rcx]
mov rdi, rcx
test rsi, rsi
je 0x140054e0b
vmovss xmm0, dword [rcx + 0x44]
vmovaps xmmword [r11 - 0x88], xmm12
vxorps xmm12, xmm12, xmm12
vcomiss xmm0, xmm12
jbe 0x140054e02
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 [0x140079dec]
vmulss xmm0, xmm0, xmm15
vsubss xmm8, xmm7, xmm0
vaddss xmm9, xmm7, xmm0
vsubss xmm10, xmm6, xmm0
vaddss xmm11, xmm6, xmm0
je 0x140054da3
cmp byte [rcx + 8], 0
mov qword [r11 - 0x18], r15
mov qword [r11 + 8], rbx
je 0x1400544bd
add rcx, 0xc
call fcn.140009b00
vmovss dword [rsp + 0x48], xmm8
vmovss xmm8, dword [0x140079e38]
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.14002cf50
lea rcx, [rdi + 0xc]
call fcn.140009b00
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.14002cf50
jmp 0x1400544c5
vmovss xmm8, dword [0x140079e38]
mov r15, qword [rdi + 0x50]
mov rsi, qword [rdi + 0x48]
cmp rsi, r15
je 0x140054d93
vmovsd xmm6, qword [0x140079e50]
vmovss xmm5, dword [0x140079dfc]
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 0x140054640
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
call fcn.140009b00
mov r14d, eax
vmovss xmm0, dword [rdi + 0x20]
vmovss dword [rsp + 0x80], xmm13
vmovss dword [rsp + 0x84], xmm14
test eax, 0xff000000
je 0x1400545b8
vcomiss xmm0, xmm15
jb 0x1400545b8
vsubss xmm2, xmm0, xmm15
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.14002c200
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.14002ad50
mov dword [rbx + 0x78], r12d
vmovdqu xmm0, xmmword [0x14007a280]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
vmovups xmmword [rsp + 0x68], xmm0
call fcn.140009b00
mov r14d, eax
vmovss xmm2, dword [rdi + 0x20]
vmovss dword [rsp + 0x88], xmm13
vmovss dword [rsp + 0x8c], xmm14
test eax, 0xff000000
je 0x140054d54
vcomiss xmm2, xmm15
jb 0x140054d54
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.14002c200
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.14002bc30
jmp 0x140054d50
vmovss xmm0, dword [rdi + 0x30]
vsubss xmm0, xmm0, xmm1
cmp eax, 1
jne 0x1400549db
vaddss xmm11, xmm0, dword [0x140079fbc]
vucomiss xmm11, xmm12
vmovss xmm9, dword [rdi + 0x3c]
vmovss xmm10, dword [rdi + 0x40]
vmovss dword [rsp + 0x40], xmm12
vmovss dword [rsp + 0x44], xmm12
jne 0x14005467e
vunpcklps xmm1, xmm13, xmm14
jmp 0x1400546de
vcvtss2sd xmm0, xmm11, xmm11
vmulsd xmm0, xmm0, xmm6
call fcn.140069460
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 [0x140079e50]
vmovss xmm5, dword [0x140079dfc]
vcvtsd2ss xmm3, xmm1, xmm1
vcvtsd2ss xmm0, xmm2, xmm2
vunpcklps xmm1, xmm3, xmm0
vxorps xmm11, xmm11, xmmword [0x14007a520]
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 0x140054774
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 0x140054896
vcvtss2sd xmm0, xmm11, xmm11
vmulsd xmm0, xmm0, xmm6
call fcn.140069460
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 [0x140079e50]
vmovsd qword [rsp + 0x58], xmm1
call fcn.140069460
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 [0x140079e50]
vmovsd qword [rsp + 0x60], xmm1
call fcn.140069460
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.140009b00
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.14002d6f0
vmovdqu xmm0, xmmword [0x14007a1a0]
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.140009b00
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.14002d540
vmovsd xmm6, qword [0x140079e50]
jmp 0x140054d54
vsubss xmm10, xmm0, dword [0x140079f74]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
call fcn.140009b00
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm2, xmm0, dword [0x140079e1c]
vmovss dword [rsp + 0xd0], xmm13
vmovss dword [rsp + 0xd4], xmm14
test eax, 0xff000000
je 0x140054a65
vcomiss xmm2, xmm15
jb 0x140054a65
vmovss xmm0, dword [0x140079f00]
mov dword [rsp + 0x28], 0x1d
lea rdx, [rsp + 0xd0]
vmovaps xmm3, xmm12
mov rcx, rbx
vmovss dword [rsp + 0x20], xmm0
call fcn.14002c720
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.14002bc30
mov dword [rbx + 0x78], r12d
vmovdqu xmm0, xmmword [0x14007a1a0]
mov rbx, qword [rdi]
lea rcx, [rsp + 0x68]
vmovups xmmword [rsp + 0x68], xmm0
call fcn.140009b00
mov r14d, eax
vmovss xmm0, dword [rdi + 0x28]
vmulss xmm1, xmm0, dword [0x140079e28]
vmovss dword [rsp + 0xd8], xmm13
vmovss dword [rsp + 0xdc], xmm14
test eax, 0xff000000
je 0x140054b07
vcomiss xmm1, xmm15
jb 0x140054b07
vsubss xmm2, xmm1, xmm15
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.14002c200
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
vmovss xmm0, dword [0x140079da0]
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.14002ad50
mov dword [rbx + 0x78], r12d
vxorps xmm0, xmm10, xmmword [0x14007a520]
vcvtss2sd xmm1, xmm0, xmm0
vmulsd xmm3, xmm1, xmm6
vmovss xmm1, dword [0x140079f54]
vxorpd xmm2, xmm2, xmm2
vsubss xmm1, xmm1, xmm10
vmovsd xmm0, xmm2, xmm3
vcvtss2sd xmm2, xmm1, xmm1
vmulsd xmm1, xmm2, xmm6
call fcn.140069422
vmovss xmm4, dword [rdi + 0x28]
vmulss xmm1, xmm4, dword [0x140079e60]
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 [0x14007a06c]
vsubss xmm1, xmm0, xmm10
vcvtss2sd xmm0, xmm1, xmm1
vmulsd xmm0, xmm0, qword [0x140079e50]
vzeroupper
call fcn.140069460
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 0x140054c57
inc ecx
test r8d, r8d
je 0x140054c42
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140054c47
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.140022420
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 0x140054caa
inc r8d
test ecx, ecx
je 0x140054c92
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140054c97
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.140022420
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 0x140054cfd
inc r8d
test ecx, ecx
je 0x140054ce5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140054cea
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x78]
cmovg r8d, eax
mov edx, r8d
call fcn.140022420
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0xf0]
vmovdqu xmm0, xmmword [0x14007a260]
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.140009b00
mov rdx, qword [rbx + 0x80]
mov r9d, eax
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
call fcn.14002bc30
vmovsd xmm6, qword [0x140079e50]
mov dword [rbx + 0x78], r12d
vmovss xmm5, dword [0x140079dfc]
vmovss xmm8, dword [0x140079e38]
add rsi, 0x20
cmp rsi, r15
jne 0x140054510
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 0x140054e02
cmp rcx, rdx
je 0x140054e02
mov qword [rdi + 0x50], rcx
vmovaps xmm12, xmmword [rsp + 0x130]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400681f0
add rsp, 0x1a8
pop rdi
pop rsi
ret