Function at 0x10057a60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x100a500c]
xor ecx, ebp
mov dword [esp + 0x68], ecx
mov ecx, eax
xor ecx, 0x7fffffff
mov edi, edx
not edi
or edi, ecx
je 0x10057aa1
lea ecx, [eax - 0x80000000]
or ecx, edx
jne 0x10057aab
movsd xmm2, qword [0x10093228]
jmp 0x10057ac7
movsd xmm2, qword [0x10093220]
jmp 0x10057ac7
push eax
push edx
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
add esp, 8
fstp qword [esp + 0x48]
movsd xmm2, qword [esp + 0x48]
mulsd xmm2, qword [0x10093230]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mulsd xmm2, qword [0x10093230]
movsd xmm0, qword [esi + 0x48]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x10057b2e
jp 0x10057b2e
movsd qword [esi + 0x48], xmm2
mov edx, eax
not edx
mov edi, ecx
xor edi, 0x7fffffff
or edi, edx
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
movsd qword [esi + 0x50], xmm2
movsd xmm3, qword [0x10093220]
movapd xmm4, xmm3
movsd qword [esp + 0x18], xmm2
je 0x10057b92
mov ebx, edx
lea edx, [ecx - 0x80000000]
or edx, eax
jne 0x10057b66
movsd xmm4, qword [0x10093228]
jmp 0x10057b90
movapd xmm0, xmm2
subsd xmm0, qword [esi + 0x50]
inc dword [esi + 0x58]
movsd xmm1, qword [esi + 0x60]
addsd xmm1, xmm0
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [esi + 0x68]
ucomisd xmm1, xmm0
jbe 0x10057b58
movsd qword [esi + 0x68], xmm0
ucomisd xmm0, qword [esi + 0x70]
jbe 0x10057aeb
movsd qword [esi + 0x70], xmm0
jmp 0x10057aeb
push ecx
push eax
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movsd xmm3, qword [0x10093220]
movsd xmm2, qword [esp + 0x20]
add esp, 8
fstp qword [esp + 0x40]
movsd xmm4, qword [esp + 0x40]
mulsd xmm4, qword [0x10093230]
mov edx, ebx
mov eax, edx
not eax
mov ecx, edi
xor ecx, 0x7fffffff
or ecx, eax
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
movapd xmm5, xmm3
je 0x10057bfa
lea eax, [edi - 0x80000000]
or eax, edx
jne 0x10057bc0
movsd xmm5, qword [0x10093228]
jmp 0x10057bfa
push edi
push edx
movsd qword [esp + 8], xmm4
mov edi, ecx
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
mov ecx, edi
movsd xmm4, qword [esp + 8]
movsd xmm3, qword [0x10093220]
movsd xmm2, qword [esp + 0x20]
add esp, 8
fstp qword [esp + 0x38]
movsd xmm5, qword [esp + 0x38]
mulsd xmm5, qword [0x10093230]
mov eax, ecx
not eax
mov edi, ecx
mov ecx, ebx
xor ecx, 0x7fffffff
or ecx, eax
mov edx, dword [ebp + 0x24]
movapd xmm6, xmm3
je 0x10057c75
lea eax, [ebx - 0x80000000]
or eax, edi
jne 0x10057c27
movsd xmm6, qword [0x10093228]
jmp 0x10057c75
push ebx
push edi
movsd qword [esp + 8], xmm4
movsd qword [esp + 0x10], xmm5
mov ebx, edx
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
mov edx, ebx
movsd xmm5, qword [esp + 0x10]
movsd xmm4, qword [esp + 8]
movsd xmm3, qword [0x10093220]
movsd xmm2, qword [esp + 0x20]
add esp, 8
fstp qword [esp + 0x30]
movsd xmm0, qword [0x10093230]
movsd xmm6, qword [esp + 0x30]
mulsd xmm6, xmm0
mulsd xmm6, xmm0
mulsd xmm4, qword [0x10093230]
mulsd xmm5, qword [0x10093230]
mov eax, edx
not eax
mov edi, dword [ebp + 0x28]
mov ecx, edi
xor ecx, 0x7fffffff
or ecx, eax
je 0x10057cfa
lea eax, [edi - 0x80000000]
or eax, edx
jne 0x10057cac
movsd xmm3, qword [0x10093228]
jmp 0x10057cfa
push edi
push edx
movsd qword [esp + 8], xmm4
movsd qword [esp + 0x10], xmm5
movsd qword [esp + 0x18], xmm6
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movsd xmm6, qword [esp + 0x18]
movsd xmm5, qword [esp + 0x10]
movsd xmm4, qword [esp + 8]
movsd xmm2, qword [esp + 0x20]
add esp, 8
fstp qword [esp + 0x28]
movsd xmm0, qword [0x10093230]
movsd xmm3, qword [esp + 0x28]
mulsd xmm3, xmm0
mulsd xmm3, xmm0
movapd xmm0, xmm4
addsd xmm0, xmm5
inc dword [esi + 0x78]
addsd xmm0, xmm6
addsd xmm0, xmm3
movsd xmm1, qword [esi + 0x80]
addsd xmm1, xmm0
movsd qword [esi + 0x80], xmm1
movsd xmm1, qword [esi + 0x88]
ucomisd xmm1, xmm0
jbe 0x10057d37
movsd qword [esi + 0x88], xmm0
ucomisd xmm0, qword [esi + 0x90]
jbe 0x10057d49
movsd qword [esi + 0x90], xmm0
inc dword [esi + 0x98]
movsd xmm0, qword [esi + 0xa0]
addsd xmm0, xmm4
movsd qword [esi + 0xa0], xmm0
movsd xmm0, qword [esi + 0xa8]
ucomisd xmm0, xmm4
jbe 0x10057d79
movsd qword [esi + 0xa8], xmm4
ucomisd xmm4, qword [esi + 0xb0]
jbe 0x10057d8b
movsd qword [esi + 0xb0], xmm4
inc dword [esi + 0xb8]
movsd xmm0, qword [esi + 0xc0]
addsd xmm0, xmm5
movsd qword [esi + 0xc0], xmm0
movsd xmm0, qword [esi + 0xc8]
ucomisd xmm0, xmm5
jbe 0x10057dbb
movsd qword [esi + 0xc8], xmm5
ucomisd xmm5, qword [esi + 0xd0]
jbe 0x10057dcd
movsd qword [esi + 0xd0], xmm5
inc dword [esi + 0xd8]
movsd xmm0, qword [esi + 0xe0]
addsd xmm0, xmm6
movsd qword [esi + 0xe0], xmm0
movsd xmm0, qword [esi + 0xe8]
ucomisd xmm0, xmm6
jbe 0x10057dfd
movsd qword [esi + 0xe8], xmm6
ucomisd xmm6, qword [esi + 0xf0]
jbe 0x10057e0f
movsd qword [esi + 0xf0], xmm6
inc dword [esi + 0xf8]
movsd xmm0, qword [esi + 0x100]
addsd xmm0, xmm3
movsd qword [esi + 0x100], xmm0
movsd xmm0, qword [esi + 0x108]
ucomisd xmm0, xmm3
jbe 0x10057e3f
movsd qword [esi + 0x108], xmm3
ucomisd xmm3, qword [esi + 0x110]
jbe 0x10057e51
movsd qword [esi + 0x110], xmm3
mov eax, dword [0x100a5864]
mov ecx, dword [0x100a53c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10057f37
cmp byte [0x100a5860], 0
jne 0x10057e8e
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.1004fb50
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x5c]
mov byte [edi], 0x19
movsd qword [edi + 1], xmm2
mov edx, dword [esi]
lea ecx, [esp + 0x50]
push edi
movsd qword [esp + 0x24], xmm3
movsd qword [esp + 4], xmm4
movsd qword [esp + 0xc], xmm5
movsd qword [esp + 0x14], xmm6
call fcn.100577c0
add esp, 4
mov bl, 0x1a
mov byte [edi], bl
movsd xmm0, qword [esp]
movsd qword [edi + 1], xmm0
mov edx, dword [esi]
lea ecx, [esp + 0x50]
push edi
call fcn.100577c0
add esp, 4
mov byte [edi], bl
movsd xmm0, qword [esp + 8]
movsd qword [edi + 1], xmm0
mov edx, dword [esi]
lea ecx, [esp + 0x50]
push edi
call fcn.100577c0
add esp, 4
mov byte [edi], bl
movsd xmm0, qword [esp + 0x10]
movsd qword [edi + 1], xmm0
mov edx, dword [esi]
lea ecx, [esp + 0x50]
push edi
call fcn.100577c0
add esp, 4
mov byte [edi], bl
movsd xmm0, qword [esp + 0x20]
movsd qword [edi + 1], xmm0
mov edx, dword [esi]
lea ecx, [esp + 0x50]
push edi
call fcn.100577c0
add esp, 4
jmp 0x10057e7b
push 0x100a5864
movsd qword [esp + 0x24], xmm3
movsd qword [esp + 4], xmm4
movsd qword [esp + 0xc], xmm5
movsd qword [esp + 0x14], xmm6
call fcn.1004fb5e
movsd xmm6, qword [esp + 0x14]
movsd xmm5, qword [esp + 0xc]
movsd xmm4, qword [esp + 4]
movsd xmm3, qword [esp + 0x24]
movsd xmm2, qword [esp + 0x1c]
add esp, 4
cmp dword [0x100a5864], 0xffffffff
jne 0x10057e72
push str.MOZ_PROFILER_RECORD_OVERHEADS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10057fd3
cmp byte [eax], 0
setne al
mov byte [0x100a5860], al
push 0x100a5864
call fcn.1004fb5e
add esp, 4
movsd xmm2, qword [esp + 0x18]
movsd xmm3, qword [esp + 0x20]
movsd xmm4, qword [esp]
movsd xmm5, qword [esp + 8]
movsd xmm6, qword [esp + 0x10]
jmp 0x10057e72
xor eax, eax
jmp 0x10057f9f