Function at 0x1400949a0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push rbp
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
test al, 4
add byte [rax], al
lea rbp, [rsp + 0x80]
add byte [rax], 0
add byte [rax], al
add byte [rax - 0x39], cl
test dword [rax], esp
add al, 0
add byte [rax], al
add dh, bh
invalid
invalid
dec dword [rax - 0x77]
mov rsi, rcx
invalid
lea rcx, [rbp - 0x58]
call fcn.140090a30
pop rsi
sar bh, 0xff
dec dword [rax - 0x75]
mov eax, dword [rbp - 0x58]
test al, 0x48
test al, 0x48
movabs rdi, 0x8000000000000000
mov edi, 0
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax + 0x75f83948], al
or byte [rax + 0x39], 0xf8
clc
jne case.0x14006ce69.834
lea rcx, [rbp - 0x50]
call fcn.14008e8e0
sahf
sahf
invalid
dec dword [rax - 0x77]
notrack jmp case.0x140082c46.675
add al, byte [rax]
invalid
mov qword [rbp + 0x3c8], rsi
mov qword [rbp + 0x408], rax
add byte [rax - 0x75], cl
mov rax, qword [rbp - 0x50]
mov al, 0x48
mov dword [rbp + 0x410], eax
test dword [rax], edx
add al, 0
add byte [rax], al
mov qword [rbp + 0x3f0], 0
test eax, esi
add eax, dword [rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov qword [rbp + 0x3f8], 2
mov dword [rbp + 0x3f8], 2
clc
add eax, dword [rax]
add byte [rdx], al
add byte [rax], al
add byte [rax - 0x39], cl
mov dword [rbp + 0x400], 0
add al, 0
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rcx - 0x48], al
mov r8d, 0x200
mov eax, 2
add al, byte [rax]
add byte [rax], al
add byte [rax - 0x77], cl
test dword [rax], ebx
add al, 0
add byte [rax], al
xor edi, edi
xor ebx, ebx
xor r12d, r12d
in al, 0x49
cmp eax, 0x201
clc
add dword [rdx], eax
add byte [rax], al
jae case.0x140013532.2056
invalid
jmp 0x140094a6f
jae 0x140094b43
cmp r8, 0x201
jae case.0x140013532.2056
mov esi, 0x200
lea r13, [rbp - 0x58]
insd dword [rdi], dx
test al, 0x4d
mov edi, eax
jmp 0x140094ad8
pop rbx
sub r8, r12
sub rbx, r12
sub ebx, esp
cmp rbx, r8
cmp ebx, eax
jae case.0x14006ccf2.860
lea rcx, [rbp + 0x3f0]
mov rdx, r12
call fcn.1400b4540
add dword [rax], eax
mov rdi, qword [rbp + 0x3f0]
add eax, dword [rax]
add byte [rax], al
add byte [rax - 0x75], cl
mov rax, qword [rbp + 0x3f8]
add eax, dword [rax]
add byte [rax - 0x77], cl
mov qword [rbp + 0x418], rax
mov dword [rbp + 0x418], eax
add al, 0
invalid
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
invalid
invalid
dec dword [rdi + rcx + 0x42]
cmovb r12, rdi
out 0x4c, eax
mov dword [rbp + 0x400], esp
movsd dword [rdi], dword [rsi]
add byte [rax + rax], al
add byte [rax - 0x77], cl
sti
mov rsi, r12
mov esi, esp
mov r13, qword [rbp + 0x418]
mov ebp, dword [rbp + 0x418]
sbb byte [rax + rax], al
add byte [rax], al
add byte [rbp - 0x77], cl
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
test al, 0x18
add al, byte [rax]
add byte [rax - 0x75], cl
lea edx, [rax]
add al, 0
add byte [rax], al
mov rdx, r13
mov r8d, r15d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
sbb byte [rdx], al
add al, byte [rax]
mov r14d, eax
mov esi, eax
test eax, eax
jne case.0x14006ccf2.865
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
invalid
jne case.0x14001a266.1996
mov r8d, r14d
cmp r15, r8
cmp edi, eax
jne 0x140094a60
invalid
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jp case.0x140074f81.861
test dword [rax], edx
add dword [rax], eax
invalid
add r15, r15
mov eax, 0xffffffff
invalid
invalid
invalid
dec dword [rcx + 0x39]
invalid
cmovae r15, rax
clc
mov r8, r15
cmp r8, 0x201
add dword [rdx], eax
add byte [rax], al
add byte [rdi], cl
invalid
xor edi, edi
invalid
invalid
jmp case.0x140013532.2056
cmp rsi, r8
jb 0x140094c49
invalid
std
add byte [rax], al
invalid
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140092e00
invalid
dec dword [rdi]
movups xmm0, xmmword [rbp + 0x3a8]
adc byte [rbp + 0x3a8], al
test al, 3
add eax, dword [rax]
add byte [rdi], cl
adc byte [rbp + 0x3b8], cl
lea edi, [rax + 0xf000003]
add byte [rax], al
movaps xmmword [rbp + 0x3e0], xmm1
sub dword [rbp + 0x3e0], ecx
invalid
loopne 0x140094b71
add eax, dword [rax]
add byte [rdi], cl
movaps xmmword [rbp + 0x3d0], xmm0
add eax, dword [rax]
add byte [rax - 0x45], cl
mov ebx, 0
add byte [rax], al
add byte [rax], al
add byte [rax], al
sub bl, 0x26
jmp 0x140094ba9
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
and byte [rax - 0x7d], cl
enter 0x4802, 0xffffffffffffff89
mov dword [rbp + 0x3d8], eax
fadd dword [rbx]
add byte [rax], al
movabs rbx, 0x8000000000000000
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax - 0x2f6276b8], al
mov qword [rbp + 0x3d0], rbx
mov dword [rbp + 0x3d0], ebx
popfq
rol byte [rbx], 1
add byte [rax], al
invalid
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
add eax, dword [rax]
invalid
je 0x140094bc6
invalid
mov edx, 2
mov rcx, qword [rbp + 0x418]
lea ebx, [rax]
add al, 0
add al, ch
sub dl, byte [rbx - 9]
idiv edi
invalid
cmp qword [rbp + 0x3d0], rbx
jne 0x140094c0e
invalid
mov qword [rsi], rbx
lea rcx, [rbp + 0x3d8]
add eax, dword [rax]
add al, ch
add bl, byte [rbp - 0x7cb70001]
cmp qword [rbp + 0x408], 0
mov ebp, 0x408
add al, 0
add byte [rax], al
invalid
je case.0x140082c46.675
invalid
mov edx, 2
mov rcx, qword [rbp + 0x410]
mov ecx, dword [rbp + 0x410]
add al, 0
add al, ch
not dword [rdx - 9]
invalid
nop
add rsp, 0x4a8
invalid
test al, 4
add byte [rax], al
pop rbx
pop rdi
pop rsi
pop r12
pop rsp
pop r13
pop r14
pop rsi
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
sub byte [rbp + 0x3e0], cl
loopne 0x140094c1d
add byte [rax], al
add byte [rdi], cl
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rbp + 0x408], 0
cmp dword [rbp + 0x408], 0
add byte [rax], al
add byte [rbp - 0x45], dh
invalid
jmp case.0x140082c46.675
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
add byte [rax], al
call fcn.1400b15d0
leave
add dword [rax], eax
jmp 0x140094c5e
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
ror dword [rax - 0x77], 0xf2
mov r8, rax
call fcn.1400b1550
invalid
invalid
add dword [rax], eax
ud2