Function at 0x180064160
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5b8
movaps xmmword [rsp + 0x5a0], xmm8
movapd xmmword [rsp + 0x590], xmm7
movaps xmmword [rsp + 0x580], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [str.LoadLibraryA]
xor rax, rsp
mov qword [rsp + 0x578], rax
mov dword [rdx], 0
lea rbx, [rsp + 0x4b8]
mov rcx, rbx
mov rdx, r8
xor r8d, r8d
call fcn.180064cd0
lea rsi, [rsp + 0x4c8]
movsd xmm8, qword [0x1800932c0]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r15, str.ProfileBuffer_parse_error:__s
lea r12, str.expected_a_Time_entry
mov rax, qword [rsp + 0x4e0]
cmp rax, qword [rsp + 0x538]
sete al
je 0x18006421c
cmp byte [rsp + 0x4b8], 0x11
je 0x18006421c
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
jne 0x1800641e7
jmp 0x180064206
test al, al
jne 0x180064999
mov r13d, dword [rsp + 0x4b9]
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x18006422c
mov rax, qword [rdi]
mov eax, dword [rax]
cmp r13d, eax
je 0x18006424e
test eax, eax
jne 0x1800641e7
andpd xmm6, xmm8
mov rax, qword [rsp + 0x4e0]
cmp rax, qword [rsp + 0x538]
je 0x1800642a3
cmp byte [rsp + 0x4b8], 0x12
jne 0x1800642a3
movsd xmm7, qword [rsp + 0x4b9]
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x180064278
mov rax, qword [rdi + 8]
movsd xmm0, qword [rax]
ucomisd xmm0, xmm7
ja 0x1800641e7
jmp 0x1800649d9
mov ecx, 2
call rbp
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.18001db80
jmp 0x1800641e7
movzx eax, byte [rsp + 0x4b8]
cmp eax, 4
je 0x18006443e
cmp eax, 0xb
jne 0x180064a6c
mov dword [rsp + 0x48], ecx
mov rbp, qword [rsp + 0x4b9]
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x1800642e3
lea rcx, [rsp + 0x3b0]
mov r8, rbp
call fcn.180064df0
mov eax, dword [0x1800a8070]
mov ecx, dword [0x1800a64f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x180064c7c
cmp byte [0x1800a806c], 0
je 0x180064385
lea rdx, [rsp + 0x98]
mov rcx, rbp
call sym.mozglue.dll_MozDescribeCodeAddress
test al, al
je 0x180064385
lea rcx, [rsp + 0x3b0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, eax
add rcx, rsp
add rcx, 0x3b1
mov byte [rcx - 1], 0x20
mov edx, 0xff
sub edx, eax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov r9, rbp
call sym.mozglue.dll_MozFormatCodeAddressDetails
mov rbp, qword [rdi + 0x10]
lea rcx, [rsp + 0x98]
lea rdx, [rsp + 0x3b0]
call fcn.180064d40
mov rcx, rbp
lea rdx, [rsp + 0x98]
call fcn.180054920
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x88]
mov rcx, rbp
call fcn.180054bc0
mov eax, eax
mov rcx, qword [rsp + 0x68]
movabs rdx, 0xffffff0000000000
and rcx, rdx
or rcx, rax
mov qword [rsp + 0x68], rcx
mov rax, rcx
movabs rcx, 0x100000000
or rax, rcx
mov ebp, dword [rsp + 0x40]
mov ecx, ebp
mov rdx, qword [rsp + 0x50]
rol edx, 5
xor edx, ebp
imul edx, edx, 0x9e3779b9
mov qword [rsp + 0x50], rdx
shl rdx, 0x20
or rdx, rcx
lea rcx, [rsp + 0x88]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
lea rax, [rsp + 0x98]
cmp byte [rax + 0x48], 0
jne 0x180064c05
lea rcx, [rsp + 0x98]
jmp 0x180064940
mov dword [rsp + 0x48], ecx
mov rax, qword [rsp + 0x4b9]
mov qword [rsp + 0x40], rax
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x18006444f
mov rax, qword [rsp + 0x4e0]
xor ebp, ebp
cmp rax, qword [rsp + 0x538]
je 0x18006449d
cmp byte [rsp + 0x4b8], 5
jne 0x18006449d
mov rbp, qword [rsp + 0x4b9]
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x180064489
mov qword [rsp + 0x58], rbp
mov rax, qword [rdi + 0x18]
mov rax, qword [rax]
mov byte [rax], 0
mov rax, qword [rsp + 0x4e0]
xor ebp, ebp
cmp rax, qword [rsp + 0x538]
je 0x180064604
cmp byte [rsp + 0x4b8], 6
jne 0x180064604
xor eax, eax
cmp rax, 0x200
jb 0x18006451b
mov rbp, rax
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x1800644df
mov rax, qword [rsp + 0x4e0]
cmp rax, qword [rsp + 0x538]
je 0x180064604
cmp byte [rsp + 0x4b8], 6
mov rax, rbp
je 0x1800644d4
jmp 0x180064604
mov r8, qword [rsp + 0x4b9]
mov rdx, qword [rdi + 0x18]
mov rdx, qword [rdx]
mov byte [rdx + rax], r8b
mov ebp, 0x200
cmp rax, 0x1ff
je 0x1800644df
mov rdx, r8
shr rdx, 8
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx]
mov byte [rax + rcx + 1], dl
cmp rax, 0x1fd
ja 0x1800644df
mov rcx, r8
shr rcx, 0x10
mov rdx, qword [rdi + 0x18]
mov rdx, qword [rdx]
mov byte [rax + rdx + 2], cl
cmp rax, 0x1fd
je 0x1800644df
mov rcx, r8
shr rcx, 0x18
mov rdx, qword [rdi + 0x18]
mov rdx, qword [rdx]
mov byte [rax + rdx + 3], cl
cmp rax, 0x1fb
ja 0x1800644df
mov rcx, r8
shr rcx, 0x20
mov rdx, qword [rdi + 0x18]
mov rdx, qword [rdx]
mov byte [rax + rdx + 4], cl
cmp rax, 0x1fb
je 0x1800644df
mov rcx, r8
shr rcx, 0x28
mov rdx, qword [rdi + 0x18]
mov rdx, qword [rdx]
mov byte [rax + rdx + 5], cl
cmp rax, 0x1f9
ja 0x1800644df
mov rcx, r8
shr rcx, 0x30
mov rdx, qword [rdi + 0x18]
mov rdx, qword [rdx]
mov byte [rax + rdx + 6], cl
cmp rax, 0x1f9
je 0x1800644df
shr r8, 0x38
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx]
mov byte [rax + rcx + 7], r8b
add rax, 8
jmp 0x1800644dc
mov rax, qword [rdi + 0x18]
mov rax, qword [rax]
xor ecx, ecx
mov byte [rax + 0x1ff], cl
mov qword [rsp + 0x3c0], 0
mov qword [rsp + 0x3c8], 0xf
mov byte [rsp + 0x3b0], cl
mov rax, qword [rsp + 0x40]
cmp byte [rax], cl
je 0x18006465e
test rbp, rbp
je 0x18006465e
mov rax, qword [rsp + 0x58]
test al, 0x10
jne 0x18006466a
test al, 0x20
jne 0x18006496d
test al, 0x40
je 0x180064b74
jmp 0x180064bc9
test rbp, rbp
jne 0x1800646d1
mov rbp, qword [rsp + 0x40]
jmp 0x1800646d8
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rbp, [rsp + 0x3b0]
mov rcx, rbp
mov rdx, qword [rsp + 0x40]
mov r8, rax
call fcn.18000de50
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
cmp rax, rcx
jae 0x1800646bc
lea rdx, [rax + 1]
mov qword [rsp + 0x3c0], rdx
cmp rcx, 0x10
jb 0x1800646b3
mov rbp, qword [rsp + 0x3b0]
mov word [rbp + rax], 0x2e
jmp 0x1800646d1
lea rcx, [rsp + 0x3b0]
mov edx, 1
mov r9b, 0x2e
call fcn.180053990
mov rax, qword [rdi + 0x18]
mov rbp, qword [rax]
mov rcx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rsp + 0x3b0]
mov rdx, rbp
mov r8, rax
call fcn.18000de50
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x538]
xor ebp, ebp
mov dl, byte [rsp + 0x4b8]
cmp rax, rcx
je 0x180064749
cmp dl, 8
jne 0x180064749
mov rbp, qword [rsp + 0x4b9]
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x18006471e
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x538]
mov dl, byte [rsp + 0x4b8]
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov byte [rsp + 0x80], bpl
mov byte [rsp + 0x84], bpl
cmp rax, rcx
je 0x1800647b1
cmp dl, 9
jne 0x1800647b1
mov eax, dword [rsp + 0x4b9]
movabs rcx, 0x100000000
or rax, rcx
mov qword [rsp + 0x80], rax
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x180064786
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x538]
mov dl, byte [rsp + 0x4b8]
xor ebp, ebp
mov byte [rsp + 0x78], bpl
mov byte [rsp + 0x7c], bpl
cmp rax, rcx
je 0x18006480b
cmp dl, 0xa
jne 0x18006480b
mov eax, dword [rsp + 0x4b9]
movabs rcx, 0x100000000
or rax, rcx
mov qword [rsp + 0x78], rax
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x1800647e0
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x538]
mov dl, byte [rsp + 0x4b8]
xor ebp, ebp
mov byte [rsp + 0x70], bpl
mov byte [rsp + 0x74], bpl
cmp rax, rcx
je 0x18006484e
cmp dl, 1
jne 0x18006484e
mov eax, dword [rsp + 0x4b9]
movabs rcx, 0x100000000
or rax, rcx
mov qword [rsp + 0x70], rax
mov rcx, rsi
call fcn.180065a30
mov rcx, rbx
call fcn.180064ff0
test al, al
je 0x18006483a
movzx r8d, byte [rsp + 0x58]
shr r8d, 7
mov rbp, qword [rdi + 0x10]
mov qword [rsp + 0x58], rbp
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x98]
mov r9, qword [rsp + 0x40]
call fcn.180064e80
mov rcx, rbp
lea rdx, [rsp + 0x98]
call fcn.180054920
mov ebp, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call fcn.180054bc0
mov eax, eax
mov rcx, qword [rsp + 0x60]
movabs rdx, 0xffffff0000000000
and rcx, rdx
or rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, rcx
movabs rcx, 0x100000000
or rax, rcx
mov ecx, ebp
mov rdx, qword [rsp + 0x50]
rol edx, 5
xor edx, ebp
imul edx, edx, 0x9e3779b9
mov qword [rsp + 0x50], rdx
shl rdx, 0x20
or rdx, rcx
lea rcx, [rsp + 0x88]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
lea rax, [rsp + 0x98]
cmp byte [rax + 0x48], 0
jne 0x180064c05
lea rcx, [rsp + 0x98]
call fcn.1800258f0
lea rcx, [rsp + 0x3b0]
call fcn.1800258f0
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, dword [rsp + 0x48]
inc ecx
mov rax, qword [rsp + 0x4e0]
cmp rax, qword [rsp + 0x538]
jne 0x1800642bd
jmp 0x180064a74
lea rdx, str.get
lea rbp, [rsp + 0x3b0]
mov r8d, 4
mov rcx, rbp
call fcn.18000de50
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
jmp 0x18006467c
mov rcx, qword [rsp + 0x578]
xor rcx, rsp
call fcn.18004bde0
mov rax, r14
movaps xmm6, xmmword [rsp + 0x580]
movaps xmm7, xmmword [rsp + 0x590]
movaps xmm8, xmmword [rsp + 0x5a0]
add rsp, 0x5b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, qword [rdi + 0x10]
lea rdx, str._root_
lea rcx, [rsp + 0x98]
call fcn.180064d40
mov rcx, rbp
lea rdx, [rsp + 0x98]
call fcn.180054920
xor ecx, ecx
mov byte [rsp + 0x88], cl
mov byte [rsp + 0x8c], cl
mov dword [rsp + 0x90], eax
imul eax, eax, 0x9e3779b9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x94], eax
lea rax, [rsp + 0x98]
cmp byte [rax + 0x48], cl
jne 0x180064c05
lea rcx, [rsp + 0x98]
call fcn.1800258f0
mov rax, qword [rsp + 0x4e0]
cmp rax, qword [rsp + 0x538]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
je 0x1800641e7
xor ecx, ecx
jmp 0x1800642bd
test ecx, ecx
je 0x1800641e7
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x88]
call fcn.180054bc0
mov rcx, qword [rsp + 0x4e0]
cmp rcx, qword [rsp + 0x538]
setne cl
cmp byte [rsp + 0x4b8], 0x10
mov dword [rsp + 0x48], eax
sete al
and al, cl
mov byte [rsp + 0x50], al
cmp al, 1
jne 0x180064ad3
movsd xmm6, qword [rsp + 0x4b9]
mov rcx, rsi
call fcn.180065a30
lea rcx, [rsp + 0x4b8]
call fcn.180064ff0
test al, al
je 0x180064aba
mov rbp, qword [rdi + 0x20]
lea rax, [rsp + 0x98]
mov qword [rax], rbp
add rbp, 8
lea rdx, [0x180093890]
lea r8, [0x1800938a0]
mov rcx, rbp
xor r9d, r9d
call fcn.180010b80
lea rax, [rsp + 0x98]
mov dword [rax + 8], 1
mov r8d, dword [rsp + 0x48]
mov rcx, rbp
lea rdx, [0x180093890]
call fcn.180010e50
lea rcx, [rsp + 0x98]
mov edx, 1
movapd xmm2, xmm7
call fcn.180065ab0
cmp byte [rsp + 0x50], 0
jne 0x180064bea
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
add rcx, 8
lea rdx, [0x180093940]
call fcn.18001f1b0
mov dword [r14], r13d
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x1800641e7
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rbp, [rsp + 0x3b0]
mov rcx, rbp
mov rdx, qword [rsp + 0x40]
mov r8, rax
call fcn.18000de50
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
cmp rax, rcx
jae 0x180064bd5
lea rdx, [rax + 1]
mov qword [rsp + 0x3c0], rdx
cmp rcx, 0x10
jb 0x180064bbd
mov rbp, qword [rsp + 0x3b0]
mov word [rbp + rax], 0x20
jmp 0x1800646d1
lea rdx, str.set
jmp 0x180064974
lea rcx, [rsp + 0x3b0]
mov edx, 1
mov r9b, 0x20
jmp 0x1800646cc
mov ebp, dword [rsp + 0xa0]
cmp ebp, 2
jne 0x180064c1e
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
jmp 0x180064c53
lea rax, str.MOZ_RELEASE_ASSERT_is_N____
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
add rax, 8
mov qword [rsp + 0x50], rax
add ebp, 0xfffffffe
lea rdx, [0x180093890]
lea r8, [0x1800938b0]
mov rcx, qword [rsp + 0x50]
call fcn.18001d9e0
inc ebp
jne 0x180064c37
mov dword [rsp + 0xa0], 3
mov rax, qword [rsp + 0x48]
lea rcx, [rax + 8]
lea rdx, [0x180093890]
movapd xmm2, xmm6
call fcn.180064050
jmp 0x180064b50
lea rcx, [0x1800a8070]
call fcn.18004a800
cmp dword [0x1800a8070], 0xffffffff
jne 0x18006432c
lea rcx, str.MOZ_PROFILER_SYMBOLICATE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x180064cab
xor eax, eax
jmp 0x180064cb1
cmp byte [rax], 0
setne al
mov byte [0x1800a806c], al
lea rcx, [0x1800a8070]
call fcn.18004a7a0
jmp 0x18006432c