Function at 0x18005acf0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1800cb028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x1800cd4d9], 0
je 0x18005af18
mov rax, qword [0x1800cd4d0]
test rax, rax
je 0x18005ad59
mov rax, qword [0x1800cd4d8]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [0x1800cd4c8]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180062020
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.MOZ_APP_RESTART
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18005af4b
mov bpl, byte [0x1800cb100]
test bpl, 1
je 0x18005af89
lea rdi, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [0x1800cd500]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1800cd568]
mov rcx, qword [rdi]
cmp rax, rcx
jg 0x18005adb4
mov qword [0x1800cd568], rcx
mov rax, rcx
imul r14, rax, 0x3e8
lea rcx, [0x1800cd500]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, 1
movabs r15, 0x7fffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rdi, rax
imul rdi, qword [0x1800cb0f8]
call sym.mozglue.dll_private:_static_unsigned_long_long_unsigned___int64____cdecl_mozilla::TimeStamp::ComputeProcessUptime_void_
movq xmm1, rax
punpckldq xmm1, xmmword [0x1800b7200]
subpd xmm1, xmmword [0x1800b7210]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
divsd xmm0, qword [0x1800b7230]
ucomisd xmm0, qword [0x1800b7220]
jae 0x18005ae65
movsd xmm1, qword [0x1800cb0f8]
unpcklps xmm1, xmmword [0x1800b7200]
subpd xmm1, xmmword [0x1800b7210]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
mulsd xmm0, xmm2
ucomisd xmm0, qword [0x1800b7250]
ja 0x18005ae65
movsd xmm1, qword [0x1800b7260]
ucomisd xmm1, xmm0
ja 0x18005af93
cvttsd2si r15, xmm0
mov r8, r14
sub r8, r15
mov rdx, rdi
sub rdx, r15
mov rcx, r8
or rcx, rdx
sete cl
test bpl, 1
cmove r14, rdi
test r15, r15
jle 0x18005ae90
cmp r15, r14
ja 0x18005af9b
movzx r9d, word [rsp + 0x26]
mov word [rsp + 0x2c], r9w
mov r9d, dword [rsp + 0x22]
mov dword [rsp + 0x28], r9d
test bl, bl
sete r10b
mov r9b, byte [0x1800cd4c1]
test r9b, r9b
sete r11b
or r11b, r10b
mov rdi, r8
cmovne rdi, rdx
mov r10, qword [0x1800cd4b0]
mov r11, qword [0x1800cd4b8]
mov r14, r11
cmovne r14, r10
test rax, rax
je 0x18005af24
cmp rdi, r14
ja 0x18005af24
mov qword [0x1800cd4c8], rdx
mov qword [0x1800cd4d0], r8
mov byte [0x1800cd4d8], cl
mov byte [0x1800cd4d9], bl
mov eax, dword [rsp + 0x28]
mov dword [0x1800cd4da], eax
movzx eax, word [rsp + 0x2c]
mov word [0x1800cd4de], ax
jmp 0x18005ad27
mov rax, qword [0x1800cd4c8]
jmp 0x18005ad22
mov cl, byte [0x1800cd4c0]
mov eax, dword [0x1800cd4c2]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1800cd4c6]
mov word [rsp + 0x2c], ax
mov ebx, r9d
mov r8, r11
mov rdx, r10
jmp 0x18005aee3
cmp byte [rax], 0
je 0x18005ad6f
mov rdx, qword [0x1800cd4b0]
mov r8, qword [0x1800cd4b8]
mov cl, byte [0x1800cd4c0]
mov bl, byte [0x1800cd4c1]
mov eax, dword [0x1800cd4c2]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1800cd4c6]
mov word [rsp + 0x2c], ax
jmp 0x18005aee3
xor ebx, ebx
xor r14d, r14d
jmp 0x18005adca
inc r15
jmp 0x18005ae65
mov cl, 1
xor edx, edx
xor r8d, r8d
mov bl, 1
jmp 0x18005ae90