Function at 0x100267a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [0x1007a00c]
xor eax, ebp
mov dword [esp + 0x68], eax
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007b4d8]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x10026840
push 0x1007b4d8
call fcn.10069281
add esp, 4
cmp dword [0x1007b4d8], 0xffffffff
jne 0x10026840
push str.MOZ_BASE_PROFILER_VERBOSE_LOGGING
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x10026aa6
push str.MOZ_BASE_PROFILER_DEBUG_LOGGING
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x10026ab0
push str.MOZ_BASE_PROFILER_LOGGING
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
mov dword [0x1007b4d4], eax
push 0x1007b4d8
call fcn.10069281
add esp, 4
cmp dword [0x1007b4d4], 3
jge 0x10026a2e
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp dword [0x1007b500], 0
mov dword [sym.mozglue.dll_int_mozilla::baseprofiler::scProfilerMainThreadId], eax
jne 0x10026a50
push str.MOZ_BASE_PROFILER_HELP
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x10026a61
xor ebx, ebx
lea ecx, [esp + 0x40]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [esp + 0x4c], ebx
mov dword [ecx], 4
push 1
call fcn.10037010
test al, al
je 0x10026a6d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
xorpd xmm0, xmm0
mov dword [eax + ecx*4], str.GeckoMain
inc dword [esp + 0x44]
movapd xmmword [esp + 0x30], xmm0
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov edi, eax
push 0x1007b4e0
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov dword [0x1007b4f8], edi
push 0xf0
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov edi, eax
push ebx
push eax
call sym.mozglue.dll_public:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::ProcessCreation_bool__
add esp, 8
mov esi, dword [sym.imp.kernel32.dll_InitializeSRWLock]
lea eax, [edi + 0x18]
push eax
call esi
lea eax, [edi + 0x30]
mov byte [edi + 0x50], bl
push eax
call esi
mov edx, dword [ebp + 8]
xor esi, esi
mov eax, 4
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov byte [edi + 0x50], 1
mov ecx, str.GeckoMain
mov dword [edi + 0x58], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x6c], ebx
mov dword [0x1007b500], edi
inc esi
mov dword [edi + 0x68], esi
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], esi
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x78], esi
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x98], eax
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], ebx
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xb0], eax
mov eax, 0xf
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], eax
mov byte [edi + 0xbc], bl
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], eax
mov byte [edi + 0xd4], bl
call fcn.10027290
push str.MOZ_PROFILER_STARTUP
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x10026a82
mov dword [0x1007b4f8], 0
push 0x1007b4e0
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x40]
cmp eax, 4
je 0x10026a0b
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], 0
test eax, eax
jne 0x10026a98
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.10069260
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
push esi
push eax
push str._I__d__d__profiler_init_n
call fcn.10022e80
add esp, 0xc
jmp 0x1002684d
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__CorePS::Exists___
mov ecx, 0xa25
jmp 0x10026a7c
xor ecx, ecx
call fcn.10027020
jmp 0x1002687b
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_filters.append_kMainThreadName__
mov ecx, 0xa32
int3
mov cl, byte [eax]
cmp cl, 0x4d
jg 0x10026aba
test cl, cl
je 0x100269e3
cmp cl, 0x30
je 0x10026ac4
jmp 0x10026ace
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10026a1b
mov eax, 5
jmp 0x1002682e
mov eax, 4
jmp 0x1002682e
cmp cl, 0x6e
je 0x10026ac4
cmp cl, 0x4e
jne 0x10026ace
cmp byte [eax + 1], 0
je 0x100269e3
push str.MOZ_PROFILER_STARTUP_NO_BASE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x100269e3
mov ecx, 3
call fcn.10022dd0
test al, al
je 0x10026b0f
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
push edi
push eax
push str._I__d__d____MOZ_PROFILER_STARTUP_is_set_n
call fcn.10022e80
add esp, 0xc
push str.MOZ_PROFILER_STARTUP_ENTRIES
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
mov dword [esp + 0xc], 0x400000
je 0x10026b34
cmp byte [eax], 0
mov edi, eax
jne 0x10026bfa
push str.MOZ_PROFILER_STARTUP_DURATION
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10026b51
cmp byte [eax], 0
mov edi, eax
jne 0x10026c85
push str.MOZ_PROFILER_STARTUP_INTERVAL
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
movsd xmm0, qword [0x1006bd18]
test eax, eax
movsd qword [esp], xmm0
je 0x10026b7b
cmp byte [eax], 0
mov edi, eax
jne 0x10026d08
push str.MOZ_PROFILER_STARTUP_FEATURES_BITFIELD
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10026b98
cmp byte [eax], 0
mov ebx, eax
jne 0x10026d72
push str.MOZ_PROFILER_STARTUP_FEATURES
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov edi, 0x80a0c
test eax, eax
je 0x10026bb8
cmp byte [eax], 0
jne 0x10026e25
push str.MOZ_PROFILER_STARTUP_FILTERS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10026bd5
cmp byte [eax], 0
mov ebx, eax
jne 0x10026dd5
mov ecx, dword [esp + 0xc]
movsd xmm0, qword [esp]
lea eax, [esp + 0x30]
mov edx, edi
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.10027650
add esp, 0xc
jmp 0x100269e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor ecx, ecx
mov dword [eax], ecx
push 0xa
push ecx
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
test ebx, ebx
jle 0x10026ead
cmp dword [eax], 0
jne 0x10026ead
mov eax, sym.mozglue.dll_Ordinal_0
mov ecx, 0x20000
cmp ebx, eax
cmovb eax, ebx
cmp eax, ecx
cmovbe eax, ecx
mov ecx, 0x20
dec eax
je 0x10026c4c
bsr ecx, eax
xor ecx, 0x1f
neg cl
shl esi, cl
mov ecx, 3
call fcn.10022dd0
test al, al
je 0x10026c7c
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
push esi
push edi
push eax
push str._I__d__d____MOZ_PROFILER_STARTUP_ENTRIES___u_n
call fcn.10022e80
add esp, 0x10
mov dword [esp + 0xc], esi
jmp 0x10026b34
lea esi, [esp + 0x50]
mov eax, 0xf
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, esi
push edi
call fcn.1001a420
lea ebx, [esp + 0x18]
mov edx, esi
mov ecx, ebx
call fcn.1001ec70
sub esp, 0xc
movsd xmm0, qword [ebx]
lea ebx, [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebx
call fcn.10049d90
add esp, 0xc
mov ecx, esi
call fcn.1001a3d0
cmp byte [ebx + 8], 0
je 0x10026ced
movsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jae 0x10026fa5
push edi
push str.__MOZ_PROFILER_STARTUP_DURATION_not_a_valid_float:__s
call fcn.10022e80
add esp, 8
xor ecx, ecx
inc ecx
call fcn.10027020
jmp 0x10026b51
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
je 0x10027008
sub esp, 0xc
movsd xmm0, qword [esp + 0x1c]
lea esi, [esp + 0x5c]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.10049d90
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x10026f2e
push edi
push str.__MOZ_PROFILER_STARTUP_INTERVAL_not_a_valid_float:__s
call fcn.10022e80
add esp, 8
xor ecx, ecx
inc ecx
call fcn.10027020
movsd xmm0, qword [0x1006bd18]
movsd qword [esp], xmm0
jmp 0x10026b7b
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call esi
xor ecx, ecx
mov dword [eax], ecx
push 0xa
push ecx
push ebx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov edi, eax
call esi
test edi, edi
je 0x10026ec8
cmp dword [eax], 0
jne 0x10026ec8
mov ecx, 3
call fcn.10022dd0
test al, al
je 0x10026bb8
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
push edi
push esi
push eax
push str._I__d__d____MOZ_PROFILER_STARTUP_FEATURES_BITFIELD___d_n
call fcn.10022e80
add esp, 0x10
jmp 0x10026bb8
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x50]
mov edx, ebx
push eax
call fcn.10027550
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, 4
je 0x10026dfb
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
cmp eax, 4
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
jne 0x10026ee3
mov dword [esp + 0x40], 4
jmp 0x10026ef9
lea edi, [esp + 0x20]
lea esi, [esp + 0x50]
mov edx, eax
mov dword [edi], 0
mov ecx, esi
push edi
call fcn.10027550
add esp, 4
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.100264a0
mov ecx, 3
mov edi, eax
call fcn.10022dd0
test al, al
je 0x10026e78
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
push edi
push esi
push eax
push str._I__d__d____MOZ_PROFILER_STARTUP_FEATURES___d_n
call fcn.10022e80
add esp, 0x10
mov eax, dword [esp + 0x50]
cmp eax, 4
je 0x10026e8b
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x10026bb8
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10026bb8
push edi
push str.__MOZ_PROFILER_STARTUP_ENTRIES_not_a_valid_integer:__s
call fcn.10022e80
add esp, 8
xor ecx, ecx
inc ecx
call fcn.10027020
jmp 0x10026b34
push ebx
push str.__MOZ_PROFILER_STARTUP_FEATURES_BITFIELD_not_a_valid_integer:__s
call fcn.10022e80
add esp, 8
xor ecx, ecx
inc ecx
call fcn.10027020
jmp 0x10026bb8
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x50], 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov ecx, 3
call fcn.10022dd0
test al, al
je 0x10026bd5
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
push ebx
push esi
push eax
push str._I__d__d____MOZ_PROFILER_STARTUP_FILTERS___s_n
call fcn.10022e80
add esp, 0x10
jmp 0x10026bd5
movsd xmm1, qword [esp + 0x50]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
movsd qword [esp], xmm1
jbe 0x10026d4a
movsd xmm0, qword [0x1006bcf0]
ucomisd xmm0, qword [esp]
jb 0x10026d4a
mov ecx, 3
call fcn.10022dd0
test al, al
je 0x10026b7b
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
sub esp, 0x14
movsd xmm0, qword [esp + 0x14]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str._I__d__d____MOZ_PROFILER_STARTUP_INTERVAL___f_n
movsd qword [esp + 0xc], xmm0
call fcn.10022e80
add esp, 0x14
jmp 0x10026b7b
jbe 0x10026fb2
movsd qword [esp + 0x30], xmm0
mov byte [esp + 0x38], 1
mov ecx, 3
call fcn.10022dd0
test al, al
je 0x10026b51
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
sub esp, 0x14
movsd xmm0, qword [esp + 0x14]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str._I__d__d____MOZ_PROFILER_STARTUP_DURATION___f_n
movsd qword [esp + 0xc], xmm0
call fcn.10022e80
add esp, 0x14
jmp 0x10026b51
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
mov ecx, 0x321
jmp 0x10026a7c