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

Disassembly:
push rbx
push rsi
push r12
push r13
sub rsp, 0xd8
mov rdx, qword [0x14006ae90]
movaps xmmword [rsp + 0x90], xmm7
mov r13, rdx
movaps xmmword [rsp + 0x70], xmm9
mov rax, qword [rdx + 0x1a90]
mov byte [rax + 0x88], 1
mov rsi, qword [rdx + 0x1a90]
mov rbx, qword [rsi + 0x1a8]
mov byte [rsi + 0x88], 1
mov r8, qword [rdx + 0x1a90]
movsxd rcx, dword [r8 + 0x1e0]
lea eax, [rcx - 1]
mov dword [r8 + 0x1e0], eax
test eax, eax
jne 0x1400379f0
movss xmm0, dword [r8 + 0x2a0]
jmp 0x1400379fd
mov rax, qword [r8 + 0x1e8]
movss xmm0, dword [rax + rcx*4 - 8]
movss dword [r8 + 0x1c4], xmm0
cmp dword [rbx + 0x10], 1
jle 0x140037a28
call fcn.140013770
mov rdx, qword [rsi + 0x2d0]
lea rcx, [rbx + 0x70]
call fcn.14002b460
mov rdx, qword [0x14006ae90]
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 0x140037a55
mov eax, dword [rbx + 0x28]
mov dword [rsi + 0xf0], eax
xor al, al
xorps xmm9, xmm9
test r12b, 1
jne 0x140037e70
cmp byte [rsi + 0x8b], al
jne 0x140037e70
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 0x140037e57
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 [0x140041708]
movaps xmmword [rsp + 0x50], xmm11
movss xmm11, dword [0x1400416d8]
nop
mov rax, qword [rdx + 0x1a90]
mov ecx, edi
mov r15, qword [rbx + 0x68]
mov r8, qword [rax + 0x1a8]
test r8, r8
jne 0x140037b0f
movaps xmm6, xmm9
jmp 0x140037b39
test edi, edi
jns 0x140037b17
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]
mov r8d, dword [rdx + 0x1ae0]
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 r8d, ecx
jne 0x140037b7d
mov dword [rdx + 0x1ae4], ecx
cmp dword [rdx + 0x1b20], ecx
jne 0x140037b8c
mov byte [rdx + 0x1b24], 1
mov rax, qword [rdx + 0x1a90]
comiss xmm7, dword [rax + 0x274]
jbe 0x140037bc0
movss xmm0, dword [rax + 0x27c]
comiss xmm0, xmm8
jbe 0x140037bc0
comiss xmm1, dword [rax + 0x270]
jbe 0x140037bc0
movss xmm0, dword [rax + 0x278]
comiss xmm0, xmm2
ja 0x140037bde
test ecx, ecx
je 0x140037bd1
cmp ecx, r8d
je 0x140037bde
cmp ecx, dword [rdx + 0x1c18]
je 0x140037bde
cmp byte [rdx + 0x3068], 0
je 0x140037cff
xor r8b, r8b
mov byte [rsp + 0x108], r8b
mov byte [rsp + 0x100], r8b
test r12b, 2
jne 0x140037c62
mov edx, ecx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x100]
lea r8, [rsp + 0x108]
call fcn.140031dc0
movzx r8d, byte [rsp + 0x108]
movzx eax, byte [rsp + 0x100]
test r8b, r8b
jne 0x140037c35
test al, al
je 0x140037c5b
mov dword [r13 + 0x1fb0], 4
test al, al
je 0x140037c5b
test byte [r14 + r15 + 8], 2
mov eax, 0x1d
mov rdx, qword [0x14006ae90]
cmove ebp, edi
jmp 0x140037c6e
mov rdx, qword [0x14006ae90]
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 + 0x1624]
cvttss2si eax, xmm6
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rdx + 0x1568]
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.14000f320
mov rcx, qword [rsi + 0x2d0]
lea rdx, [rsp + 0x118]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rsp + 0x110]
call fcn.14002ad40
mov rdx, qword [0x14006ae90]
mov eax, dword [rbx + 0x10]
inc edi
add r14, 0x1c
cmp edi, eax
jl 0x140037af0
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0xa0]
mov r15, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
cmp ebp, 0xffffffff
je 0x140037e4f
cmp byte [rbx + 9], 0
jne 0x140037d6f
xor r9d, r9d
inc eax
test eax, eax
jle 0x140037d6f
xor r8d, r8d
nop dword [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 0x140037d50
mov byte [rbx + 9], 1
lea ecx, [rbp - 1]
mov rax, qword [rdx + 0x1a90]
movss xmm2, dword [rdx + 0x130]
subss xmm2, dword [rdx + 0x1b08]
mov byte [rsp + 0x100], 1
mov r8, qword [rax + 0x1a8]
addss xmm2, xmm10
subss xmm2, dword [rax + 0x10]
test r8, r8
jne 0x140037db1
movaps xmm1, xmm9
jmp 0x140037ddb
test ecx, ecx
jns 0x140037db9
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]
movss xmm3, dword [rdx + 0x15cc]
movaps xmm0, xmm3
addss xmm0, xmm1
comiss xmm2, xmm0
jae 0x140037df2
movaps xmm2, xmm0
test byte [rbx + 4], 4
je 0x140037e3b
lea eax, [rbp + 1]
test r8, r8
jne 0x140037e06
movaps xmm1, xmm9
jmp 0x140037e2f
test eax, eax
jns 0x140037e0e
mov eax, dword [r8 + 0xc]
movss xmm1, dword [r8 + 0x18]
subss xmm1, dword [r8 + 0x14]
cdqe
imul rcx, rax, 0x1c
mov rax, qword [r8 + 0x68]
mulss xmm1, dword [rcx + rax]
addss xmm1, dword [r8 + 0x14]
subss xmm1, xmm3
comiss xmm1, xmm2
ja 0x140037e3b
movaps xmm2, xmm1
movaps xmm1, xmm2
mov ecx, ebp
call fcn.140037850
movzx eax, byte [rsp + 0x100]
jmp 0x140037e51
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