Function at 0x140100d20
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push rsi
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
add byte [rax], al
add byte [rax - 0x73], cl
lodsb al, byte [rsi]
and al, 0x80
add byte [rax], 0
invalid
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
invalid
lea rcx, [rbp - 0x58]
call fcn.1400fc480
invalid
dec dword [rax - 0x75]
mov eax, dword [rbp - 0x58]
test al, 0x48
mov edi, 0
add byte [rax], al
invalid
or byte [rax + 0x39], 0xf8
jne case.0x1400d63a3.959
lea rcx, [rbp - 0x50]
call fcn.1400fa2e0
jb 0x140100d01
invalid
dec dword [rax - 0x77]
notrack jmp 0x140100f9c
add al, byte [rax]
invalid
mov qword [rbp + 0x3c8], rsi
mov qword [rbp + 0x418], rax
mov rax, qword [rbp - 0x50]
mov al, 0x48
mov dword [rbp + 0x408], eax
mov qword [rbp + 0x3f0], 0
mov qword [rbp + 0x3f8], 2
mov qword [rbp + 0x400], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x410], rax
xor ebx, ebx
xor edi, edi
invalid
xor r13d, r13d
cmp r8, 0x201
jae 0x140100e00
jmp case.0x1400d63a3.967
jae 0x140100ec2
cmp r8, 0x201
jae 0x140100e00
mov r15d, 0x200
lea r14, [rbp - 0x58]
mov r12, r8
jmp 0x140100e58
sub r8, r13
sub rdi, r13
cmp rdi, r8
jae 0x140100e2f
lea rcx, [rbp + 0x3f0]
mov rdx, r13
invalid
call fcn.140160370
add byte [rax - 0x75], cl
popfq
lock add eax, dword [rax]
add byte [rax - 0x75], cl
test eax, edi
add eax, dword [rax]
add byte [rax - 0x77], cl
test dword [rax], edx
adc byte [rax + rax], al
invalid
mov eax, 0xffffffff
cmp rbx, rax
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rbp + 0x400], r13
mov rdi, rbx
mov r15, r13
mov r14, qword [rbp + 0x410]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
xor eax, 0x8b480006
lea ecx, [rax]
add al, 0
add byte [rcx + rcx*4 - 0xe], cl
mov edx, esi
mov r8d, r12d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
invalid
jne 0x140100e83
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140100f02
mov r8d, esi
cmp r12, r8
cmp esp, eax
jne 0x140100de0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140100fb3
cmp r15, r8
jb 0x140100fcd
lea rcx, [rbp + 0x3a8]
mov rdx, r14
call fcn.1400fe180
cmpsb byte [rsi], byte [rdi]
sar bh, cl
dec dword [rdi]
adc byte [rbp + 0x3a8], al
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3e0], xmm1
add eax, dword [rax]
add byte [rdi], cl
sub dword [rbp + 0x3d0], eax
rol byte [rbx], 1
add byte [rax], al
movabs rdi, 0x8000000000000000
jmp 0x140100f28
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
loopne 0x140100f2c
or rax, 2
mov qword [rbp + 0x3d8], rax
movabs rdi, 0x8000000000000000
mov qword [rbp + 0x3d0], rdi
test rbx, rbx
mov rsi, qword [rbp + 0x3c8]
je 0x140100f4c
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x410]
lea edx, [rax]
add al, 0
add byte [rax - 0x77], cl
invalid
call fcn.14007ead0
cmp qword [rbp + 0x3d0], rdi
jne 0x140100f66
mov qword [rsi], rdi
lea rcx, [rbp + 0x3d8]
invalid
fadd dword [rbx]
add byte [rax], al
call fcn.1400fa2e0
jmp case.0x14006f413.2949
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
loopne 0x140100f75
add byte [rax], al
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
je 0x140100f9c
add rdx, rdx
mov r8d, 2
mov eax, 2
mov rcx, qword [rbp + 0x408]
call fcn.14007ead0
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14015b170
ud2