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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1401cc298]
mov rbx, qword [rdi + 0x48d8]
test dword [rbx + 0x14], 0x40000
jne 0x14005cb14
cmp qword [rdi + 0x4a60], 0
jne 0x14005cb14
cmp byte [rdi + 0x2e7c], 0
mov rax, rdi
mov qword [rsp + 0x60], rbp
jne 0x14005c9d2
xor bpl, bpl
jmp 0x14005c9f5
cmp byte [rdi + 0x476c], 0
je 0x14005c9e4
cmp dword [rdi + 0x3f58], 0xffffffff
jne 0x14005c9ed
cmp dword [rdi + 0x3fdc], 0xffffffff
je 0x14005c9f2
xor bpl, bpl
jmp 0x14005c9f5
mov bpl, 1
cmp byte [rax + 0x2e8c], 0
jne 0x14005ca03
xor sil, sil
jmp 0x14005ca26
cmp byte [rax + 0x476c], 0
je 0x14005ca15
cmp dword [rax + 0x3f58], 0xffffffff
jne 0x14005ca1e
cmp dword [rax + 0x3fe8], 0xffffffff
je 0x14005ca23
xor sil, sil
jmp 0x14005ca26
mov sil, 1
mov edx, 0xffffffff
mov ecx, 0x207
mov r8d, 1
call fcn.1400557c0
mov edx, 0xffffffff
mov ecx, 0x208
mov r8d, 1
movzx r15d, al
call fcn.1400557c0
cmp bpl, sil
movzx r14d, al
mov rbp, qword [rsp + 0x60]
jne 0x14005ca6b
cmp r15b, al
je 0x14005cb14
cmp dword [rdi + 0x4910], 0
je 0x14005ca7b
xor ecx, ecx
call fcn.14005a9e0
cmp word [rbx + 0x15c], 0
jne 0x14005cb4e
cmp byte [rbx + 0x162], 0
je 0x14005cb4e
mov edx, 0xffffffff
mov ecx, 0x205
mov r8d, 1
call fcn.1400557c0
test al, al
je 0x14005cacd
vmovss xmm0, dword [rbx + 0x204]
vsubss xmm2, xmm0, dword [rbx + 0x1fc]
vmovss xmm1, dword [rbx + 0x88]
vsubss xmm2, xmm1, xmm2
jmp 0x14005cafe
mov edx, 0xffffffff
mov ecx, 0x206
mov r8d, 1
call fcn.1400557c0
test al, al
je 0x14005cb2c
vmovss xmm0, dword [rbx + 0x204]
vsubss xmm1, xmm0, dword [rbx + 0x1fc]
vaddss xmm2, xmm1, dword [rbx + 0x88]
vmovss dword [rbx + 0x98], xmm2
xor eax, eax
mov dword [rbx + 0xa8], eax
mov dword [rbx + 0xa0], eax
vxorps xmm0, xmm0, xmm0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
test r15b, r15b
je 0x14005cb3b
xor eax, eax
mov dword [rbx + 0x98], eax
jmp 0x14005cb08
test r14b, r14b
je 0x14005cb14
mov eax, dword [rbx + 0x90]
mov dword [rbx + 0x98], eax
jmp 0x14005cb06
mov rax, qword [rbx]
movsxd rsi, dword [rdi + 0x4910]
vmovss xmm0, dword [rbx + 0x204]
vsubss xmm4, xmm0, dword [rbx + 0x1fc]
vmovss xmm1, dword [rax + 0x3c24]
mov rax, qword [rbx + 0x368]
add rsi, rsi
vmulss xmm3, xmm1, dword [rbx + 0x290]
vmovaps xmmword [rsp + 0x30], xmm6
vmovaps xmmword [rsp + 0x20], xmm7
test rax, rax
je 0x14005cb9b
vmulss xmm3, xmm3, dword [rax + 0x290]
vmovss xmm0, dword [rbx + rsi*8 + 0x3b4]
vsubss xmm2, xmm0, dword [rbx + rsi*8 + 0x3ac]
vsubss xmm1, xmm4, xmm3
vaddss xmm3, xmm2, xmm1
vxorps xmm6, xmm6, xmm6
xor edx, edx
mov ecx, 0x205
mov r8d, 1
vmaxss xmm7, xmm3, xmm6
call fcn.1400557c0
test al, al
je 0x14005cbfe
vxorps xmm6, xmm7, xmmword [0x1400fc1f0]
mov dword [rdi + 0x4960], 3
mov dword [rdi + 0x4968], 2
mov dword [rdi + 0x4954], 0x30
jmp 0x14005ccd2
xor edx, edx
mov ecx, 0x206
mov r8d, 1
call fcn.1400557c0
test al, al
je 0x14005cc31
vmovaps xmm6, xmm7
mov dword [rdi + 0x4968], 3
mov dword [rdi + 0x4954], 0x30
jmp 0x14005ccc8
test r15b, r15b
je 0x14005cc7e
vmovss xmm0, dword [rbx + rsi*8 + 0x3b0]
xor eax, eax
vcomiss xmm0, dword [rbx + rsi*8 + 0x3a8]
mov dword [rbx + rsi*8 + 0x3b4], eax
mov dword [rbx + rsi*8 + 0x3ac], eax
jae 0x14005cc68
mov dword [rbx + rsi*8 + 0x3b0], eax
mov dword [rbx + rsi*8 + 0x3a8], eax
mov dword [rdi + 0x4960], 3
mov dword [rdi + 0x4954], 0x50
jmp 0x14005ccd2
test r14b, r14b
je 0x14005ccd2
vmovss xmm0, dword [rbx + 0x3c]
vmovss xmm1, dword [rbx + rsi*8 + 0x3b0]
vcomiss xmm1, dword [rbx + rsi*8 + 0x3a8]
vmovss dword [rbx + rsi*8 + 0x3b4], xmm0
vmovss dword [rbx + rsi*8 + 0x3ac], xmm0
jae 0x14005ccbe
xor eax, eax
mov dword [rbx + rsi*8 + 0x3b0], eax
mov dword [rbx + rsi*8 + 0x3a8], eax
mov dword [rdi + 0x4954], 0x50
mov dword [rdi + 0x4960], 2
vmovaps xmm7, xmmword [rsp + 0x20]
vmovaps xmm0, xmm6
vmovaps xmm6, xmmword [rsp + 0x30]
jmp 0x14005cb18