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

Disassembly:
push rbx
push rsi
push r12
push r13
sub rsp, 0xd8
mov rdx, qword [0x140062d68]
movaps xmmword [rsp + 0x90], xmm7
mov r13, rdx
movaps xmmword [rsp + 0x70], xmm9
mov rax, qword [rdx + 0x1a88]
mov byte [rax + 0x88], 1
mov rsi, qword [rdx + 0x1a88]
mov rbx, qword [rsi + 0x1a8]
mov byte [rsi + 0x88], 1
mov r8, qword [rdx + 0x1a88]
movsxd rcx, dword [r8 + 0x1e0]
lea eax, [rcx - 1]
mov dword [r8 + 0x1e0], eax
test eax, eax
jne 0x140031be0
movss xmm0, dword [r8 + 0x2a0]
jmp 0x140031bed
mov rax, qword [r8 + 0x1e8]
movss xmm0, dword [rax + rcx*4 - 8]
movss dword [r8 + 0x1c4], xmm0
cmp dword [rbx + 0x10], 1
jle 0x140031c18
call fcn.140009a20
mov rdx, qword [rsi + 0x2d0]
lea rcx, [rbx + 0x70]
call fcn.1400216a0
mov rdx, qword [0x140062d68]
movss xmm7, dword [rbx + 0x20]
maxss xmm7, dword [rsi + 0xdc]
mov r12d, dword [rbx + 4]
movss dword [rbx + 0x20], xmm7
movss dword [rsi + 0xdc], xmm7
test r12b, 0x10
jne 0x140031c45
mov eax, dword [rbx + 0x28]
mov dword [rsi + 0xf0], eax
xor al, al
xorps xmm9, xmm9
test r12b, 1
jne 0x14003205b
cmp byte [rsi + 0x8b], al
jne 0x14003205b
minss xmm7, dword [rsi + 0x27c]
mov qword [rsp + 0xd0], rbp
mov ebp, 0xffffffff
mov qword [rsp + 0xc8], rdi
mov edi, 1
movaps xmmword [rsp + 0x80], xmm8
movss xmm8, dword [rbx + 0x24]
maxss xmm8, dword [rsi + 0x274]
cmp dword [rbx + 0x10], edi
jle 0x140032042
mov qword [rsp + 0xc0], r14
lea r14d, [rbp + 0x1d]
mov qword [rsp + 0xb8], r15
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x60], xmm10
movss xmm10, dword [0x1400569fc]
movaps xmmword [rsp + 0x50], xmm11
movss xmm11, dword [0x140056974]
nop
mov rax, qword [rdx + 0x1a88]
mov ecx, edi
mov r15, qword [rbx + 0x68]
mov r8, qword [rax + 0x1a8]
test r8, r8
jne 0x140031cff
movaps xmm6, xmm9
jmp 0x140031d29
test edi, edi
jns 0x140031d07
mov ecx, dword [r8 + 0xc]
movss xmm6, dword [r8 + 0x18]
subss xmm6, dword [r8 + 0x14]
movsxd rax, ecx
imul rcx, rax, 0x1c
mov rax, qword [r8 + 0x68]
mulss xmm6, dword [rcx + rax]
addss xmm6, dword [r8 + 0x14]
addss xmm6, dword [rsi + 0x10]
mov ecx, dword [rbx]
add ecx, edi
movss dword [rsp + 0x34], xmm8
movss dword [rsp + 0x3c], xmm7
movaps xmm1, xmm6
movaps xmm2, xmm6
addss xmm1, xmm10
subss xmm2, xmm10
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x30], xmm2
cmp dword [rdx + 0x1ad8], ecx
jne 0x140031d69
mov dword [rdx + 0x1adc], ecx
cmp dword [rdx + 0x1b18], ecx
jne 0x140031d78
mov byte [rdx + 0x1b1c], 1
mov rax, qword [rdx + 0x1a88]
comiss xmm7, dword [rax + 0x274]
jbe 0x140031dac
movss xmm0, dword [rax + 0x27c]
comiss xmm0, xmm8
jbe 0x140031dac
comiss xmm1, dword [rax + 0x270]
jbe 0x140031dac
movss xmm0, dword [rax + 0x278]
comiss xmm0, xmm2
ja 0x140031dcd
test ecx, ecx
je 0x140031dc0
cmp ecx, dword [rdx + 0x1ad8]
je 0x140031dcd
cmp ecx, dword [rdx + 0x1c10]
je 0x140031dcd
cmp byte [rdx + 0x3070], 0
je 0x140031eee
xor r8b, r8b
mov byte [rsp + 0x108], r8b
mov byte [rsp + 0x100], r8b
test r12b, 2
jne 0x140031e51
mov edx, ecx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x100]
lea r8, [rsp + 0x108]
call fcn.140028e50
movzx r8d, byte [rsp + 0x108]
movzx eax, byte [rsp + 0x100]
test r8b, r8b
jne 0x140031e24
test al, al
je 0x140031e4a
mov dword [r13 + 0x1fa8], 4
test al, al
je 0x140031e4a
test byte [r14 + r15 + 8], 2
mov eax, 0x1d
mov rdx, qword [0x140062d68]
cmove ebp, edi
jmp 0x140031e5d
mov rdx, qword [0x140062d68]
xor eax, eax
test r8b, r8b
setne al
add rax, 0x1b
add rax, rax
movss dword [rsp + 0x114], xmm7
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [rdx + rax*8 + 0x161c]
cvttss2si eax, xmm6
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rdx + 0x1560]
movss dword [rsp + 0x4c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x110], xmm0
movss dword [rsp + 0x118], xmm0
movaps xmm0, xmm8
addss xmm0, xmm11
movss dword [rsp + 0x11c], xmm0
call fcn.140005360
mov rcx, qword [rsi + 0x2d0]
lea rdx, [rsp + 0x118]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rsp + 0x110]
call fcn.140020f80
mov rdx, qword [0x140062d68]
mov eax, dword [rbx + 0x10]
inc edi
add r14, 0x1c
cmp edi, eax
jl 0x140031ce0
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0xa0]
mov r15, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
cmp ebp, 0xffffffff
je 0x14003203a
cmp byte [rbx + 9], 0
jne 0x140031f5f
xor r9d, r9d
inc eax
test eax, eax
jle 0x140031f5f
xor r8d, r8d
nop dword [rax + rax]
mov rcx, qword [rbx + 0x68]
lea r8, [r8 + 0x1c]
inc r9d
mov eax, dword [r8 + rcx - 0x1c]
mov dword [r8 + rcx - 0x18], eax
mov eax, dword [rbx + 0x10]
inc eax
cmp r9d, eax
jl 0x140031f40
mov byte [rbx + 9], 1
lea ecx, [rbp - 1]
mov rax, qword [rdx + 0x1a88]
movss xmm3, dword [rdx + 0x128]
subss xmm3, dword [rdx + 0x1b00]
mov byte [rsp + 0x100], 1
mov r8, qword [rax + 0x1a8]
addss xmm3, xmm10
subss xmm3, dword [rax + 0x10]
test r8, r8
jne 0x140031fa1
movaps xmm1, xmm9
jmp 0x140031fcb
test ecx, ecx
jns 0x140031fa9
mov ecx, dword [r8 + 0xc]
movss xmm1, dword [r8 + 0x18]
subss xmm1, dword [r8 + 0x14]
movsxd rax, ecx
imul rcx, rax, 0x1c
mov rax, qword [r8 + 0x68]
mulss xmm1, dword [rcx + rax]
addss xmm1, dword [r8 + 0x14]
test byte [rbx + 4], 4
movss xmm4, dword [rdx + 0x15c4]
movaps xmm2, xmm4
addss xmm2, xmm1
maxss xmm2, xmm3
je 0x140032026
lea eax, [rbp + 1]
test r8, r8
jne 0x140031ff2
movaps xmm1, xmm9
jmp 0x14003201b
test eax, eax
jns 0x140031ffa
mov eax, dword [r8 + 0xc]
movss xmm1, dword [r8 + 0x18]
subss xmm1, dword [r8 + 0x14]
cdqe
imul rdx, rax, 0x1c
mov rax, qword [r8 + 0x68]
mulss xmm1, dword [rdx + rax]
addss xmm1, dword [r8 + 0x14]
subss xmm1, xmm4
minss xmm1, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm2
mov ecx, ebp
call fcn.140031a40
movzx eax, byte [rsp + 0x100]
jmp 0x14003203c
xor al, al
movaps xmm10, xmmword [rsp + 0x60]
mov rdi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
mov byte [rbx + 9], al
xor eax, eax
movups xmm0, xmmword [rsi + 0x260]
movups xmmword [rsi + 0x250], xmm0
movups xmm0, xmmword [rbx + 0x4c]
mov qword [rsi + 0x1a8], rax
mov dword [rsi + 0x114], eax
movups xmmword [rsi + 0x260], xmm0
movss xmm0, dword [rsi + 0x110]
addss xmm0, dword [rsi + 0x10]
addss xmm0, xmm9
movaps xmm9, xmmword [rsp + 0x70]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0xd8], xmm0
add rsp, 0xd8
pop r13
pop r12
pop rsi
pop rbx
ret