Function at 0x140025d60
Capabilities:
Query environment variable
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, str.MOZ_DISABLE_NONLOCAL_CONNECTIONS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140025da6
cmp byte [rax], 0
jne 0x14002613b
lea rcx, str.MOZ_RUN_GTEST
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140025dc1
cmp byte [rax], 0
setne r12b
jmp 0x140025dc4
xor r12d, r12d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
mov rdi, rax
inc rdi
cmp rdi, 1
ja 0x140025ead
test r12b, r12b
je 0x140026107
mov dword [rsi], 0x80
mov ecx, 0x80
call qword [sym.imp.mozglue.dll_moz_xmalloc]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rax
test rcx, rcx
je 0x140025e5a
call qword [sym.imp.mozglue.dll_free]
mov rax, qword [rsi + 8]
mov dword [rax], 0x400040
mov qword [rax + 8], 0x40
mov qword [rax + 0x10], 0xffffffffffffffff
xor ecx, ecx
mov dword [rax + 0x18], ecx
mov rdx, qword [rsi + 8]
movaps xmm0, xmmword [0x140055420]
movups xmmword [rdx + 0x70], xmm0
movaps xmm0, xmmword [0x140055410]
movups xmmword [rdx + 0x60], xmm0
movaps xmm0, xmmword [0x140055400]
movups xmmword [rdx + 0x50], xmm0
movaps xmm0, xmmword [str.TestDllBlocklist_UserBlocked.dll]
movups xmmword [rdx + 0x40], xmm0
mov dword [rax + 0x20], ecx
jmp 0x140026107
lea r9, [rsp + 0x7c]
mov dword [r9], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x70]
mov rcx, r15
mov r8d, 0xc
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140025e07
cmp dword [rsp + 0x7c], 0xc
jne 0x140026107
cmp dword [rsp + 0x70], 0x4646424c
jne 0x140026107
cmp dword [rsp + 0x74], 1
jne 0x140026107
mov eax, dword [rsp + 0x78]
lea ebx, [rax + 0x60]
test r12b, r12b
cmove ebx, eax
mov rcx, rbx
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call sub.ntdll.dll_memset
mov r8d, dword [rsp + 0x78]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x7c]
mov rcx, r15
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140026060
mov ebp, dword [rsp + 0x7c]
cmp ebp, dword [rsp + 0x78]
jne 0x140026060
mov qword [rsp + 0x38], rbx
lea rax, str.TestDllBlocklist_UserBlocked.dll
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x400040
test ebp, ebp
je 0x1400260b4
mov rax, qword [rsp + 0x38]
add eax, 0xffffffc0
mov qword [rsp + 0x48], rax
xor ebx, ebx
xor r9d, r9d
mov eax, ebx
lea r13, [r14 + rax]
movzx eax, word [r14 + rax]
test rax, rax
je 0x140026068
mov rcx, qword [r13 + 8]
lea rdx, [rcx + rax]
mov r8d, dword [rsp + 0x78]
cmp rdx, r8
ja 0x1400260ad
mov word [r13 + 2], ax
test r9b, 1
sete dl
and dl, r12b
cmp dl, 1
jne 0x140026053
mov dword [rsp + 0x44], r9d
add rcx, r14
mov qword [rsp + 0x58], rcx
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], ax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
jle 0x140026049
lea rbp, [r13 + 0x20]
mov r8d, dword [rsp + 0x78]
sub r8d, ebx
mov rcx, rbp
mov rdx, r13
call sub.ntdll.dll_memmove
mov dword [r13], 0x400040
mov rax, qword [rsp + 0x48]
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], 0xffffffffffffffff
mov dword [r13 + 0x18], 0
add ebx, 0x20
mov r9b, 1
mov rax, qword [rsp + 0x38]
mov r13, rbp
mov ebp, eax
jmp 0x14002604e
mov r9d, dword [rsp + 0x44]
add qword [r13 + 8], 0x20
add ebx, 0x20
cmp ebx, ebp
jb 0x140025f90
jmp 0x1400260b4
mov rcx, r14
jmp 0x140026101
test r9b, 1
sete al
and al, r12b
cmp al, 1
jne 0x1400260b4
lea rcx, [r13 + 0x20]
mov r8d, dword [rsp + 0x78]
sub r8d, ebx
mov rdx, r13
call sub.ntdll.dll_memmove
mov dword [r13], 0x400040
mov rax, qword [rsp + 0x48]
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], 0xffffffffffffffff
mov dword [r13 + 0x18], 0
jmp 0x1400260b4
mov word [r13], 0
test r12b, r12b
mov rax, qword [rsp + 0x38]
je 0x1400260f2
movaps xmm0, xmmword [0x140055420]
movups xmmword [r14 + rax - 0x10], xmm0
movaps xmm0, xmmword [0x140055410]
movups xmmword [r14 + rax - 0x20], xmm0
movaps xmm0, xmmword [0x140055400]
movups xmmword [r14 + rax - 0x30], xmm0
movaps xmm0, xmmword [str.TestDllBlocklist_UserBlocked.dll]
movups xmmword [r14 + rax - 0x40], xmm0
mov dword [rsi], eax
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], r14
test rcx, rcx
je 0x140026107
call qword [sym.imp.mozglue.dll_free]
cmp rdi, 2
jb 0x140026116
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140030110
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12b, 1
jmp 0x140025dc4