Function at 0x18001b370
Capabilities:
Query environment variable
Terminate process

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
movapd xmmword [rsp + 0xc0], xmm6
mov rdi, rcx
mov rax, qword [0x1800cb028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov eax, dword [0x1800ccf04]
mov ecx, dword [0x1800cb4e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x18001b42b
lea rcx, [0x1800ccf04]
call fcn.180060ac0
cmp dword [0x1800ccf04], 0xffffffff
jne 0x18001b42b
lea rcx, str.MOZ_BASE_PROFILER_VERBOSE_LOGGING
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18001b66f
lea rcx, str.MOZ_BASE_PROFILER_DEBUG_LOGGING
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18001b679
lea rcx, str.MOZ_BASE_PROFILER_LOGGING
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ecx, ecx
test rax, rax
setne cl
lea eax, [rcx + rcx*2]
mov dword [0x1800ccf00], eax
lea rcx, [0x1800ccf04]
call fcn.180060b40
cmp dword [0x1800ccf00], 3
jge 0x18001b5dc
cmp dword [0x1800ccefc], 0
jne 0x18001b44d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1800ccefc], eax
cmp qword [0x1800cd020], 0
jne 0x18001b600
lea rcx, str.MOZ_BASE_PROFILER_HELP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18001b619
mov qword [rsp + 0x90], 0
xorpd xmm6, xmm6
lea rcx, [rsp + 0x78]
movupd xmmword [rcx + 8], xmm6
mov qword [rcx], 8
mov edx, 1
call fcn.18001bd30
test al, al
je 0x18001b626
mov rsi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
lea rbx, str.GeckoMain
mov qword [rsi + r12*8], rbx
inc r12
mov qword [rsp + 0x80], r12
movapd xmmword [rsp + 0x60], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
lea rcx, [0x1800ccfe0]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dword [0x1800cd010], ebp
mov ecx, 0xa0
call sym.mozglue.dll_moz_xmalloc
mov r14, rax
mov rcx, rax
call sym.mozglue.dll_public:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::ProcessCreation_void_
movupd xmmword [r14 + 0x20], xmm6
mov eax, 8
mov qword [r14 + 0x18], rax
movupd xmmword [r14 + 0x38], xmm6
mov qword [r14 + 0x30], rax
movupd xmmword [r14 + 0x50], xmm6
mov qword [r14 + 0x48], rax
xor eax, eax
mov qword [r14 + 0x60], rax
mov qword [r14 + 0x70], rax
mov ecx, 0xf
mov qword [r14 + 0x78], rcx
mov byte [r14 + 0x60], al
mov qword [r14 + 0x80], rax
mov qword [r14 + 0x90], rax
mov qword [r14 + 0x98], rcx
mov byte [r14 + 0x80], al
mov qword [0x1800cd020], r14
mov rcx, rbx
mov rdx, rdi
call fcn.18001bf20
lea rcx, str.MOZ_PROFILER_STARTUP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18001b63f
mov dword [0x1800cd010], 0
lea rcx, [0x1800ccfe0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp rsi, 8
je 0x18001b5a1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x90]
test rcx, rcx
jne 0x18001b665
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.180062020
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d__profiler_init_n
mov edx, eax
mov r8d, esi
call fcn.180084b80
jmp 0x18001b438
lea rax, str.MOZ_RELEASE_ASSERT__CorePS::Exists___
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
call fcn.18008cde0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, str.MOZ_RELEASE_ASSERT_filters.append_kMainThreadName__
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
movzx ecx, byte [rax]
lea edx, [rcx - 0x30]
cmp edx, 0x3e
ja 0x18001b683
movabs r8, 0x4000000040000001
bt r8, rdx
jae 0x18001b683
cmp byte [rax + 1], 0
jne 0x18001b68b
jmp 0x18001b57b
call sym.mozglue.dll__aligned_free
jmp 0x18001b5b2
mov eax, 5
jmp 0x18001b419
mov eax, 4
jmp 0x18001b419
test ecx, ecx
je 0x18001b57b
lea rcx, str.MOZ_PROFILER_STARTUP_NO_BASE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18001b57b
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001b6ce
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d____MOZ_PROFILER_STARTUP_is_set_n
mov edx, eax
mov r8d, edi
call fcn.180084b80
lea rcx, str.MOZ_PROFILER_STARTUP_ENTRIES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edi, 0x4000000
test rax, rax
je 0x18001b6f1
mov rbx, rax
cmp byte [rax], 0
jne 0x18001b833
lea rcx, str.MOZ_PROFILER_STARTUP_DURATION
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18001b70f
mov rbx, rax
cmp byte [rax], 0
jne 0x18001b8a4
lea rcx, str.MOZ_PROFILER_STARTUP_INTERVAL
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
movsd xmm6, qword [0x1800b7278]
test rax, rax
je 0x18001b735
mov rbx, rax
cmp byte [rax], 0
jne 0x18001b9a0
lea rcx, str.MOZ_PROFILER_STARTUP_FEATURES_BITFIELD
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18001b753
mov r14, rax
cmp byte [rax], 0
jne 0x18001ba3b
lea rcx, str.MOZ_PROFILER_STARTUP_FEATURES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov ebx, 0x105104
test rax, rax
jne 0x18001b7ad
lea rcx, str.MOZ_PROFILER_STARTUP_FILTERS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18001b788
mov r14, rax
cmp byte [rax], 0
jne 0x18001baa3
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov ecx, edi
movapd xmm1, xmm6
mov r8d, ebx
mov r9, rsi
call fcn.18008d2e0
jmp 0x18001b57b
lea r8, [rsp + 0x50]
mov qword [r8], 0
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov rdx, rax
call fcn.18008d1b0
mov edx, dword [rbx + 8]
mov r14, qword [rbx]
mov rcx, r14
call fcn.18008ca80
mov ebx, eax
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001b80c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d____MOZ_PROFILER_STARTUP_FEATURES___d_n
mov edx, eax
mov r8d, ebp
mov r9d, ebx
call fcn.180084b80
cmp r14, 8
je 0x18001b81b
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18001b76a
call sym.mozglue.dll__aligned_free
jmp 0x18001b76a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
mov rcx, rbx
xor edx, edx
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
mov r14, rbx
dec r14
movsx eax, byte [r14 + 1]
inc r14
add eax, 0xffffffd0
cmp eax, 0xa
jb 0x18001b858
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
je 0x18001bbbe
cmp rax, 3
je 0x18001bba1
cmp rax, 2
jne 0x18001bd16
movzx eax, word [r14]
cmp eax, 0x424b
jne 0x18001bc44
imul edi, edi, 0x7d
jmp 0x18001bbbe
xor eax, eax
lea r14, [rsp + 0x98]
mov qword [r14], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, r14
mov rdx, rbx
mov r8, rax
call fcn.180003fd0
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, r14
call fcn.18001fee0
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
lea rcx, [rsp + 0x50]
call fcn.1800a1e80
mov rax, qword [r14 + 0x18]
cmp rax, 0x10
jb 0x18001b935
mov rcx, qword [rsp + 0x98]
add rax, 0xfffffffffffff001
cmp rax, 0xffffffffffffefff
ja 0x18001b930
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x18001bd24
mov rcx, rax
call sym.mozglue.dll__aligned_free
cmp byte [rsp + 0x58], 0
je 0x18001bcd9
movsd xmm6, qword [rsp + 0x50]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jb 0x18001bcd9
jbe 0x18001b961
movsd qword [rsp + 0x60], xmm6
mov byte [rsp + 0x68], 1
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001b70f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d____MOZ_PROFILER_STARTUP_DURATION___f_n
mov edx, eax
mov r8d, ebx
movapd xmm3, xmm6
movq r9, xmm6
call fcn.180084b80
jmp 0x18001b70f
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, 0xffffffffffffffff
je 0x18001bcb0
lea r14, [rsp + 0x98]
mov rcx, r14
mov rdx, rax
mov r8, rbx
call fcn.1800a1e80
cmp byte [r14 + 8], 0
je 0x18001bce2
movsd xmm6, qword [rsp + 0x98]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jbe 0x18001bce2
movsd xmm0, qword [0x1800b7230]
ucomisd xmm0, xmm6
jb 0x18001bce2
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001b735
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d____MOZ_PROFILER_STARTUP_INTERVAL___f_n
mov edx, eax
mov r8d, ebx
movapd xmm3, xmm6
movq r9, xmm6
call fcn.180084b80
jmp 0x18001b735
mov r15, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call r15
mov dword [rax], 0
mov rcx, r14
xor edx, edx
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ebx, eax
call r15
cmp dword [rax], 0
jne 0x18001bd01
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001b76a
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d____MOZ_PROFILER_STARTUP_FEATURES_BITFIELD___d_n
mov edx, eax
mov r8d, ebp
mov r9d, ebx
call fcn.180084b80
jmp 0x18001b76a
lea rcx, [rsp + 0x98]
lea r8, [rsp + 0x90]
mov rdx, r14
call fcn.18008d1b0
cmp rsi, 8
je 0x18001baca
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
movupd xmm0, xmmword [rsp + 0xa0]
movupd xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x78], rsi
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001bb21
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d____MOZ_PROFILER_STARTUP_FILTERS___s_n
mov edx, eax
mov r8d, ebp
mov r9, r14
call fcn.180084b80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
mov qword [rsp + 0x30], r12
test rsi, rsi
setne cl
mov edx, 8
cmovne rdx, rsi
mov qword [rsp + 0x38], rdx
cmp r12, 0xffffffffffffffff
setne dl
mov r8, rsi
or r8, r12
je 0x18001bb57
and cl, dl
je 0x18001bcc0
lea rcx, [rsp + 0x30]
mov edx, eax
call sym.mozglue.dll__FiltersExcludePid_detail_profiler_mozilla__YA_NV__Span_QEBD_0_0_3_VBaseProfilerProcessId_baseprofiler_3__Z
test al, al
je 0x18001b788
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001b57b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d______This_process_is_excluded_and_wont_be_profiled_n
mov edx, eax
mov r8d, edi
call fcn.180084b80
jmp 0x18001b57b
movzx eax, word [r14]
xor eax, 0x694b
movzx ecx, byte [r14 + 2]
xor ecx, 0x42
or cx, ax
jne 0x18001bc5a
shl edi, 7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0
jne 0x18001bd0d
test edi, edi
jle 0x18001bd0d
js 0x18001bd0d
mov ecx, 0x10000000
cmp edi, ecx
cmovb ecx, edi
cmp ecx, 0x1000001
mov eax, 0x1000000
cmovae eax, ecx
mov ecx, 0x20
dec eax
je 0x18001bc02
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov edi, 1
shl edi, cl
mov ecx, 3
call fcn.180084ad0
test al, al
je 0x18001b6f1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
lea rcx, str._I__d__d____MOZ_PROFILER_STARTUP_ENTRIES___u_n
mov edx, eax
mov r8d, ebx
mov r9d, edi
call fcn.180084b80
jmp 0x18001b6f1
movzx eax, word [r14]
cmp eax, 0x424d
jne 0x18001bc78
imul edi, edi, 0x1e848
jmp 0x18001bbbe
movzx eax, word [r14]
xor eax, 0x694d
movzx ecx, byte [r14 + 2]
xor ecx, 0x42
or cx, ax
jne 0x18001bc92
shl edi, 0x11
jmp 0x18001bbbe
movzx eax, word [r14]
cmp eax, 0x4247
jne 0x18001bd16
imul edi, edi, 0x7735940
jmp 0x18001bbbe
movzx eax, word [r14]
xor eax, 0x6947
movzx ecx, byte [r14 + 2]
xor ecx, 0x42
or cx, ax
jne 0x18001bd16
shl edi, 0x1b
jmp 0x18001bbbe
lea rax, str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
mov qword [sym.mozglue.dll_gMozCrashReason], rax
jmp 0x18001bcce
lea rax, str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
lea rcx, str.__MOZ_PROFILER_STARTUP_DURATION_not_a_valid_float:__s
jmp 0x18001bce9
lea rcx, str.__MOZ_PROFILER_STARTUP_INTERVAL_not_a_valid_float:__s
mov rdx, rbx
call fcn.180084b80
call fcn.18008cde0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rcx, str.__MOZ_PROFILER_STARTUP_FEATURES_BITFIELD_not_a_valid_integer:__s
mov rdx, r14
jmp 0x18001bcec
lea rcx, str.__MOZ_PROFILER_STARTUP_ENTRIES_not_a_valid_integer:__s
jmp 0x18001bce9
lea rcx, str.__MOZ_PROFILER_STARTUP_ENTRIES_unit_must_be_one_of_the_following:_KB__KiB__MB__MiB__GB__GiB
call fcn.180084b80
jmp 0x18001bcf1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3