Function at 0x140073eb0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x440], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.14007fa80
mov r15, qword [rbp - 0x50]
test r15, r15
je 0x140074067
mov qword [rbp + 0x420], rsi
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x428], rcx
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], r15
mov qword [rbp + 0x3d8], rax
mov qword [rbp + 0x408], 0
mov qword [rbp + 0x410], 2
mov qword [rbp + 0x418], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x430], rax
xor eax, eax
mov qword [rbp + 0x438], rax
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x140073f90
jmp 0x140073f82
mov r15, rdi
jae 0x140074079
cmp r8, 0x201
jae 0x140073f90
lea r12, [rbp - 0x58]
mov ebx, 0x200
mov rsi, r8
jmp 0x140073ff6
sub r8, r13
sub r14, r13
cmp r14, r8
mov r14, qword [rbp + 0x438]
jae 0x140073fc6
lea rcx, [rbp + 0x408]
mov rdx, r13
call fcn.1400aff80
mov r14, qword [rbp + 0x408]
mov rax, qword [rbp + 0x410]
mov qword [rbp + 0x430], rax
mov eax, 0xffffffff
cmp r14, rax
mov r13d, 0xffffffff
cmovb r13, r14
mov qword [rbp + 0x418], r13
mov rax, r14
mov qword [rbp + 0x438], r14
mov r12, qword [rbp + 0x430]
mov rbx, r13
mov rsi, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rdi, r15
mov rcx, r15
mov rdx, r12
mov r8d, esi
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r15d, eax
test eax, eax
jne 0x140074025
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14007414c
mov r8d, r15d
cmp rsi, r8
jne 0x140073f70
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140074180
mov r15, rdi
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r8, rsi
cmp r8, 0x201
jb 0x140073f82
jmp 0x140073f90
lea rcx, [rbp - 0x58]
call fcn.140071790
mov byte [rsi + 0x18], 2
jmp 0x14007410b
cmp rbx, r8
jb 0x14007419a
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.140077f20
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3f0], xmm1
movaps xmmword [rbp + 0x3e0], xmm0
mov rdx, qword [rbp + 0x438]
test rdx, rdx
je 0x1400740ce
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x430]
call fcn.140009860
cmp byte [rbp + 0x3f8], 2
jne 0x140074122
mov rsi, qword [rbp + 0x420]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3e0]
call fcn.140071790
mov rdx, qword [rbp + 0x428]
test rdx, rdx
je 0x14007410b
add rdx, rdx
mov r8d, 2
mov rcx, r15
call fcn.140009860
mov rax, rsi
add rsp, 0x4c8
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 + 0x420]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x428]
test rdx, rdx
jne 0x1400740fa
jmp 0x14007410b
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3e0], rax
mov byte [rbp + 0x3f8], 2
mov r15, rdi
mov rdx, qword [rbp + 0x438]
test rdx, rdx
jne 0x1400740b9
jmp 0x1400740ce
lea rcx, [0x1400ee3e3]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400b0cb0
jmp 0x1400741af
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.1400b10a0
ud2