Function at 0x1400802b0
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.14007c370
mov rax, qword [rbp - 0x58]
movabs rdi, 0x8000000000000000
cmp rax, rdi
jne 0x140080306
lea rcx, [rbp - 0x50]
call fcn.14007a220
mov qword [rsi], rdi
jmp 0x140080509
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
jae 0x140080390
jmp 0x14008037f
jae 0x140080453
cmp r8, 0x201
jae 0x140080390
mov esi, 0x200
lea r13, [rbp - 0x58]
insd dword [rdi], dx
test al, 0x4d
mov edi, eax
jmp 0x1400803e8
sub r8, r12
sub rbx, r12
cmp rbx, r8
cmp ebx, eax
jae 0x1400803bf
lea rcx, [rbp + 0x3f0]
mov rdx, r12
call fcn.140099160
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]
nop
lahf
add dword [rax], eax
mov rcx, qword [rbp + 0x410]
mov rdx, r13
mov r8d, r15d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x140080414
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140080493
mov r8d, r14d
cmp r15, r8
jne 0x140080370
invalid
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jp 0x140080439
test dword [rax], edx
add dword [rax], eax
invalid
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
clc
mov r8, r15
cmp r8, 0x201
jb 0x14008037f
invalid
jmp 0x140080390
cmp rsi, r8
jb 0x140080559
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14007e920
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
movabs rbx, 0x8000000000000000
jmp 0x1400804b9
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3d8], rax
mov dword [rbp + 0x3d8], eax
movabs rbx, 0x8000000000000000
mov qword [rbp + 0x3d0], rbx
mov dword [rbp + 0x3d0], ebx
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
je 0x1400804d6
invalid
mov edx, 2
mov rcx, qword [rbp + 0x418]
call fcn.1400023c0
invalid
cmp qword [rbp + 0x3d0], rbx
jne 0x14008051e
mov qword [rsi], rbx
lea rcx, [rbp + 0x3d8]
add eax, dword [rax]
add al, ch
xor bl, byte [rbp - 0x7cb70001]
mov ebp, 0x408
invalid
je 0x140080509
invalid
mov edx, 2
mov rcx, qword [rbp + 0x410]
call fcn.1400023c0
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]
loopne 0x14008052d
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 0x140080509
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
lea eax, [0x1400ce528]
add al, 0
mov edx, 0x28
call fcn.140096e20
leave
push 0x15eb0001
jmp 0x14008056e
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
ror dword [rax - 0x77], 0xf2
mov rdx, rsi
mov r8, rax
call fcn.140096da0
invalid
add dword [rax], eax
ud2