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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rbx, qword [0x140116768]
mov eax, dword [rbx + 0x4ae0]
sub eax, 1
js 0x140036e5d
mov r8, qword [rbx + 0x4ae8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x140036e53
test dword [rcx + 0x14], 0x8000000
je 0x140036e53
cmp byte [rcx + 0xbe], 0
je 0x140036e53
cmp byte [rcx + 0xc5], 0
je 0x140036e5f
sub r8, 0x38
sub rdx, 1
jns 0x140036e30
xor ecx, ecx
vmovss xmm2, dword [rbx + 0x4d50]
vxorps xmm0, xmm0, xmm0
vcomiss xmm2, xmm0
ja 0x140036e7f
vcomiss xmm0, dword [rbx + 0x4d34]
jae 0x1400371f2
mov r8, qword [rbx + 0x4d20]
test r8, r8
je 0x140036e99
cmp byte [r8 + 0xbe], 0
je 0x140036e99
mov al, 1
jmp 0x140036e9b
xor al, al
test rcx, rcx
jne 0x1400370fb
test al, al
je 0x1400371f2
vmovups xmm1, xmmword [rbx + 0x3cfc]
vmulss xmm0, xmm2, dword [rbx + 0x38e8]
vmovups xmmword [rbp - 0x19], xmm1
vshufps xmm1, xmm1, xmm1, 0xff
vmulss xmm0, xmm1, xmm0
mov qword [rsp + 0xc8], rsi
lea rcx, [rbp - 0x19]
mov qword [rsp + 0xd0], rdi
vmovss dword [rbp - 0xd], xmm0
vmovaps xmmword [rsp + 0xa0], xmm6
call fcn.140030e90
mov edx, eax
mov rcx, r8
call fcn.140036b20
mov rdi, qword [rbx + 0x4d20]
vmovss xmm2, dword [rbx + 0x3d38]
mov rax, qword [0x140116768]
vmovss xmm0, dword [rdi + 0x28]
vmovss xmm1, dword [rdi + 0x2c]
mov rcx, qword [rax + 0x4b18]
vsubss xmm5, xmm0, xmm2
vaddss xmm0, xmm0, dword [rdi + 0x30]
vaddss xmm6, xmm0, xmm2
vaddss xmm0, xmm1, dword [rdi + 0x34]
mov rsi, qword [rcx]
vaddss xmm4, xmm0, xmm2
vsubss xmm0, xmm6, xmm5
vsubss xmm3, xmm1, xmm2
vcomiss xmm0, dword [rsi + 0x10]
vmovss dword [rbp - 0x19], xmm5
vmovss dword [rbp - 0x15], xmm3
vmovss dword [rbp - 0x11], xmm6
vmovss dword [rbp - 0xd], xmm4
jb 0x140036f9d
vsubss xmm0, xmm4, xmm3
vcomiss xmm0, dword [rsi + 0x14]
jb 0x140036f9d
vxorps xmm0, xmm2, xmmword [0x140087330]
vsubss xmm2, xmm0, dword [0x140086df4]
vsubss xmm0, xmm5, xmm2
vsubss xmm1, xmm3, xmm2
vmovss dword [rbp - 0x19], xmm0
vmovss dword [rbp - 0x15], xmm1
vaddss xmm0, xmm2, xmm6
vaddss xmm1, xmm2, xmm4
vmovss dword [rbp - 0x11], xmm0
vmovss dword [rbp - 0xd], xmm1
mov rcx, qword [rdi + 0x2a8]
vmovaps xmm6, xmmword [rsp + 0xa0]
cmp dword [rcx], 0
jne 0x140037003
mov rax, qword [rcx + 0x98]
lea rdx, [rbp + 7]
vpxor xmm0, xmm0, xmm0
mov qword [rbp + 0x17], rax
mov eax, dword [rcx + 0xa0]
vmovdqu xmmword [rbp + 0x27], xmm0
vmovups xmm0, xmmword [rcx + 0x88]
mov dword [rbp + 0x1f], eax
mov eax, dword [rcx + 0x10]
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0
mov dword [rbp + 0x23], eax
mov qword [rbp + 0x37], 0
vmovups xmmword [rbp + 7], xmm0
call fcn.1400494c0
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rsi + 8]
vmovss xmm0, dword [rdx]
vaddss xmm1, xmm0, dword [rsi + 0x10]
vmovss xmm2, dword [rdx + 4]
vaddss xmm0, xmm2, dword [rsi + 0x14]
xor r9d, r9d
lea r8, [rbp + 0x67]
vmovss dword [rbp + 0x6b], xmm0
vmovss dword [rbp + 0x67], xmm1
call fcn.1400522d0
mov rax, qword [0x140116768]
lea rcx, [rbp - 9]
vmovss xmm0, dword [rbx + 0x4d34]
vmovups xmm2, xmmword [rax + 0x3cec]
vmulss xmm1, xmm0, dword [rax + 0x38e8]
vmovups xmmword [rbp - 9], xmm2
vshufps xmm2, xmm2, xmm2, 0xff
vmulss xmm0, xmm2, xmm1
vmovss dword [rbp + 3], xmm0
call fcn.140030e90
vmovss xmm0, dword [0x140086eb0]
mov rcx, qword [rdi + 0x2a8]
lea r8, [rbp - 0x11]
vmovss dword [rsp + 0x30], xmm0
vmovss xmm0, dword [rdi + 0x60]
mov r9d, eax
lea rdx, [rbp - 0x19]
vmovss dword [rsp + 0x20], xmm0
call fcn.140054b50
mov rcx, qword [rdi + 0x2a8]
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc8]
mov eax, dword [rcx + 0x58]
sub eax, 1
mov dword [rcx + 0x58], eax
jne 0x1400370ce
mov rax, qword [rcx + 0x38]
add rax, 0x1c
jmp 0x1400370da
dec eax
cdqe
shl rax, 4
add rax, qword [rcx + 0x60]
vmovups xmm0, xmmword [rax]
vmovups xmmword [rcx + 0x88], xmm0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rbp
jmp fcn.140052050
mov r11, qword [rbx + 0x3fb0]
mov r9, rcx
movsxd rax, dword [rbx + 0x3fa8]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x140037126
cmp qword [rdx], rcx
je 0x140037126
add rdx, 8
cmp rdx, r8
jb 0x140037118
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x1400371a5
movsxd r10, edx
lea r11, [r11 + r10*8]
nop dword [rax + rax]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0x14]
bt r8d, 0x18
jb 0x14003719b
mov rax, rdx
cmp qword [rdx + 0x388], rcx
je 0x140037173
nop word [rax + rax]
cmp rax, rcx
je 0x140037173
mov rax, qword [rax + 0x380]
test rax, rax
jne 0x140037160
jmp 0x1400371a5
cmp byte [rdx + 0xbe], 0
je 0x14003719b
cmp byte [rdx + 0xc5], 0
jne 0x14003719b
mov eax, dword [rcx + 0x14]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x140037140
vmulss xmm1, xmm2, dword [rbx + 0x38e8]
vcomiss xmm1, dword [0x140086df4]
mov r8d, dword [rcx + 0x1cc]
jae 0x1400371e7
mov eax, r8d
shr eax, 0x18
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, rax
mov eax, r8d
vmulss xmm1, xmm0, xmm1
vcvttss2si rdx, xmm1
shl edx, 0x18
and eax, 0xffffff
mov r8d, edx
or r8d, eax
mov edx, r8d
mov rcx, r9
call fcn.140036b20
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rbp
ret