Function at 0x180063bd0
Capabilities:
Get system information on windows
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1800cb028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp dword [0x1800cb718], 0
mov sil, 1
je 0x180063c0d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180062020
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1800cb720]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp dword [0x1800cb718], 0
mov sil, 1
jne 0x180063e32
mov eax, dword [0x1800cb4e0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 8], 0
je 0x180063e75
mov eax, dword [0x1800cb600]
mov ecx, dword [0x1800cb4e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x180063ca4
lea rcx, [0x1800cb600]
call fcn.180060ac0
cmp dword [0x1800cb600], 0xffffffff
jne 0x180063ca4
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 4]
mov qword [0x1800cb5f8], rax
lea rcx, [0x1800cb600]
call fcn.180060b40
mov eax, 0x1000
xor edx, edx
div qword [0x1800cb5f8]
test rdx, rdx
jne 0x180063e7f
lea rcx, str.MALLOC_OPTIONS
lea rsi, [0x1800cb730]
mov rdx, rsi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xor edi, edi
test eax, eax
cmovne rdi, rsi
je 0x180063cf0
mov al, byte [0x1800cb730]
test al, al
jne 0x180063e44
xor edi, edi
mov qword [0x1800cb6b8], rdi
lea rcx, [0x1800cb680]
mov rsi, qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov edx, 0x1388
call rsi
mov qword [0x1800cb6a8], rdi
mov qword [0x1800cb6b0], rdi
lea rcx, [0x1800cb5b8]
mov edx, 0x1388
call rsi
mov qword [0x1800cb5e0], rdi
mov qword [0x1800cb5e8], rdi
mov qword [0x1800cb5f0], rdi
lea rcx, [0x1800cb6c0]
mov edx, 0x1388
call rsi
mov qword [0x1800cb710], rdi
mov qword [0x1800cb700], rdi
xorps xmm0, xmm0
movups xmmword [0x1800cb578], xmm0
mov qword [0x1800cb588], rdi
lea rcx, [0x1800cb540]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x30], 0
mov rax, qword [0x1800cb038]
mov qword [rsp + 0x20], rax
mov edx, 0x1388
call rsi
test eax, eax
je 0x180063eab
xor esi, esi
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.180053590
mov qword [0x1800cb568], rax
test rax, rax
je 0x180063e32
mov ecx, dword [0x1800cb4e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp byte [rcx + 8], 0
je 0x180063eb8
mov ecx, dword [0x1800cb4e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x10], rax
lea rcx, [0x1800cb650]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov ecx, 0x20
call fcn.1800022d0
test rax, rax
je 0x180063ec9
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [0x1800cb678], rax
mov dword [0x1800cb718], 1
mov sil, 1
lea rcx, [0x1800cb720]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x180063bf4
xor ebx, ebx
movsx edx, al
lea ecx, [rdx - 0x30]
cmp cl, 9
jbe 0x180063edb
xor ecx, ecx
cmp edx, 0x72
jne 0x180063efe
mov byte [0x1800cb5b0], 1
inc ebx
mov al, byte [rdi + rbx]
test al, al
jne 0x180063e46
jmp 0x180063cf0
call fcn.180060de8
jmp 0x180063c4a
lea rcx, str._jemalloc_
lea rdx, str.Compile_time_page_size_does_not_divide_the_runtime_one._n
call fcn.180066f70
lea rax, str.MOZ_CRASH__
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
mov qword [0x1800cb568], 0
jmp 0x180063ed4
call fcn.180060de8
mov rax, qword [0x1800cb568]
jmp 0x180063dd5
mov qword [0x1800cb678], 0
xor esi, esi
jmp 0x180063e32
xor ecx, ecx
lea eax, [rcx + rcx*4]
lea ecx, [rdx + rax*2]
add ecx, 0xffffffd0
inc ebx
mov al, byte [rdi + rbx]
movsx edx, al
lea r8d, [rax - 0x30]
cmp r8b, 0xa
jae 0x180063e57
jmp 0x180063edd
cmp edx, 0x46
jne 0x180063f42
cmp ecx, 1
adc ecx, 0
mov rax, qword [0x1800cb038]
xor edx, edx
test rax, rax
sete dl
cmp rax, 1
adc rax, 0
sub ecx, edx
shl rax, cl
test rax, rax
movabs rcx, 0x8000000000000000
cmovne rcx, rax
mov qword [0x1800cb038], rcx
jmp 0x180063e67
cmp edx, 0x52
jne 0x180063f53
mov byte [0x1800cb5b0], 0
jmp 0x180063e67
cmp edx, 0x66
jne 0x180063f6a
cmp ecx, 1
adc ecx, 0
shr qword [0x1800cb038], cl
jmp 0x180063e67
lea rsi, [rsp + 0x20]
mov byte [rsi], al
mov byte [rsi + 1], 0
lea rdx, str._jemalloc_
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
mov ecx, 2
mov r8d, 0xa
call r14
lea rdx, str.:__malloc__Unsupported_character_in_malloc_options:_
mov ecx, 2
mov r8d, 0x35
call r14
lea rdx, [0x1800bf740]
mov rcx, rsi
call fcn.180066f70
jmp 0x180063e67