Function at 0x14014fe70
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]
movaps xmmword [rbp + 0x410], xmm6
mov qword [rbp + 0x408], 0xfffffffffffffffe
add al, 0
add dh, bh
invalid
invalid
dec dword [rax - 0x77]
invalid
lea rcx, [rbp - 0x60]
call fcn.14014b9a0
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x3e0], rax
test rax, rax
je case.0x14011ca0b.768
add dword [rax], eax
invalid
mov qword [rbp + 0x3f8], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x3d8], rax
mov qword [rbp + 0x3c0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x400], rax
add byte [rcx], dh
push qword [rcx]
fild dword [rbp + 0x31]
in al, 0x49
cmp eax, 0x201
add dword [rdx], eax
add byte [rax], al
jae 0x14014ff30
jmp 0x14014ff1f
jae 0x140150009
cmp r8, 0x201
jae 0x14014ff30
mov esi, 0x200
lea r13, [rbp - 0x60]
mov r15, r8
jmp 0x14014ff88
pop rbx
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14014ff5f
lea rcx, [rbp + 0x3c0]
mov rdx, r12
call fcn.14018b7c0
mov rax, qword [rbp + 0x3c0]
mov qword [rbp + 0x400], rax
mov rdi, qword [rbp + 0x3c8]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d0], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x400]
mov r15, r12
mov edi, esp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x3e0]
mov rdx, r13
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x14014ffb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140150137
mov r8d, r14d
cmp r15, r8
jne 0x14014ff10
invalid
invalid
invalid
invalid
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne case.0x14011ca0b.785
add r15, r15
mov eax, 0xffffffff
dec dword [rcx + 0x39]
invalid
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
add byte [rax], al
jb 0x14014ff1f
jmp 0x14014ff30
lea rcx, [rbp - 0x60]
call fcn.14014bb80
mov byte [rsi + 0x18], 2
jmp 0x14015011c
add byte [rax], al
cmp rsi, r8
jb 0x1401501b1
lea rcx, [rbp + 0x3a0]
mov rdx, r13
mov edx, ebp
call fcn.14014e2d0
mov rsi, qword [rbp + 0x3a0]
movabs al, byte [0x3a8b5100f000003]
add byte [rax], al
movzx ebx, byte [rbp + 0x3b8]
mov eax, dword [rbp + 0x3b9]
invalid
invalid
add eax, dword [rax]
add byte [rax], al
mov dword [rbp + 0x3f0], eax
mov eax, dword [rbp + 0x3bc]
mov dword [rbp + 0x3f3], eax
test rdi, rdi
je 0x140150069
mov rcx, qword [0x14023c258]
xor edx, edx
mov r8, qword [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp bl, 2
jne 0x1401500d9
mov rax, qword [rbp + 0x3f8]
mov byte [rax + 0x18], 2
mov eax, esi
and eax, 3
loopne 0x140150081
lea rcx, [rax - 2]
cmp rcx, 2
stc
add dh, byte [rdx + 0x74]
test rax, rax
je 0x1401500fc
lea rax, [rsi - 1]
mov qword [rbp + 0x400], rax
mov rcx, qword [rsi - 1]
dec qword [rax - 0x75]
invalid
invalid
mov qword [rbp + 0x3e8], rcx
mov qword [rbp + 0x3f8], rax
call qword [rax]
mov rax, qword [rbp + 0x3f8]
cmp qword [rax + 8], 0
or byte [rax], al
je case.0x140119330.809
cmp qword [rax + 0x10], 0x11
jae 0x140150157
mov r8, qword [rbp + 0x3e8]
jmp 0x140150162
mov eax, dword [rbp + 0x3f0]
mov ecx, dword [rbp + 0x3f3]
mov rdx, qword [rbp + 0x3f8]
add byte [rax], al
mov dword [rdx + 0x1c], ecx
mov dword [rdx + 0x19], eax
invalid
mov qword [rdx], rsi
movups xmmword [rdx + 8], xmm6
mov byte [rdx + 0x18], bl
cmp qword [rbp + 0x3d8], 0
je 0x14015011c
mov rcx, qword [0x14023c258]
xor edx, edx
mov r8, qword [rbp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movaps xmm6, xmmword [rbp + 0x410]
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop rbp
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
out 0x20, al
or rsi, 2
mov bl, 2
test rdi, rdi
jne 0x140150053
invalid
invalid
invalid
jmp 0x140150069
mov r8, qword [rbp + 0x3e8]
mov r8, qword [r8 - 8]
clc
mov rcx, qword [0x14023c258]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add eax, dword [rax]
mov rcx, qword [0x14023c258]
xor edx, edx
mov r8, qword [rbp + 0x400]
add bh, bh
adc eax, 0x3eea1
cmp qword [rbp + 0x3d8], 0
jne 0x140150106
jno 0x140150192
invalid
invalid
jmp 0x14015011c
lea rcx, str.internal_error:_entered_unreachable_code_rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_std_src_threadmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140186b70
jmp case.0x140119330.814
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140186af0
add eax, dword [rax]
ud2