Function at 0x140080130
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.14007c1f0
mov rax, qword [rbp - 0x58]
movabs rdi, 0x8000000000000000
cmp rax, rdi
jne 0x140080186
lea rcx, [rbp - 0x50]
call fcn.14007a0a0
mov qword [rsi], rdi
jmp 0x140080389
mov qword [rbp + 0x3c8], rsi
mov qword [rbp + 0x408], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x410], rax
mov qword [rbp + 0x3f0], 0
test eax, esi
add eax, dword [rax]
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test eax, edi
add eax, dword [rax]
add byte [rdx], al
add byte [rax], al
add byte [rax - 0x39], cl
mov dword [rbp + 0x400], 0
mov r8d, 0x200
mov eax, 2
add al, byte [rax]
add byte [rax], al
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
in al, 0x49
cmp eax, 0x201
add byte [rax], al
jae 0x140080210
jmp 0x1400801ff
jae 0x1400802d3
cmp r8, 0x201
jae 0x140080210
mov esi, 0x200
lea r13, [rbp - 0x58]
insd dword [rdi], dx
test al, 0x4d
mov edi, eax
jmp 0x140080268
sub r8, r12
sub rbx, r12
cmp rbx, r8
cmp ebx, eax
ret
jae 0x14008023f
lea rcx, [rbp + 0x3f0]
mov rdx, r12
call fcn.140099170
add dword [rax], eax
mov rdi, qword [rbp + 0x3f0]
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x418], rax
mov dword [rbp + 0x418], eax
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
invalid
invalid
dec dword [rdi + rcx + 0x42]
out 0x4c, eax
mov dword [rbp + 0x400], esp
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x418]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov byte [rax - 0x74b7ffff], ah
lea edx, [rax]
add al, 0
add byte [rcx + rcx*4 - 0x16], cl
mov r8d, r15d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x140080294
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140080313
mov r8d, r14d
cmp r15, r8
jne 0x1400801f0
invalid
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jp 0x1400802b9
jne case.0x140035d2e.1064
add byte [rax], al
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
clc
mov r8, r15
cmp r8, 0x201
jb 0x1400801ff
invalid
jmp 0x140080210
cmp rsi, r8
jb 0x1400803d9
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14007e7a0
movups xmm0, xmmword [rbp + 0x3a8]
add eax, dword [rax]
add byte [rdi], cl
adc byte [rbp + 0x3b8], cl
movaps xmmword [rbp + 0x3e0], xmm1
movaps xmmword [rbp + 0x3d0], xmm0
test eax, edx
add eax, dword [rax]
add byte [rax - 0x45], cl
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
sub bl, 0x26
jmp 0x140080339
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
enter 0x4802, 0xffffffffffffff89
mov dword [rbp + 0x3d8], eax
movabs rbx, 0x8000000000000000
add byte [rax - 0x2f6276b8], al
mov dword [rbp + 0x3d0], ebx
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
add byte [rax], al
je 0x140080356
invalid
mov edx, 2
mov rcx, qword [rbp + 0x418]
call fcn.140095b70
sbb bl, byte [rax + 1]
invalid
cmp qword [rbp + 0x3d0], rbx
jne 0x14008039e
mov qword [rsi], rbx
lea rcx, [rbp + 0x3d8]
lea ecx, [rbp + 0x3d8]
add eax, dword [rax]
add al, ch
xor bl, byte [rbp - 0x7cb70001]
mov ebp, 0x408
add byte [rax], al
je 0x140080389
invalid
mov edx, 2
mov rcx, qword [rbp + 0x410]
call fcn.140095b70
out 0x57, eax
add dword [rax], eax
invalid
nop
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop rsi
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
invalid
loopne 0x1400803ad
add byte [rax], al
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
adc dword [rsi], eax
cmp qword [rbp + 0x408], 0
add byte [rax], al
add byte [rbp - 0x45], dh
jmp 0x140080389
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
lea eax, [0x1400ce548]
add al, 0
mov edx, 0x28
call fcn.140096e30
pop rcx
push 1
add dword [rax], eax
jmp 0x1400803ee
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
ror dword [rax - 0x77], 0xf2
mov rdx, rsi
mov r8, rax
mov eax, eax
call fcn.140096db0
invalid
add dword [rax], eax
ud2