Function at 0x140064150
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
push rcx
pop rsi
nop
lea rcx, [rsp + 0x98]
call fcn.140064430
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
or rax, rax
je 0x1400642bb
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov esi, 0xffffffff
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x140064210
jmp 0x1400641ef
jae 0x1400642ce
cmp r8, 0x201
jae 0x140064210
mov edi, 0x200
lea rbp, [rsp + 0x98]
mov r12, r8
jmp 0x140064257
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x140064237
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.140047740
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x50]
cmp rbx, rsi
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x58], r13
mov r14, rbx
mov rdi, r13
mov rbp, qword [rsp + 0x28]
mov r12, r13
sub ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x30]
push rbp
nop
pop rdx
mov r8d, r12d
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r15d, eax
or eax, eax
jne 0x140064282
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140064392
mov r8d, r15d
cmp r12, r8
jne 0x1400641e0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400643b2
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
cmp r8, 0x201
jb 0x1400641ef
jmp 0x140064210
mov rcx, qword [rsp + 0xa0]
call fcn.1400635b0
mov byte [rsi + 0x18], 2
jmp 0x14006434d
cmp rdi, r8
jb 0x1400643cc
lea rcx, [rsp + 0x60]
push rbp
pop rdx
nop
call fcn.14004f770
mov rdi, qword [rsp + 0x60]
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
movzx esi, byte [rsp + 0x78]
mov eax, dword [rsp + 0x79]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x23], eax
test rbx, rbx
je 0x14006431f
mov edx, 2
mov rcx, qword [rsp + 0x28]
call fcn.140005c70
cmp sil, 2
jne 0x140064362
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x18], 2
push rdi
nop
pop rcx
call fcn.1400635b0
cmp qword [rsp + 0x40], 0
je 0x14006434d
mov edx, 2
mov rcx, qword [rsp + 0x30]
call fcn.140005c70
nop
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x38]
mov qword [rdx], rdi
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rdx + 8], xmm0
mov byte [rdx + 0x18], sil
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x23]
mov dword [rdx + 0x19], eax
mov dword [rdx + 0x1c], ecx
cmp qword [rsp + 0x40], 0
jne 0x14006433e
jmp 0x14006434d
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov sil, 2
test rbx, rbx
jne 0x140064310
jmp 0x14006431f
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmcmod.rs
lea r8, str.library_std_src_syswindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14000dc00
jmp 0x1400643e1
lea rax, str.library_std_src_syswindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
nop
push rdi
pop rdx
mov r8, rax
call fcn.14000e810
ud2