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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x100
mov rsi, rcx
lea rdi, [rsp + 0x28]
add rsi, 0x20
imul rbx, rdx, 0x60
lea r12, [rsp + 0x58]
lea r14, [rsp + 0x90]
lea r13, [rsp + 0x20]
lea r15, [rsp + 0xc8]
test rbx, rbx
je 0x140167f74
mov rax, qword [rsi]
cmp rax, 2
jne 0x140167e98
mov rcx, r12
call fcn.140169192
cmp dword [rsp + 0x58], 2
je 0x140167e3a
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmm2, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rcx, r14
mov rdx, r13
call fcn.1401691be
cmp qword [rsp + 0x90], 2
je 0x140167e3a
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movups xmm2, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rcx, r15
mov rdx, r13
call fcn.140169238
cmp qword [rsp + 0xc8], 2
je 0x140167e3a
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0xc8]
movups xmm1, xmmword [rsp + 0xd8]
movups xmm2, xmmword [rsp + 0xe8]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rcx, r12
mov rdx, r13
call fcn.1401692ca
cmp qword [rsp + 0x58], 2
jne 0x140167f39
mov qword [rsp + 0x90], 2
mov rcx, rsi
call fcn.140167322
mov rax, qword [rsp + 0xc0]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movups xmm2, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rsi]
mov qword [rsi], 2
cmp rax, 2
jne 0x140167e9f
mov qword [rsp + 0x58], 2
jmp 0x140167ece
mov qword [rsi], 2
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x28], rax
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rcx, r12
mov rdx, r13
call fcn.14016940b
mov rcx, rsi
call fcn.140167322
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmm2, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp dword [rsi], 2
je 0x140167f2c
mov rcx, r13
mov rdx, rsi
xor r8d, r8d
call fcn.1401694e5
cmp dword [rsp + 0x24], 2
je 0x140167f2c
movss xmm0, dword [rsp + 0x20]
movss dword [rsi + 0x38], xmm0
ucomiss xmm0, dword [rsi + 0x3c]
jbe 0x140167f2c
movss dword [rsi + 0x3c], xmm0
add rsi, 0x60
add rbx, 0xffffffffffffffa0
jmp 0x140167d37
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmm2, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rcx, r14
mov rdx, r13
call fcn.14016938f
jmp 0x140167e46
add rsp, 0x100
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret