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

Disassembly:
mov r8, qword [0x1400f77e0]
movsxd r9, ecx
test ecx, ecx
jne 0x14003fc84
mov rcx, qword [r8 + 0x1dc8]
mov rdx, qword [rcx + 0x3b8]
test rdx, rdx
je 0x14003fc7a
cmp byte [rdx + 0x9f], 0
jne 0x14003fc7d
mov rdx, rcx
mov qword [r8 + 0x1dc8], rdx
mov rcx, qword [r8 + 0x1dc8]
mov rdx, r9
mov r10d, dword [rcx + r9*4 + 0x3c0]
mov dword [r8 + 0x1e14], r9d
test r10d, r10d
je 0x14003fce9
mov dword [r8 + 0x1dd0], r10d
add rdx, rdx
mov dword [r8 + 0x1dd4], 0
mov dword [rcx + r9*4 + 0x3c0], r10d
mov rax, qword [r8 + 0x1dc8]
movups xmm0, xmmword [rcx + rdx*8 + 0x3c8]
movups xmmword [rax + rdx*8 + 0x3c8], xmm0
mov word [r8 + 0x1e1d], 1
mov byte [r8 + 0x1e1f], 1
ret
mov dl, 1
jmp fcn.14003fcf0
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rbx, qword [0x1400f77e0]
xor r14d, r14d
mov qword [rsp + 0x98], rbp
mov edi, r14d
xor bpl, bpl
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
mov eax, dword [rbx + 0x1d98]
sub eax, 1
js 0x1400423e0
mov r8, qword [rbx + 0x1da0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov r9, qword [r8]
test r9, r9
je 0x1400423d6
test dword [r9 + 0x1c], 0x8000000
jne 0x14004245d
sub r8, 0x30
sub rdx, 1
jns 0x1400423c0
mov r9, r14
xorps xmm6, xmm6
cmp qword [rbx + 0x1f00], rdi
je 0x140042432
cmp qword [rbx + 0x1ef8], rdi
jne 0x140042432
comiss xmm6, dword [rbx + 0x1f44]
movss xmm1, dword [rbx + 0x1f14]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400a5b14]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f14], xmm1
jb 0x140042432
comiss xmm6, xmm1
jb 0x140042432
mov qword [rbx + 0x1f00], r14
mov r15d, 1
test r9, r9
jne 0x140042469
cmp qword [rbx + 0x1ef8], rdi
jne 0x140042469
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.14003ff30
comiss xmm0, xmm6
jbe 0x140042469
movzx r8d, dl
jmp 0x14004247a
mov qword [rbx + 0x1ef8], r14
jmp 0x1400423e3
xor r8b, r8b
test r9, r9
jne 0x14004249f
cmp qword [rbx + 0x1ef8], rdi
jne 0x14004249f
cmp byte [rbx + 0x140], dil
je 0x14004249f
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14004249f
call fcn.1400377b0
test al, al
je 0x14004249f
test byte [rbx + 8], r15b
je 0x14004249f
movzx r9d, r15b
jmp 0x1400424a2
xor r9b, r9b
test r8b, r8b
jne 0x1400424b0
test r9b, r9b
je 0x14004254e
mov rax, qword [rbx + 0x1dc8]
test rax, rax
jne 0x14004251c
movsxd rcx, dword [rbx + 0x1bc0]
lea edx, [rcx - 1]
test edx, edx
js 0x14004254e
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x14004254e
cmp rax, 0xffffffff80000001
je 0x14004254e
mov r8, qword [rbx + 0x1bc8]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0x9f], dil
je 0x140042507
cmp rcx, qword [rcx + 0x3a0]
jne 0x140042507
test dword [rcx + 0x1c], 0x80000
je 0x140042510
dec edx
sub rax, r15
jns 0x1400424d4
jmp 0x14004254e
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x14004254e
mov rax, qword [rax + 0x3a0]
xor r9b, r15b
mov qword [rbx + 0x1f00], rax
mov qword [rbx + 0x1ef8], rax
movzx eax, r9b
mov byte [rbx + 0x1f18], al
add eax, 2
mov dword [rbx + 0x1dfc], eax
mov qword [rbx + 0x1f10], r14
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1f10]
movss xmm5, dword [0x1400a5a50]
movss dword [rbx + 0x1f10], xmm0
cmp qword [rbx + 0x1ef8], rdi
je 0x14004263b
cmp dword [rbx + 0x1dfc], 3
jne 0x14004263b
subss xmm0, dword [0x1400a5958]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x1400a590c]
comiss xmm6, xmm0
jbe 0x1400425a4
movaps xmm1, xmm6
jmp 0x1400425ab
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1f14]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1f14], xmm7
call fcn.14003ff30
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.14003ff30
comiss xmm0, xmm6
mov ecx, r14d
seta cl
sub ecx, r9d
je 0x1400425fe
call fcn.140042220
mov dword [rbx + 0x1f14], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rbx + 0x350]
comiss xmm0, xmm6
ja 0x140042636
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1f18], al
je 0x140042628
cmp qword [rbx + 0x1dc8], rdi
je 0x14004262f
movzx ebp, r15b
jmp 0x14004262f
mov rdi, qword [rbx + 0x1ef8]
mov qword [rbx + 0x1ef8], r14
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rbx + 0x1ef8], r14
je 0x1400426bc
cmp dword [rbx + 0x1dfc], 2
jne 0x1400426bc
movss xmm0, dword [rbx + 0x1f10]
subss xmm0, dword [0x1400a5958]
divss xmm0, dword [0x1400a590c]
comiss xmm6, xmm0
jbe 0x14004266f
movaps xmm5, xmm6
jmp 0x140042673
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1f14]
maxss xmm0, xmm5
movss dword [rbx + 0x1f14], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400426ac
call fcn.1400377b0
test al, al
je 0x1400426ac
cmp byte [rbx + 0x141], r14b
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.140042220
cmp byte [rbx + 0x140], r14b
jne 0x1400426bc
mov rdi, qword [rbx + 0x1ef8]
mov edx, r15d
mov ecx, 0x10
call fcn.14003ff30
comiss xmm0, xmm6
jbe 0x1400426d4
mov byte [rbx + 0x1f18], dl
cmp dword [rbx + 0x1c58], r14d
je 0x1400426ea
cmp byte [rbx + 0x1c65], r14b
je 0x140042777
cmp byte [rbx + 0x1f18], r14b
je 0x140042777
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.14003ff30
comiss xmm0, xmm6
jbe 0x140042777
lea rax, [rbx + 0x3c4]
test rax, rax
jne 0x14004271c
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
movss xmm1, dword [0x1400a5c6c]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14004273d
comiss xmm2, xmm1
jb 0x14004273d
movzx ecx, r15b
jmp 0x14004273f
xor cl, cl
lea rax, [rbx + 0x128]
test rax, rax
jne 0x140042752
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14004276b
comiss xmm2, xmm1
jb 0x14004276b
movzx eax, r15b
jmp 0x14004276d
xor al, al
cmp al, cl
movzx ebp, bpl
cmove ebp, r15d
mov rsi, qword [rbx + 0x1ef8]
test rsi, rsi
je 0x140042885
test byte [rsi + 0x1c], 4
jne 0x140042885
mov eax, dword [rbx + 0x1dfc]
cmp eax, 2
jne 0x1400427b6
cmp byte [rbx + 0x141], r14b
jne 0x140042885
mov edx, r15d
lea rcx, [rsp + 0x88]
jmp 0x1400427ca
cmp eax, 3
jne 0x140042885
lea edx, [rax + 1]
lea rcx, [rsp + 0x90]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.1400400b0
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x1400427f6
jne 0x1400427f6
ucomiss xmm3, xmm6
jp 0x1400427f6
je 0x140042885
mov r9, qword [rsi + 0x3a0]
lea rdx, [rsp + 0x80]
movss xmm1, dword [rbx + 0xc0]
mov r8d, r15d
movss xmm0, dword [rbx + 0x18]
mov rcx, r9
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x1400a5bd4]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [r9 + 0x20]
addss xmm3, dword [r9 + 0x24]
movss dword [rsp + 0x80], xmm4
movss dword [rsp + 0x84], xmm3
call fcn.14003cd70
test dword [r9 + 0x1c], 0x100
jne 0x14004287e
comiss xmm6, dword [rbx + 0x302c]
jb 0x14004287e
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x302c], eax
mov byte [rbx + 0x1e1f], r8b
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x140042962
mov rax, qword [rbx + 0x1dc8]
test rax, rax
je 0x1400428ac
cmp rdi, qword [rax + 0x3a0]
je 0x14004295b
mov ecx, dword [rbx + 0x1c58]
test ecx, ecx
setne al
mov byte [rbx + 0x1c64], al
test ecx, ecx
je 0x1400428da
mov dword [rbx + 0x1c60], r14d
mov word [rbx + 0x1c67], r14w
mov dword [rbx + 0x1c94], 0xffffffff
mov dword [rbx + 0x1c58], r14d
mov word [rbx + 0x1c65], r14w
mov qword [rbx + 0x1c88], r14
mov word [rbx + 0x1c69], r14w
mov qword [rbx + 0x1c6c], r14
mov qword [rbx + 0x1c78], r14
mov word [rbx + 0x1e1e], 0x100
mov rax, qword [rdi + 0x3b8]
test rax, rax
je 0x140042926
cmp byte [rax + 0x9f], r14b
cmovne rdi, rax
xor edx, edx
mov rcx, rdi
call fcn.14003e750
mov rcx, rdi
call fcn.14003c7f0
cmp dword [rdi + 0x3c0], r14d
jne 0x14004294b
xor edx, edx
mov rcx, rdi
call fcn.14003fcf0
cmp dword [rdi + 0x160], 2
jne 0x14004295b
mov dword [rbx + 0x1e14], r15d
mov qword [rbx + 0x1ef8], r14
mov r15, qword [rsp + 0x50]
test bpl, bpl
mov rbp, qword [rsp + 0x98]
je 0x140042a1a
mov rdi, qword [rbx + 0x1dc8]
test rdi, rdi
je 0x140042a1a
lea rcx, [rdi + 0x398]
cmp qword [rcx], r14
je 0x1400429bb
test byte [rdi + 0x160], 2
jne 0x1400429bb
mov eax, dword [rdi + 0x1c]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400429bb
mov rdi, qword [rcx]
lea rcx, [rdi + 0x398]
cmp qword [rcx], r14
jne 0x140042994
mov rsi, qword [rbx + 0x1dc8]
cmp rdi, rsi
je 0x1400429d6
mov rcx, rdi
call fcn.14003c7f0
mov qword [rdi + 0x3b8], rsi
mov rax, qword [rbx + 0x1dc8]
mov word [rbx + 0x1e1e], 0x100
test byte [rax + 0x160], 2
je 0x140042a12
mov ecx, dword [rbx + 0x1e14]
xor ecx, 1
cmp ecx, 1
jne 0x140042a15
mov dword [rax + 0x3c4], r14d
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
jmp 0x14003fc50
mov ecx, r14d
call 0x14003fc50
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret