Function at 0x140084eb0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push rdi
push r14
push r13
push rbp
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
add al, 0
add byte [rax - 0x73], cl
lea rbp, [rsp + 0x80]
lea ebp, [rsp + 0x80]
and al, 0x80
add byte [rax], al
add byte [rax - 0x39], cl
test dword [rax], esp
and byte [rax + rax], al
add dh, bh
invalid
invalid
dec dword [rax - 0x77]
mov rsi, rcx
mov esi, ecx
lea rcx, [rbp - 0x58]
test al, 0xe8
pop rsi
sar bh, 0xff
mov rax, qword [rbp - 0x58]
test al, 0x48
test al, 0x48
mov qword [rbp + 0x410], rax
test dword [rax], edx
add al, 0
add byte [rax - 0x7b], cl
ror byte [rdi], 0x84
je 0x140085037
add dword [r8], eax
invalid
mov qword [rbp + 0x3c8], rsi
mov rax, qword [rbp - 0x50]
mov eax, dword [rbp - 0x50]
mov al, 0x48
mov dword [rbp + 0x408], eax
test dword [rax], ecx
add al, 0
add byte [rax], al
add byte [rax - 0x39], cl
test eax, esi
add eax, dword [rax]
add byte [rdx], al
add byte [rax], al
add byte [rdi], cl
push rdi
ror byte [rdi], 0x11
test eax, edi
clc
add eax, dword [rax]
add byte [rax], al
add byte [rcx - 0x48], al
mov r8d, 0x200
add byte [rax], al
add byte [rax + 2], bh
add byte [rax], al
add byte [rax - 0x77], cl
mov qword [rbp + 0x418], rax
mov dword [rbp + 0x418], eax
add al, 0
add byte [rcx], dh
push qword [rcx]
fild dword [rbp + 0x31]
in al, 0x49
cmp r8, 0x201
add al, byte [rax]
add byte [rbx + 0x31], dh
jae 0x140084f70
jmp 0x140084f5f
jae 0x140085049
cmp r8, 0x201
jae 0x140084f70
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
mov edi, eax
invalid
jmp 0x140084fc8
sub r8, r12
sub rbx, r12
cmp rbx, r8
ret
jae 0x140084f9f
invalid
lea rcx, [rbp + 0x3f0]
mov rdx, r12
call fcn.14009ff60
invalid
scasd eax, dword [rdi]
add dword [rax], eax
mov rax, qword [rbp + 0x3f0]
mov eax, dword [rbp + 0x3f0]
add eax, dword [rax]
add byte [rax], al
mov qword [rbp + 0x418], rax
sbb byte [rax + rax], al
add byte [rax - 0x75], cl
mov ebp, 0x3f8
add eax, dword [rax]
invalid
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
mov esp, 0xffffffff
invalid
invalid
dec dword [rdi + rcx + 0x42]
out 0x4c, eax
mov qword [rbp + 0x400], r12
mov rbx, rdi
mov ebx, edi
mov rsi, r12
mov r13, qword [rbp + 0x418]
add al, 0
add byte [rbp - 0x77], cl
invalid
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
test al, 0xc3
add dword [rax], eax
mov rcx, qword [rbp + 0x410]
adc byte [rax + rax], al
add byte [rcx + rcx*4 - 0x16], cl
mov r8d, r15d
mov eax, edi
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r14d, eax
mov esi, eax
test eax, eax
jne 0x140084ff8
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14008507f
add byte [rax], al
invalid
mov r8d, r14d
cmp r15, r8
invalid
jne case.0x140061a07.797
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne case.0x140061a07.825
test dword [rdi], ecx
add dword [rax], eax
invalid
add r15, r15
mov eax, 0xffffffff
invalid
invalid
invalid
dec dword [rcx + 0x39]
invalid
cmovae r15, rax
cmovae edi, eax
mov r8, r15
cmp r8, 0x201
add dword [rdx], eax
add byte [rax], al
jb 0x140084f5f
invalid
invalid
jmp 0x140084f70
lea rcx, [rbp - 0x50]
call fcn.14007ede0
mov byte [rsi + 0x18], 2
sbb byte [rdx], r8b
jmp 0x1400850ec
invalid
add byte [rax], al
invalid
cmp rsi, r8
jb 0x14008513c
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400832f0
movups xmm0, xmmword [rbp + 0x3a8]
test dword [rax + 0xf000003], ebp
add byte [rdi], cl
adc byte [rbp + 0x3b8], cl
movaps xmmword [rbp + 0x3e0], xmm1
add byte [rax], al
movaps xmmword [rbp + 0x3d0], xmm0
test eax, edx
add eax, dword [rax]
add bl, ch
invalid
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3d0], rax
mov byte [rbp + 0x3e8], 2
call 0x14208509e
invalid
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
invalid
je 0x1400850b8
mov edx, 2
mov rcx, qword [rbp + 0x418]
add al, ch
invalid
and al, 0xf8
invalid
cmp byte [rbp + 0x3e8], 2
jne 0x140085101
invalid
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3d0]
call fcn.14007ede0
setge bh
popfq
invalid
dec dword [rax - 0x7d]
cmp dword [rbp + 0x408], 0
je 0x1400850ec
mov edx, 2
mov rcx, qword [rbp + 0x410]
call fcn.140007570
clc
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 r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
adc byte [rdi], r9b
adc dword [rsi], eax
cmp qword [rbp + 0x408], 0
jne 0x1400850db
jmp 0x1400850ec
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
add eax, 0x546b8
mov edx, 0x28
call fcn.14009d5e0
jmp 0x140085151
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14009d560
ud2