Function at 0x10056f80
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 [0x100a400c]
xor ecx, ebp
mov dword [esp + 0x68], ecx
mov ecx, eax
xor ecx, 0x7fffffff
mov edi, edx
not edi
or edi, ecx
je 0x10056fc1
lea ecx, [eax - 0x80000000]
or ecx, edx
jne 0x10056fcb
movsd xmm2, qword [0x10092228]
jmp 0x10056fe7
movsd xmm2, qword [0x10092220]
jmp 0x10056fe7
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 [0x10092230]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mulsd xmm2, qword [0x10092230]
movsd xmm0, qword [esi + 0x48]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x1005704e
jp 0x1005704e
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 [0x10092220]
movapd xmm4, xmm3
movsd qword [esp + 0x18], xmm2
je 0x100570b2
mov ebx, edx
lea edx, [ecx - 0x80000000]
or edx, eax
jne 0x10057086
movsd xmm4, qword [0x10092228]
jmp 0x100570b0
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 0x10057078
movsd qword [esi + 0x68], xmm0
ucomisd xmm0, qword [esi + 0x70]
jbe 0x1005700b
movsd qword [esi + 0x70], xmm0
jmp 0x1005700b
push ecx
push eax
call sym.mozglue.dll_public:_static_double___cdecl_mozilla::BaseTimeDurationPlatformUtils::ToSeconds_long_long___int64__
movsd xmm3, qword [0x10092220]
movsd xmm2, qword [esp + 0x20]
add esp, 8
fstp qword [esp + 0x40]
movsd xmm4, qword [esp + 0x40]
mulsd xmm4, qword [0x10092230]
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 0x1005711a
lea eax, [edi - 0x80000000]
or eax, edx
jne 0x100570e0
movsd xmm5, qword [0x10092228]
jmp 0x1005711a
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 [0x10092220]
movsd xmm2, qword [esp + 0x20]
add esp, 8
fstp qword [esp + 0x38]
movsd xmm5, qword [esp + 0x38]
mulsd xmm5, qword [0x10092230]
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 0x10057195
lea eax, [ebx - 0x80000000]
or eax, edi
jne 0x10057147
movsd xmm6, qword [0x10092228]
jmp 0x10057195
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 [0x10092220]
movsd xmm2, qword [esp + 0x20]
add esp, 8
fstp qword [esp + 0x30]
movsd xmm0, qword [0x10092230]
movsd xmm6, qword [esp + 0x30]
mulsd xmm6, xmm0
mulsd xmm6, xmm0
mulsd xmm4, qword [0x10092230]
mulsd xmm5, qword [0x10092230]
mov eax, edx
not eax
mov edi, dword [ebp + 0x28]
mov ecx, edi
xor ecx, 0x7fffffff
or ecx, eax
je 0x1005721a
lea eax, [edi - 0x80000000]
or eax, edx
jne 0x100571cc
movsd xmm3, qword [0x10092228]
jmp 0x1005721a
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 [0x10092230]
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 0x10057257
movsd qword [esi + 0x88], xmm0
ucomisd xmm0, qword [esi + 0x90]
jbe 0x10057269
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 0x10057299
movsd qword [esi + 0xa8], xmm4
ucomisd xmm4, qword [esi + 0xb0]
jbe 0x100572ab
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 0x100572db
movsd qword [esi + 0xc8], xmm5
ucomisd xmm5, qword [esi + 0xd0]
jbe 0x100572ed
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 0x1005731d
movsd qword [esi + 0xe8], xmm6
ucomisd xmm6, qword [esi + 0xf0]
jbe 0x1005732f
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 0x1005735f
movsd qword [esi + 0x108], xmm3
ucomisd xmm3, qword [esi + 0x110]
jbe 0x10057371
movsd qword [esi + 0x110], xmm3
mov eax, dword [0x100a4868]
mov ecx, dword [0x100a43c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10057457
cmp byte [0x100a4864], 0
jne 0x100573ae
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.1004f020
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.10056ce0
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.10056ce0
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.10056ce0
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.10056ce0
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.10056ce0
add esp, 4
jmp 0x1005739b
push 0x100a4868
movsd qword [esp + 0x24], xmm3
movsd qword [esp + 4], xmm4
movsd qword [esp + 0xc], xmm5
movsd qword [esp + 0x14], xmm6
call fcn.1004f02e
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 [0x100a4868], 0xffffffff
jne 0x10057392
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 0x100574f3
cmp byte [eax], 0
setne al
mov byte [0x100a4864], al
push 0x100a4868
call fcn.1004f02e
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 0x10057392
xor eax, eax
jmp 0x100574bf