Function at 0x140112770
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push rdi
push r14
push r13
push rbp
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
sub esp, 0x4a8
add al, 0
add byte [rax - 0x73], cl
lodsb al, byte [rsi]
and al, 0x80
add byte [rax], al
add byte [rax - 0x39], cl
mov qword [rbp + 0x420], 0xfffffffffffffffe
invalid
invalid
dec dword [rax - 0x77]
mov esi, ecx
lea rcx, [rbp - 0x58]
test al, 0xe8
jle 0x14011275e
invalid
dec dword [rax - 0x75]
mov eax, dword [rbp - 0x58]
test al, 0x48
mov dword [rbp + 0x410], eax
test rax, rax
ror byte [rdi], 0x84
je 0x1401128f7
test byte [rcx + 1], al
add dword [rax], eax
invalid
mov qword [rbp + 0x3c8], rsi
mov rax, qword [rbp - 0x50]
mov r8b, 0x48
mov dword [rbp + 0x408], eax
add al, 0
add byte [rax - 0x39], cl
mov dword [rbp + 0x3f0], 2
lock add eax, dword [rax]
add byte [rax], al
add al, byte [rax]
add byte [rax], al
xorps xmm0, xmm0
ror byte [rdi], 0x11
test eax, edi
clc
add eax, dword [rax]
add byte [rcx - 0x48], al
mov r8d, 0x200
add byte [rax], al
mov eax, 2
add byte [rax], al
add byte [rax - 0x77], cl
mov qword [rbp + 0x418], rax
mov dword [rbp + 0x418], eax
add byte [rax], al
xor edi, edi
xor ebx, ebx
xor r12d, r12d
xor esp, esp
in al, 0x49
cmp eax, 0x201
clc
add dword [rdx], eax
add byte [rax], al
jae 0x140112830
jmp 0x14011281f
jae case.0x140091544.1689
cmp r8, 0x201
jae 0x140112830
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
invalid
jmp 0x140112888
sub r8, r12
sub rbx, r12
cmp rbx, r8
ret
jae 0x14011285f
lea rcx, [rbp + 0x3f0]
mov rdx, r12
call fcn.1401324f0
cmpsb byte [rsi], byte [rdi]
cld
add dword [rax], eax
mov rax, qword [rbp + 0x3f0]
lock add eax, dword [rax]
add byte [rax - 0x77], cl
mov dword [rbp + 0x418], eax
sbb byte [rax + rax], al
add byte [rax], al
mov rdi, qword [rbp + 0x3f8]
mov ebp, 0x3f8
clc
add eax, dword [rax]
invalid
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
invalid
invalid
invalid
dec dword [rdi + rcx + 0x42]
out 0x4c, eax
mov dword [rbp + 0x400], esp
add byte [rax - 0x77], cl
mov rbx, rdi
sti
mov rsi, r12
mov r13, qword [rbp + 0x418]
add al, 0
add byte [rbp - 0x77], cl
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
test al, 0x1a
sbb al, byte [rdx]
add byte [rax - 0x75], cl
lea edx, [rax]
adc byte [rax + rax], al
add byte [rcx + rcx*4 - 0x16], cl
mov r8d, r15d
mov eax, edi
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
jne 0x1401128ba
add al, byte [rax]
mov r14d, eax
test eax, eax
jne 0x1401128b8
invalid
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne case.0x1400f0bcb.783
invalid
mov r8d, r14d
cmp r15, r8
invalid
jne 0x140112810
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401129e2
add r15, r15
mov eax, 0xffffffff
invalid
dec dword [rcx + 0x39]
invalid
cmovae r15, rax
clc
clc
mov r8, r15
cmp r8, 0x201
add byte [rax], al
jb 0x14011281f
invalid
invalid
invalid
jmp 0x140112830
lea rcx, [rbp - 0x50]
call fcn.14010c4f0
wait
invalid
inc esi
sbb byte [rdx], r8b
jmp 0x1401129ac
invalid
add byte [rax], al
add byte [rax], al
cmp rsi, r8
jb case.0x140094d2b.1688
invalid
invalid
add byte [rax], al
invalid
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1401109e0
mov edi, 0xfffffe0
invalid
dec dword [rdi]
movups xmm0, xmmword [rbp + 0x3a8]
adc byte [rbp + 0x3a8], al
add eax, dword [rax]
add byte [rdi], cl
adc byte [rbp + 0x3b8], cl
add byte [rax], al
add byte [rdi], cl
sub dword [rbp + 0x3e0], ecx
invalid
loopne 0x140112937
add byte [rax], al
add byte [rdi], cl
sub dword [rbp + 0x3d0], eax
rol byte [rbx], 1
add byte [rax], al
jmp 0x14011295b
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
loopne 0x140112969
and byte [rax - 0x7d], cl
enter 0x4802, 0xffffffffffffff89
mov dword [rbp + 0x3d0], eax
rol byte [rbx], 1
add byte [rax], al
add dh, al
test eax, ebp
add eax, dword [rax]
add byte [rdx], al
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
mov esi, dword [rbp + 0x3c8]
je case.0x140091544.1710
mov edx, 2
mov rcx, qword [rbp + 0x418]
mov ecx, dword [rbp + 0x418]
sbb byte [rax + rax], al
add byte [rax], al
call fcn.1401224b0
sti
add byte [rax], al
invalid
cmp byte [rbp + 0x3e8], 2
jne case.0x1400fef5d.671
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3d0]
lea ecx, [rbp + 0x3d0]
invalid
rol byte [rbx], 1
add eax, dword [rax]
add al, ch
pop rdi
wait
invalid
dec dword [rax - 0x7d]
cmp qword [rbp + 0x408], 0
mov ebp, 0x408
or byte [rax + rax], al
add al, 0
add byte [rax], al
je 0x1401129ac
invalid
mov edx, 2
mov rcx, qword [rbp + 0x410]
mov ecx, dword [rbp + 0x410]
lea edx, [rax]
add al, 0
add al, ch
call fcn.1401224b0
add al, 0xfb
sti
add byte [rax], al
nop
add rsp, 0x4a8
invalid
test al, 4
add al, 0
add byte [rbx + 0x5f], bl
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rdi
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
loopne 0x1401129d0
add eax, dword [rax]
add byte [rax], al
movups xmmword [rsi + 0x10], xmm1
adc byte [rdi], cl
movups xmmword [rsi], xmm0
adc dword [rsi], eax
cmp qword [rbp + 0x408], 0
or byte [rax + rax], al
add al, 0
add byte [rax], al
jne case.0x1400c19bc.1163
jmp 0x1401129ac
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
xlatb
or eax, dword [rax]
add byte [rdx + 0x28], bh
add byte [rax], al
call fcn.14012e130
add dword [rax], eax
add bl, ch
invalid
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
ror dword [rax - 0x77], 0xf2
mov rdx, rsi
mov r8, rax
mov eax, eax
call fcn.14012e0b0
lahf
mov dh, 1
invalid
ud2