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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rbp + 0x27], rax
cmp byte [rdx + 0x44], 0
mov rdi, rdx
mov r15d, dword [rdx + 0x10]
mov rsi, rcx
mov r14d, dword [rdx + 0x14]
je 0x14001644b
mov eax, 0xfffffffc
sub eax, r14d
add r15d, eax
lea eax, [r15 - 4]
mov qword [rbp - 0x39], rsi
shr eax, 1
xor r12d, r12d
mov dword [rbp - 0x29], eax
add rcx, 0x118
mov qword [rbp - 0x31], r12
movups xmm1, xmmword [rbp - 0x39]
lea ebx, [rax + 4]
mov dword [rbp - 0x25], r14d
mov eax, dword [rdx + 0x38]
mov dword [rbp - 0x21], eax
mov eax, dword [rdx + 0x3c]
mov dword [rbp - 0x1d], eax
mov eax, dword [rdx + 0x40]
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x19], eax
lea rax, [0x140016680]
mov qword [rbp - 0x49], rsi
movups xmm0, xmmword [rbp - 0x49]
mov qword [rbp + 0x17], rax
mov byte [rbp - 0x15], r12b
movups xmmword [rbp - 0x11], xmm0
movsd xmm0, qword [rbp - 0x29]
movups xmmword [rbp - 1], xmm1
movsd qword [rbp + 0xf], xmm0
call fcn.140015e50
mov eax, dword [rdi + 0x38]
lea rcx, [rsi + 0x738]
mov dword [rbp - 0x21], eax
lea rdx, [rbp - 0x39]
mov eax, dword [rdi + 0x3c]
sub r15d, ebx
mov dword [rbp - 0x1d], eax
mov eax, dword [rdi + 0x40]
mov qword [rbp - 0x39], rsi
mov dword [rbp - 0x31], ebx
mov dword [rbp - 0x2d], r12d
movups xmm1, xmmword [rbp - 0x39]
mov dword [rbp - 0x19], eax
lea rax, [0x1400166f0]
mov dword [rbp - 0x29], r15d
mov dword [rbp - 0x25], r14d
mov qword [rbp - 0x49], rsi
movups xmm0, xmmword [rbp - 0x49]
mov qword [rbp + 0x17], rax
mov byte [rbp - 0x15], r12b
movups xmmword [rbp - 0x11], xmm0
movsd xmm0, qword [rbp - 0x29]
movups xmmword [rbp - 1], xmm1
movsd qword [rbp + 0xf], xmm0
call fcn.140015e50
cmp byte [rdi + 0x44], r12b
je 0x140016625
mov eax, dword [rdi + 0x10]
lea rbx, [rsi + 0xcd8]
sub eax, r14d
mov qword [rbp - 0x39], rsi
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x2d], eax
mov rcx, rbx
mov dword [rbp - 0x31], r12d
mov dword [rbp - 0x29], r12d
mov dword [rbp - 0x25], r14d
mov dword [rbp - 0x21], r14d
mov qword [rbp - 0x1d], 0x40a
mov dword [rbp - 0x15], r12d
mov byte [rbp - 0x11], r12b
call fcn.140012d50
lea rax, [rsi + 0x50]
mov qword [rbp - 0x41], r12
lea ecx, [r12 + 0x20]
mov qword [rbp - 0x49], rax
lea rdi, [rsi + 0xd40]
call fcn.140056c98
movups xmm0, xmmword [rbp - 0x49]
mov rcx, rax
movups xmmword [rax + 0x10], xmm0
cmp qword [rdi + 8], r12
jne 0x14001659f
mov qword [rax + 8], r12
mov qword [rax], r12
mov qword [rdi + 8], rax
jmp 0x1400165b1
mov rax, qword [rdi + 0x10]
mov qword [rcx + 8], rax
mov qword [rcx], r12
mov rax, qword [rdi + 0x10]
mov qword [rax], rcx
mov qword [rdi + 0x10], rcx
mov rcx, rdi
call fcn.140001c10
movzx edi, byte [rsi + 0x88]
cmp dil, byte [rbx + 0x64]
je 0x140016625
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x40]
movsxd rcx, dword [0x1400a5164]
mov byte [rbx + 0x64], dil
mov r9, qword [rax + 0x50]
mov rax, qword [rdx + 0x10]
movzx ecx, word [rax + rcx*2]
cmp byte [rcx + rdx + 0x2c], r12b
je 0x140016609
cmp byte [rbx + 0x65], r12b
je 0x1400165fa
mov edx, dword [rbx + 0x5c]
jmp 0x14001660c
test dil, dil
je 0x140016604
mov edx, dword [rbx + 0x58]
jmp 0x14001660c
mov edx, dword [rbx + 0x50]
jmp 0x14001660c
mov edx, dword [rbx + 0x54]
xor r8d, r8d
mov rcx, rbx
call r9
mov rax, qword [rbx]
xor r8d, r8d
movzx edx, dil
mov rcx, rbx
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140056c70
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
xor r10d, r10d
mov rdi, r8
mov r8, rdx
mov rbx, rcx
cmp qword [rcx + 0x78], r10
je 0x14002f580
test byte [rcx + 0x60], 0x80
je 0x14002f577
mov rax, qword [rcx + 0x88]
xorps xmm0, xmm0
movss xmm1, dword [rax]
mov eax, dword [rcx + 0x70]
cvtsi2ss xmm0, rax
mov eax, dword [rcx + 0x6c]
divss xmm0, xmm1
cvttss2si r9, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, xmm1
cvttss2si rdx, xmm0
jmp 0x14002f586
mov r9d, dword [rcx + 0x70]
mov edx, dword [rcx + 0x6c]
jmp 0x14002f586
mov edx, r10d
mov r9d, r10d
mov ecx, dword [r8 + 0x14]
test ecx, ecx
jne 0x14002f5b3
mov rcx, qword [r8]
test byte [rcx + 0x10], 0x80
mov eax, dword [rcx + 0x1c]
je 0x14002f5b1
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rax, qword [rcx + 0x38]
divss xmm0, dword [rax]
cvttss2si rcx, xmm0
jmp 0x14002f5b3
mov ecx, eax
mov qword [rsp + 0x50], r10
cmp byte [r8 + 0x30], r10b
je 0x14002f5c5
mov dword [rsp + 0x54], r9d
jmp 0x14002f5dd
mov eax, dword [r8 + 0x1c]
test eax, eax
jne 0x14002f5d7
lea eax, [rdx + 8]
test edx, edx
jne 0x14002f5d7
mov eax, r10d
mov dword [rsp + 0x50], eax
sub ecx, eax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 8], rax
mov qword [rdi], rbx
cmp dword [rdi + 0x10], r10d
jne 0x14002f5f2
mov dword [rdi + 0x10], ecx
movups xmm0, xmmword [rdi + 0x48]
mov dword [rdi + 0x14], 0x20
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0xd0]
mov dword [rsp + 0x28], r10d
movups xmmword [rbx + 0x128], xmm0
mov dword [rsp + 0x34], r10d
movups xmm1, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x138], xmm1
movups xmm0, xmmword [rdi + 0x68]
movups xmmword [rbx + 0x148], xmm0
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov eax, dword [rdi + 8]
mov dword [rsp + 0x2c], eax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x3c], eax
call fcn.1400487c0
mov rdx, rdi
lea rcx, [rbx + 0xd0]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140016400