Function at 0x1800541a0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rsp + 0x60], xmm8
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm6
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rax, qword [str.LoadLibraryA]
xor rax, rsp
mov qword [rsp + 0x38], rax
movabs r15, 0x7fffffffffffffff
movabs r14, 0x8000000000000000
cmp rdx, r15
je 0x18005420e
cmp rdx, r14
jne 0x180054219
movsd xmm8, qword [0x180093288]
jmp 0x18005422f
movsd xmm8, qword [0x180093280]
jmp 0x18005422f
mov rcx, rdx
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movapd xmm8, xmm0
mulsd xmm8, qword [0x180093290]
mulsd xmm8, qword [0x180093290]
movsd xmm0, qword [rsi + 0x70]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x180054277
jp 0x180054277
movsd qword [rsi + 0x70], xmm8
movsd qword [rsi + 0x78], xmm8
movsd xmm6, qword [0x180093280]
movapd xmm9, xmm6
cmp rbx, r15
je 0x1800542db
cmp rbx, r14
jne 0x1800542c5
movsd xmm9, qword [0x180093288]
jmp 0x1800542db
movapd xmm0, xmm8
subsd xmm0, qword [rsi + 0x78]
inc dword [rsi + 0x80]
movsd xmm1, qword [rsi + 0x88]
addsd xmm1, xmm0
movsd qword [rsi + 0x88], xmm1
movsd xmm1, qword [rsi + 0x90]
ucomisd xmm1, xmm0
jbe 0x1800542b1
movsd qword [rsi + 0x90], xmm0
ucomisd xmm0, qword [rsi + 0x98]
jbe 0x18005424f
movsd qword [rsi + 0x98], xmm0
jmp 0x18005424f
mov rcx, rbx
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movapd xmm9, xmm0
mulsd xmm9, qword [0x180093290]
mov rbx, qword [rsp + 0xe0]
movapd xmm7, xmm6
cmp rdi, r15
je 0x18005430f
cmp rdi, r14
jne 0x1800542fb
movsd xmm7, qword [0x180093288]
jmp 0x18005430f
mov rcx, rdi
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movapd xmm7, xmm0
mulsd xmm7, qword [0x180093290]
mov rdi, qword [rsp + 0xe8]
movapd xmm10, xmm6
cmp rbx, r15
je 0x180054350
cmp rbx, r14
jne 0x180054331
movsd xmm10, qword [0x180093288]
jmp 0x180054350
mov rcx, rbx
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movapd xmm10, xmm0
movsd xmm0, qword [0x180093290]
mulsd xmm10, xmm0
mulsd xmm10, xmm0
mulsd xmm9, qword [0x180093290]
mulsd xmm7, qword [0x180093290]
cmp rdi, r15
je 0x180054391
cmp rdi, r14
jne 0x180054375
movsd xmm6, qword [0x180093288]
jmp 0x180054391
mov rcx, rdi
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movapd xmm6, xmm0
movsd xmm0, qword [0x180093290]
mulsd xmm6, xmm0
mulsd xmm6, xmm0
movapd xmm0, xmm9
addsd xmm0, xmm7
inc dword [rsi + 0xa0]
addsd xmm0, xmm10
addsd xmm0, xmm6
movsd xmm1, qword [rsi + 0xa8]
addsd xmm1, xmm0
movsd qword [rsi + 0xa8], xmm1
movsd xmm1, qword [rsi + 0xb0]
ucomisd xmm1, xmm0
jbe 0x1800543d3
movsd qword [rsi + 0xb0], xmm0
ucomisd xmm0, qword [rsi + 0xb8]
jbe 0x1800543e5
movsd qword [rsi + 0xb8], xmm0
inc dword [rsi + 0xc0]
movsd xmm0, qword [rsi + 0xc8]
addsd xmm0, xmm9
movsd qword [rsi + 0xc8], xmm0
movsd xmm0, qword [rsi + 0xd0]
ucomisd xmm0, xmm9
jbe 0x180054418
movsd qword [rsi + 0xd0], xmm9
ucomisd xmm9, qword [rsi + 0xd8]
jbe 0x18005442c
movsd qword [rsi + 0xd8], xmm9
inc dword [rsi + 0xe0]
movsd xmm0, qword [rsi + 0xe8]
addsd xmm0, xmm7
movsd qword [rsi + 0xe8], xmm0
movsd xmm0, qword [rsi + 0xf0]
ucomisd xmm0, xmm7
jbe 0x18005445c
movsd qword [rsi + 0xf0], xmm7
ucomisd xmm7, qword [rsi + 0xf8]
jbe 0x18005446e
movsd qword [rsi + 0xf8], xmm7
inc dword [rsi + 0x100]
movsd xmm0, qword [rsi + 0x108]
addsd xmm0, xmm10
movsd qword [rsi + 0x108], xmm0
movsd xmm0, qword [rsi + 0x110]
ucomisd xmm0, xmm10
jbe 0x1800544a1
movsd qword [rsi + 0x110], xmm10
ucomisd xmm10, qword [rsi + 0x118]
jbe 0x1800544b5
movsd qword [rsi + 0x118], xmm10
inc dword [rsi + 0x120]
movsd xmm0, qword [rsi + 0x128]
addsd xmm0, xmm6
movsd qword [rsi + 0x128], xmm0
movsd xmm0, qword [rsi + 0x130]
ucomisd xmm0, xmm6
jbe 0x1800544e5
movsd qword [rsi + 0x130], xmm6
ucomisd xmm6, qword [rsi + 0x138]
jbe 0x1800544f7
movsd qword [rsi + 0x138], xmm6
mov eax, dword [0x1800a6750]
mov ecx, dword [0x1800a64f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1800545f4
cmp byte [0x1800a674c], 0
jne 0x180054560
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18004bde0
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdi, [rsp + 0x28]
mov byte [rdi], 0x19
movsd qword [rdi + 1], xmm8
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
mov r8, rdi
call fcn.180053e90
mov bl, 0x1a
mov byte [rdi], bl
movsd qword [rdi + 1], xmm9
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
lea rdi, [rsp + 0x28]
mov r8, rdi
call fcn.180053e90
mov byte [rdi], bl
movsd qword [rdi + 1], xmm7
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
lea rdi, [rsp + 0x28]
mov r8, rdi
call fcn.180053e90
mov byte [rdi], bl
movsd qword [rdi + 1], xmm10
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
lea rdi, [rsp + 0x28]
mov r8, rdi
call fcn.180053e90
mov byte [rdi], bl
movsd qword [rdi + 1], xmm6
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
lea r8, [rsp + 0x28]
call fcn.180053e90
jmp 0x180054525
lea rcx, [0x1800a6750]
call fcn.18004a800
cmp dword [0x1800a6750], 0xffffffff
jne 0x18005451c
lea rcx, str.MOZ_PROFILER_RECORD_OVERHEADS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18005463c
cmp byte [rax], 0
setne al
mov byte [0x1800a674c], al
lea rcx, [0x1800a6750]
call fcn.18004a7a0
jmp 0x18005451c
xor eax, eax
jmp 0x180054625