Function at 0x140076120
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword gs:[0x58]
movaps xmmword [rsp + 0x70], xmm6
mov edi, 4
movaps xmmword [rsp + 0x60], xmm7
mov rbx, qword [rax]
movaps xmmword [rsp + 0x50], xmm8
mov qword [rbp - 0x50], rcx
mov eax, dword [rdi + rbx]
cmp dword [0x140283f70], eax
jle 0x14007619d
lea rcx, [0x140283f70]
call fcn.1400e997c
cmp dword [0x140283f70], 0xffffffff
jne 0x14007619d
movaps xmm0, xmmword [0x14010de80]
lea rcx, [0x140283f70]
movups xmmword [0x1402842a8], xmm0
call fcn.1400e991c
mov eax, dword [rdi + rbx]
cmp dword [0x1402842a0], eax
jle 0x1400761d7
lea rcx, [0x1402842a0]
call fcn.1400e997c
cmp dword [0x1402842a0], 0xffffffff
jne 0x1400761d7
movaps xmm0, xmmword [0x14010dc80]
lea rcx, [0x1402842a0]
movups xmmword [0x140283c40], xmm0
call fcn.1400e991c
mov rax, qword [0x140282e30]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
call fcn.14001e900
mov r14, qword [0x140282e30]
mov rsi, rax
movss xmm8, dword [0x14010d844]
movss xmm7, dword [0x14010d6ec]
movsd xmm0, qword [r14 + 0x3e48]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm8
mulss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movss xmm3, dword [0x14010d734]
mov eax, dword [0x140282ed4]
addss xmm0, xmm3
movss xmm1, dword [0x14010d858]
movss xmm2, dword [r14 + 0x18]
mulss xmm0, dword [0x14010d6e4]
mulss xmm0, xmm7
addss xmm0, dword [0x14010d6e4]
movss dword [0x140283204], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, dword [0x1402831e4]
comiss xmm0, xmm8
movss dword [0x1402831e4], xmm0
jb 0x1400762a5
subss xmm0, xmm8
inc eax
mov dword [0x140282ed4], eax
movss dword [0x1402831e4], xmm0
cmp eax, 8
jl 0x1400762be
movss xmm0, dword [0x140281ae0]
subss xmm0, xmm2
movss dword [0x140281ae0], xmm0
xorps xmm6, xmm6
comiss xmm6, dword [0x140281ae0]
jbe 0x1400762d4
mov dword [0x140281ae0], 0
movss xmm4, dword [0x140281aec]
cmp eax, 5
jg 0x1400762eb
movss xmm2, dword [0x14010d8ec]
jmp 0x14007630c
cmp eax, 8
jge 0x1400762fa
movss xmm2, dword [0x14010d8d4]
jmp 0x14007630c
cmp eax, 7
jl 0x140076309
movss xmm2, dword [0x14010d8fc]
jmp 0x14007630c
xorps xmm2, xmm2
subss xmm2, dword [0x140281ae4]
mulss xmm2, xmm4
addss xmm2, dword [0x140281ae4]
movss dword [0x140281ae4], xmm2
cmp eax, 8
jle 0x140076330
xorps xmm1, xmm1
subss xmm1, dword [0x140281ae8]
lea ecx, [rax - 5]
mulss xmm1, xmm4
addss xmm1, dword [0x140281ae8]
movss dword [0x140281ae8], xmm1
cmp ecx, 2
ja 0x140076359
movaps xmm1, xmm3
jmp 0x14007635c
xorps xmm1, xmm1
subss xmm1, dword [0x140283208]
mulss xmm1, xmm4
addss xmm1, dword [0x140283208]
movss dword [0x140283208], xmm1
cmp eax, 5
jge 0x140076382
movaps xmm1, xmm3
jmp 0x140076385
xorps xmm1, xmm1
subss xmm1, dword [0x1402831f8]
mulss xmm1, xmm4
addss xmm1, dword [0x1402831f8]
movss dword [0x1402831f8], xmm1
cmp ecx, 2
jbe 0x1400763a9
xorps xmm3, xmm3
subss xmm3, dword [0x1402831fc]
mov rbx, qword [rbp - 0x50]
xor r15d, r15d
comiss xmm7, xmm2
mov dword [rsi + 0x78], r15d
mulss xmm3, xmm4
addss xmm3, dword [0x1402831fc]
movss dword [0x1402831fc], xmm3
jbe 0x140076407
mov eax, r15d
cmp dword [rsi + 0x7c], eax
jne 0x1400763f4
lea edx, [r15 + 8]
lea rcx, [rsi + 0x78]
call fcn.140032840
mov eax, dword [rsi + 0x78]
mov r14, qword [0x140282e30]
movsxd rcx, eax
mov rax, qword [rsi + 0x80]
mov qword [rax + rcx*8], rbx
inc dword [rsi + 0x78]
jmp 0x14007642c
mov dword [rsp + Ordinal_45], 0x28
lea rdx, [rbp - 0x50]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm8
mov rcx, rsi
call fcn.14003ca50
mov r14, qword [0x140282e30]
movss xmm1, dword [0x140283aa4]
lea rcx, [rbp - 0x48]
movss xmm0, dword [0x140283aa0]
mov r8d, dword [rsi + 0x78]
movss dword [rbp - 0x44], xmm1
movss xmm1, dword [0x140283aac]
mulss xmm1, dword [r14 + 0x37e0]
movss dword [rbp - 0x48], xmm0
movss xmm0, dword [0x140283aa8]
movss dword [rbp - 0x3c], xmm1
movss dword [rbp - 0x40], xmm0
call fcn.14001b330
movss xmm8, dword [0x14010d688]
xorps xmm0, xmm0
movzx ecx, al
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsi2ss xmm2, rcx
mov ecx, eax
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx ecx, cl
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, rcx
lea rcx, [rbp - 0x48]
mulss xmm2, xmm8
mulss xmm0, xmm8
mulss xmm1, xmm8
movss dword [rbp - 0x40], xmm0
movss xmm0, dword [0x140281ae0]
divss xmm0, dword [0x14010d7c8]
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x3c], xmm0
movss dword [rbp - 0x44], xmm1
call fcn.14001b330
movss xmm0, dword [0x140281ae8]
mov r9d, eax
mov rdx, qword [rsi + 0x80]
mov rcx, rsi
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r15d
call fcn.14003b2d0
movss xmm3, dword [0x1402831e4]
movss xmm2, dword [0x140281ae4]
movaps xmm0, xmm3
comiss xmm7, xmm2
mov dword [rsi + 0x78], r15d
addss xmm0, dword [0x14010d830]
addss xmm3, dword [0x14010d814]
jbe 0x140076561
mov eax, r15d
cmp dword [rsi + 0x7c], eax
jne 0x14007654e
mov edx, 8
lea rcx, [rsi + 0x78]
call fcn.140032840
mov eax, dword [rsi + 0x78]
movsxd rcx, eax
mov rax, qword [rsi + 0x80]
mov qword [rax + rcx*8], rbx
inc dword [rsi + 0x78]
jmp 0x14007657b
mov dword [rsp + Ordinal_45], 0x28
lea rdx, [rbp - 0x50]
mov rcx, rsi
movss dword [rsp + 0x20], xmm0
call fcn.14003ca50
movss xmm1, dword [0x140283344]
lea rcx, [rbp - 0x48]
movss xmm0, dword [0x140283340]
mov rax, qword [0x140282e30]
mov r8d, dword [rsi + 0x78]
movss dword [rbp - 0x44], xmm1
movss xmm1, dword [0x14028334c]
mulss xmm1, dword [rax + 0x37e0]
movss dword [rbp - 0x48], xmm0
movss xmm0, dword [0x140283348]
movss dword [rbp - 0x3c], xmm1
movss dword [rbp - 0x40], xmm0
call fcn.14001b330
movzx ecx, al
xorps xmm0, xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsi2ss xmm2, rcx
mov ecx, eax
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx ecx, cl
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, rcx
lea rcx, [rbp - 0x48]
mulss xmm2, xmm8
mulss xmm0, xmm8
mulss xmm1, xmm8
movss dword [rbp - 0x40], xmm0
movss xmm0, dword [0x140281ae0]
mulss xmm0, dword [0x140283204]
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x44], xmm1
movss dword [rbp - 0x3c], xmm0
call fcn.14001b330
movss xmm0, dword [0x140281ae8]
mov r9d, eax
mov rdx, qword [rsi + 0x80]
mov rcx, rsi
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r15d
call fcn.14003b2d0
mov rax, qword [0x140282e30]
lea rcx, [rbp - 0x48]
mov dword [rsi + 0x78], r15d
movss xmm1, dword [0x140283344]
movss xmm0, dword [0x140283340]
movss dword [rbp - 0x44], xmm1
movss xmm1, dword [0x14028334c]
mulss xmm1, dword [rax + 0x37e0]
movss dword [rbp - 0x48], xmm0
movss xmm0, dword [0x140283348]
movss dword [rbp - 0x3c], xmm1
movss dword [rbp - 0x40], xmm0
call fcn.14001b330
movzx ecx, al
xorps xmm0, xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsi2ss xmm2, rcx
mov ecx, eax
shr eax, 0x10
shr ecx, 8
movzx eax, al
movzx ecx, cl
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, rcx
lea rcx, [rbp - 0x48]
mulss xmm2, xmm8
mulss xmm0, xmm8
mulss xmm1, xmm8
movss dword [rbp - 0x40], xmm0
movss xmm0, dword [0x140283208]
movss dword [rbp - 0x3c], xmm0
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x44], xmm1
call fcn.14001b330
movss xmm2, dword [0x140281ae8]
mov ebx, eax
mulss xmm2, xmm7
addss xmm2, dword [0x140281ae4]
test eax, 0xff000000
je 0x14007675c
comiss xmm7, xmm2
ja 0x14007675c
xor r9d, r9d
mov dword [rsp + 0x20], Ordinal_50
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14003c770
mov r8d, dword [rsi + 0x78]
mov r9d, ebx
mov rdx, qword [rsi + 0x80]
dec r8d
mov rcx, rsi
mov dword [rsi + 0x78], r8d
call fcn.14003c1d0
mov dword [rsi + 0x78], r15d
comiss xmm6, dword [0x140281ae0]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [r11 - 0x30]
setae al
mov rsp, r11
pop r15
pop r14
pop rbp
ret