Function at 0x140051a90
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmm8, xmm3
movzx esi, r8b
mov ebx, edx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r14d, r14d
mov eax, dword [rdx + rcx]
cmp dword [0x1401d32e4], eax
jle 0x140051b40
lea rcx, [0x1401d32e4]
call fcn.1400f2b7c
cmp dword [0x1401d32e4], 0xffffffff
jne 0x140051b40
mov qword [0x1401d32f8], r14
mov qword [0x1401d3300], r14
lea ecx, [r14 + 0x28]
call fcn.1400f2760
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1401d32f8], rax
lea rcx, [0x14012c660]
call fcn.1400f29d4
nop
lea rcx, [0x1401d32e4]
call fcn.1400f2b1c
xorps xmm6, xmm6
mov dword [rsp + 0xa0], 0
mov byte [rsp + 0xa4], 0
mov rdi, qword [0x1401d32f8]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r14d
mov rcx, rdi
cmp byte [rax + 0x19], 0
jne 0x140051b9d
mov qword [rsp + 0x30], rax
cmp dword [rax + 0x1c], ebx
jge 0x140051b89
mov dword [rsp + 0x38], r14d
mov rax, qword [rax + 0x10]
jmp 0x140051b97
mov dword [rsp + 0x38], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140051b74
cmp byte [rcx + 0x19], 0
jne 0x140051ba8
cmp ebx, dword [rcx + 0x1c]
jge 0x140051c18
movabs rax, 0x666666666666666
cmp qword [0x1401d3300], rax
je 0x140051d1b
lea rbp, [0x1401d32f8]
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], r14
mov ecx, 0x28
call fcn.1400f2760
nop
mov dword [rax + 0x1c], ebx
mov rdx, qword [rsp + 0xa0]
mov qword [rax + 0x20], rdx
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14007e580
mov rcx, rax
movss xmm1, dword [0x140186c10]
cmp sil, byte [rcx + 0x24]
je 0x140051c2b
movaps xmm0, xmm6
jmp 0x140051c45
movss xmm0, dword [rsp + 0xc8]
mulss xmm0, dword [0x140186b94]
addss xmm0, dword [rcx + 0x20]
minss xmm0, xmm1
movss dword [rcx + 0x20], xmm0
mov byte [rcx + 0x24], sil
movss xmm7, dword [rcx + 0x20]
movss xmm0, dword [0x140186b7c]
comiss xmm0, xmm7
jae 0x140051cbc
comiss xmm7, dword [0x140186bdc]
jb 0x140051c6e
movaps xmm6, xmm1
jmp 0x140051cbc
movaps xmm0, xmm7
mulss xmm0, dword [0x140186c8c]
cvtps2pd xmm0, xmm0
subsd xmm0, qword [0x140186c38]
mulsd xmm0, qword [0x140186c58]
call fcn.1401208d0
movaps xmm6, xmm0
mulss xmm7, dword [0x140186d80]
cvtps2pd xmm1, xmm7
movsd xmm0, qword [0x140186c50]
call fcn.140108d60
mulsd xmm6, xmm0
addsd xmm6, qword [0x140186c40]
cvtsd2ss xmm6, xmm6
test sil, sil
je 0x140051cda
movss xmm0, dword [rsp + 0xc0]
subss xmm0, xmm8
mulss xmm0, xmm6
addss xmm0, xmm8
jmp 0x140051cf4
movaps xmm0, xmm8
subss xmm0, dword [rsp + 0xc0]
mulss xmm0, xmm6
addss xmm0, dword [rsp + 0xc0]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140016c80
int3