Function at 0x1400af990
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
sub rsp, 0x160
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm9
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14015f0c8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x140170e98], eax
jle 0x1400afa4b
lea rcx, [0x140170e98]
call fcn.1400ceb88
cmp dword [0x140170e98], 0xffffffff
jne 0x1400afa4b
mov eax, 0x8c86dfe9
mov qword [rbp + 0x10], rax
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x18]
call fcn.14000a8c0
mov rcx, qword [rax]
add rcx, 0x18
mov qword [rbp + 8], 0x6d279c31
lea r8, [rbp + 8]
lea rdx, [rbp + 0x30]
call fcn.14000a650
mov rdx, qword [rax]
mov eax, dword [rdx + 0x18]
mov dword [0x140170f48], eax
lea rcx, [0x140170e98]
call fcn.1400ceb1c
mov ecx, dword [0x140170f48]
add rcx, rbx
call fcn.1400095a0
cmp eax, 0xffffffff
je 0x1400afced
mov rcx, rbx
call fcn.1400ad0e0
test al, al
je 0x1400afced
mov rcx, rbx
call fcn.1400ad180
subss xmm0, dword [rdi + 0x30]
movss xmm6, dword [0x1401497ac]
minss xmm6, xmm0
xorps xmm9, xmm9
comiss xmm9, xmm6
ja 0x1400afced
movabs rax, 0x41f056c655196edb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x87cfd25ae035b6cd
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rdx, 0x87593a3cdfc4bfe5
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rcx, 0x4c5cd531081ebe1e
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x619433b23b78028b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xe1fefc7fc00fd8a4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x40], ymm1
vcvtps2pd xmm2, xmm6
vmovq r8, xmm2
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
vzeroupper
call fcn.1400b2920
mov rdi, qword [0x140161300]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1401498c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1401498b4]
movss xmm2, dword [rdi + 0x3c00]
lea rdx, [rbp + 0x30]
mov rcx, qword [rdi + 0x3bf8]
call fcn.14004f5a0
movss xmm0, dword [rbp + 0x30]
addss xmm0, dword [0x140149748]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
divss xmm6, dword [0x1401497ac]
movaps xmm0, xmm6
mulss xmm0, dword [rdi + 0x10]
mulss xmm0, dword [0x1401496e0]
cvttss2si ebx, xmm0
mov rax, qword [rdi + 0x4878]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.14002cd30
mov rdi, rax
movss xmm0, dword [0x14014986c]
mulss xmm6, xmm0
subss xmm0, xmm6
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1401496c4]
movss dword [rbp + 0x18], xmm0
cvttss2si ecx, xmm6
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1401496c4]
movss dword [rbp + 0x1c], xmm0
mov dword [rbp + 0x20], 0x3b808081
mov dword [rbp + 0x24], 0x3f6bebed
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
movss dword [rbp + 0x28], xmm6
mov dword [rbp + 0x2c], 0x41200000
mov qword [rbp + 8], 0
lea rcx, [rbp + 0x18]
call fcn.140027f30
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
lea r8, [rbp + 0x28]
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.14004b870
movaps xmm0, xmmword [0x140149bf0]
movups xmmword [rbp + 0x18], xmm0
movaps xmm1, xmmword [0x140149c50]
movups xmmword [rbp + 0x30], xmm1
subss xmm6, xmm7
movss dword [rbp + 0x10], xmm6
mov dword [rbp + 0x14], 0x41200000
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x10]
movss xmm1, dword [0x140149818]
mov rcx, qword [0x140161460]
call fcn.1400ad370
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400ceac0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm9, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret