Function at 0x18001a3e0
Capabilities:
Query environment variable
Terminate process

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe0
movdqa xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
mov rax, qword [str.LoadLibraryA]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov eax, dword [0x1800a7ee4]
mov ecx, dword [0x1800a64f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x18001a497
lea rcx, [0x1800a7ee4]
call fcn.18004a800
cmp dword [0x1800a7ee4], 0xffffffff
jne 0x18001a497
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 0x18001a6cf
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 0x18001a6d9
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 [0x1800a7ee0], eax
lea rcx, [0x1800a7ee4]
call fcn.18004a7a0
cmp dword [0x1800a7ee0], 3
jge 0x18001a63c
cmp dword [0x1800a7edc], 0
jne 0x18001a4b9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1800a7edc], eax
cmp qword [0x1800a8000], 0
jne 0x18001a660
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 0x18001a679
mov qword [rsp + 0xa0], 0
pxor xmm6, xmm6
lea rcx, [rsp + 0x88]
movdqu xmmword [rcx + 8], xmm6
mov qword [rcx], 8
mov edx, 1
call fcn.18001ad80
test al, al
je 0x18001a686
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
lea rdi, str.GeckoMain
mov qword [rax + rcx*8], rdi
inc qword [rsp + 0x90]
movdqa xmmword [rsp + 0x70], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
lea rcx, [0x1800a7fc0]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dword [0x1800a7ff0], ebx
mov ecx, 0xa0
call sym.mozglue.dll_moz_xmalloc
mov rbx, rax
mov rcx, rax
call sym.mozglue.dll_public:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::ProcessCreation_void_
movdqu xmmword [rbx + 0x20], xmm6
mov eax, 8
mov qword [rbx + 0x18], rax
movdqu xmmword [rbx + 0x38], xmm6
mov qword [rbx + 0x30], rax
movdqu xmmword [rbx + 0x50], xmm6
mov qword [rbx + 0x48], rax
xor eax, eax
mov qword [rbx + 0x70], rax
mov ecx, 0xf
mov qword [rbx + 0x78], rcx
mov byte [rbx + 0x60], al
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rcx
mov byte [rbx + 0x80], al
mov qword [0x1800a8000], rbx
mov rcx, rdi
mov rdx, rsi
call fcn.18001ae30
lea rcx, str.MOZ_PROFILER_STARTUP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18001a69f
mov dword [0x1800a7ff0], 0
lea rcx, [0x1800a7fc0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x88]
cmp rcx, 8
je 0x18001a605
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
jne 0x18001a6c5
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.18004bde0
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
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__profiler_init_n
mov edx, eax
mov r8d, edi
call fcn.180058ea0
jmp 0x18001a4a4
lea rax, str.MOZ_RELEASE_ASSERT__CorePS::Exists___
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
call fcn.18005d120
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 0x18001a6e3
movabs rbp, 0x4000000040000001
bt rbp, rdx
jae 0x18001a6e3
cmp byte [rax + 1], 0
jne 0x18001a6eb
jmp 0x18001a5da
call sym.mozglue.dll__aligned_free
jmp 0x18001a616
mov eax, 5
jmp 0x18001a485
mov eax, 4
jmp 0x18001a485
test ecx, ecx
je 0x18001a5da
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 0x18001a5da
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001a72e
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____MOZ_PROFILER_STARTUP_is_set_n
mov edx, eax
mov r8d, esi
call fcn.180058ea0
lea rcx, str.MOZ_PROFILER_STARTUP_ENTRIES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r14d, 0x4000000
test rax, rax
je 0x18001a752
mov rdi, rax
cmp byte [rax], 0
jne 0x18001a8a2
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 0x18001a770
mov rdi, rax
cmp byte [rax], 0
jne 0x18001a911
lea rcx, str.MOZ_PROFILER_STARTUP_INTERVAL
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
movsd xmm6, qword [0x1800932b0]
test rax, rax
je 0x18001a796
mov rdi, rax
cmp byte [rax], 0
jne 0x18001a9da
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 0x18001a7b4
mov rbx, rax
cmp byte [rax], 0
jne 0x18001aa7d
lea rcx, str.MOZ_PROFILER_STARTUP_FEATURES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edi, 0x20a104
test rax, rax
jne 0x18001a81a
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 0x18001a7e9
mov rbx, rax
cmp byte [rax], 0
jne 0x18001aae3
mov eax, dword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov ecx, r14d
movapd xmm1, xmm6
mov r8d, edi
call fcn.18005d620
jmp 0x18001a5da
lea r8, [rsp + 0x60]
mov qword [r8], 0
lea rsi, [rsp + 0xa8]
mov rcx, rsi
mov rdx, rax
call fcn.18005d4f0
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
call fcn.18005cdc0
mov edi, eax
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001a876
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____MOZ_PROFILER_STARTUP_FEATURES___d_n
mov edx, eax
mov r8d, esi
mov r9d, edi
call fcn.180058ea0
mov rcx, qword [rsp + 0xa8]
cmp rcx, 8
je 0x18001a88a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18001a7cb
call sym.mozglue.dll__aligned_free
jmp 0x18001a7cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
mov rcx, rdi
xor edx, edx
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov esi, eax
mov rbx, rdi
dec rbx
movsx eax, byte [rbx + 1]
inc rbx
add eax, 0xffffffd0
cmp eax, 0xa
jb 0x18001a8c7
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
je 0x18001ac09
cmp rax, 3
je 0x18001abee
cmp rax, 2
jne 0x18001ad66
movzx eax, word [rbx]
cmp eax, 0x424b
jne 0x18001ac91
imul esi, esi, 0x7d
jmp 0x18001ac09
lea rbx, [rsp + 0xa8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, rbx
mov rdx, rdi
call fcn.180003b40
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.18001eff0
lea rbp, [rsp + 0x60]
mov rcx, rbp
mov rdx, rsi
call fcn.18007e6b0
mov rcx, rbx
call fcn.1800258f0
cmp byte [rbp + 8], 0
je 0x18001ad29
movsd xmm0, qword [rsp + 0x60]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jb 0x18001ad29
jbe 0x18001a98a
movsd qword [rsp + 0x70], xmm0
mov byte [rsp + 0x78], 1
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001a770
cmp byte [rsp + 0x68], 0
je 0x18001ad10
movq xmm6, qword [rsp + 0x60]
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, [0x180099e02]
mov edx, eax
mov r8d, esi
movdqa xmm3, xmm6
movq r9, xmm6
call fcn.180058ea0
jmp 0x18001a770
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
cmp rax, 0xffffffffffffffff
je 0x18001acf7
lea rsi, [rsp + 0xa8]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.18007e6b0
cmp byte [rsi + 8], 0
je 0x18001ad32
movsd xmm6, qword [rsp + 0xa8]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jbe 0x18001ad32
movsd xmm0, qword [0x180093290]
ucomisd xmm0, xmm6
jb 0x18001ad32
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001a796
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____MOZ_PROFILER_STARTUP_INTERVAL___f_n
mov edx, eax
mov r8d, esi
movapd xmm3, xmm6
movq r9, xmm6
call fcn.180058ea0
jmp 0x18001a796
mov rsi, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call rsi
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
call rsi
cmp dword [rax], 0
jne 0x18001ad51
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001a7cb
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____MOZ_PROFILER_STARTUP_FEATURES_BITFIELD___d_n
mov edx, eax
mov r8d, esi
mov r9d, edi
call fcn.180058ea0
jmp 0x18001a7cb
lea rcx, [rsp + 0xa8]
lea r8, [rsp + 0xa0]
mov rdx, rbx
call fcn.18005d4f0
mov rcx, qword [rsp + 0x88]
cmp rcx, 8
je 0x18001ab0f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rax
movupd xmm0, xmmword [rsp + 0xa8]
movupd xmmword [rsp + 0x88], xmm0
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001ab61
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____MOZ_PROFILER_STARTUP_FILTERS___s_n
mov edx, eax
mov r8d, esi
mov r9, rbx
call fcn.180058ea0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0x30], rbx
test rbp, rbp
setne cl
mov edx, 8
cmovne rdx, rbp
mov qword [rsp + 0x38], rdx
cmp rbx, 0xffffffffffffffff
setne dl
or rbp, rbx
je 0x18001aba4
and cl, dl
je 0x18001acf7
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 0x18001a7e9
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001a5da
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______This_process_is_excluded_and_wont_be_profiled_n
mov edx, eax
mov r8d, esi
call fcn.180058ea0
jmp 0x18001a5da
movzx eax, word [rbx]
xor eax, 0x694b
movzx ecx, byte [rbx + 2]
xor ecx, 0x42
or cx, ax
jne 0x18001aca6
shl esi, 7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0
jne 0x18001ad5d
test esi, esi
jle 0x18001ad5d
js 0x18001ad5d
mov ecx, 0x10000000
cmp esi, ecx
cmovb ecx, esi
cmp ecx, 0x20001
mov eax, 0x20000
cmovae eax, ecx
mov ecx, 0x20
dec eax
je 0x18001ac4d
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov r14d, 1
shl r14d, cl
mov ecx, 3
call fcn.180058df0
test al, al
je 0x18001a752
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_ENTRIES___u_n
mov edx, eax
mov r8d, edi
mov r9d, r14d
call fcn.180058ea0
jmp 0x18001a752
movzx eax, word [rbx]
cmp eax, 0x424d
jne 0x18001acc2
imul esi, esi, 0x1e848
jmp 0x18001ac09
movzx eax, word [rbx]
xor eax, 0x694d
movzx ecx, byte [rbx + 2]
xor ecx, 0x42
or cx, ax
jne 0x18001acdb
shl esi, 0x11
jmp 0x18001ac09
movzx eax, word [rbx]
cmp eax, 0x4247
jne 0x18001ad66
imul esi, esi, 0x7735940
jmp 0x18001ac09
movzx eax, word [rbx]
xor eax, 0x6947
movzx ecx, byte [rbx + 2]
xor ecx, 0x42
or cx, ax
jne 0x18001ad66
shl esi, 0x1b
jmp 0x18001ac09
lea rax, str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
lea rax, str.MOZ_RELEASE_ASSERT_isSome___
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
lea rcx, str.__MOZ_PROFILER_STARTUP_DURATION_not_a_valid_float:__s
jmp 0x18001ad39
lea rcx, str.__MOZ_PROFILER_STARTUP_INTERVAL_not_a_valid_float:__s
mov rdx, rdi
call fcn.180058ea0
call fcn.18005d120
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, rbx
jmp 0x18001ad3c
lea rcx, str.__MOZ_PROFILER_STARTUP_ENTRIES_not_a_valid_integer:__s
jmp 0x18001ad39
lea rcx, str.__MOZ_PROFILER_STARTUP_ENTRIES_unit_must_be_one_of_the_following:_KB__KiB__MB__MiB__GB__GiB
call fcn.180058ea0
jmp 0x18001ad41