Function at 0x140007b00
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x430], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.14000ff20
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x140007c96
mov qword [rbp + 0x418], rsi
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x3d0], xmm0
mov qword [rbp + 0x3c8], rbx
mov qword [rbp + 0x400], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x408], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x420], rax
xor eax, eax
mov qword [rbp + 0x428], rax
xor r14d, r14d
xor r12d, r12d
cmp r8, 0x201
jae 0x140007bc0
jmp 0x140007bb2
mov rbx, rdi
jae 0x140007ca8
cmp r8, 0x201
jae 0x140007bc0
lea r15, [rbp - 0x58]
mov esi, 0x200
mov r13, r8
jmp 0x140007c26
sub r8, r12
sub r14, r12
cmp r14, r8
mov r14, qword [rbp + 0x428]
jae 0x140007bf6
lea rcx, [rbp + 0x400]
mov rdx, r12
call fcn.14001e870
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x420], rax
mov r14, qword [rbp + 0x408]
mov eax, 0xffffffff
cmp r14, rax
mov r12d, 0xffffffff
cmovb r12, r14
mov qword [rbp + 0x410], r12
mov rax, r14
mov qword [rbp + 0x428], r14
mov r15, qword [rbp + 0x420]
mov rsi, r12
mov r13, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rdi, rbx
mov rcx, rbx
mov rdx, r15
mov r8d, r13d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov ebx, eax
test eax, eax
jne 0x140007c54
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140007d7b
mov r8d, ebx
cmp r13, r8
jne 0x140007ba0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140007daf
mov rbx, rdi
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jb 0x140007bb2
jmp 0x140007bc0
lea rcx, [rbp - 0x50]
call fcn.140005850
mov byte [rsi + 0x18], 2
jmp 0x140007d3a
cmp rsi, r8
jb 0x140007dc9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1400094e0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3f0], xmm1
movaps xmmword [rbp + 0x3e0], xmm0
mov rdx, qword [rbp + 0x428]
test rdx, rdx
je 0x140007cfd
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x420]
call fcn.140002430
cmp byte [rbp + 0x3f8], 2
jne 0x140007d51
mov rsi, qword [rbp + 0x418]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3e0]
call fcn.140005850
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
je 0x140007d3a
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.140002430
mov rax, rsi
add rsp, 0x4b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3e0]
movaps xmm1, xmmword [rbp + 0x3f0]
mov rsi, qword [rbp + 0x418]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
jne 0x140007d29
jmp 0x140007d3a
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3e0], rax
mov byte [rbp + 0x3f8], 2
mov rbx, rdi
mov rdx, qword [rbp + 0x428]
test rdx, rdx
jne 0x140007ce8
jmp 0x140007cfd
lea rcx, str.internal_error:_entered_unreachable_code_rustc_18bfe5d8a9ca0e226171e98f8f4ef071790f3352library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001f3b0
jmp 0x140007dde
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001f800
ud2