Function at 0x14000b3b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x140104200]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xor r15d, r15d
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r15w
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8d, 0x101
lea rdx, [rbp + 0x90]
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x14000b4e7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14000b446
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14000b44f
mov ebx, 0x80004005
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b45f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000b46f
mov rax, qword [rcx]
call qword [rax + 0x10]
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x14000b4b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b4b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b8bd
call fcn.1400816f4
movzx eax, bl
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140081690
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov r8d, 0xc
lea rdx, str.Autorun_for
lea rcx, [rbp + 0x70]
call fcn.1400084e0
lea rax, [rbp + 0x90]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14000b510
mov r14, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x14000b56a
lea rax, [rdi + r14]
mov qword [rbp + 0x80], rax
lea rbx, [rbp + 0x70]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x70]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
lea rdx, [rbp + 0x90]
call fcn.140083ba0
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
jmp 0x14000b588
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x90]
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.14000be20
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cb0e0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400cb0f0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x14000b44f
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x50]
lea rcx, [rbp - 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [rbp - 0x48]
movsd qword [rsp + 0x58], xmm0
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [rbp - 0x60]
movsd qword [rsp + 0x38], xmm0
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [rbp - 0x78]
movsd qword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [rsp + 0x58]
movsd qword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [rsp + 0x38]
movsd qword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp + 0x60], xmm1
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x50]
mov rcx, qword [rsp + 0x40]
call rbx
mov ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
js 0x14000b44f
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x38]
mov ecx, 0x18
call fcn.1400816b0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000b713
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [0x1400db4a8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14000b89c
jmp 0x14000b716
mov rbx, r15
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14000b8c3
lea r8, [rsp + 0x48]
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x40]
call rdi
mov edi, eax
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x14000b76f
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000b750
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000b762
call fcn.1400816f4
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400816f4
test edi, edi
jns 0x14000b77b
mov ebx, r15d
jmp 0x14000b44f
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x68]
lea rdi, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdi, qword [rbp + 0x70]
mov ecx, 0x18
call fcn.1400816b0
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000b7db
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14000b7de
test rdi, rdi
jne 0x14000b8a7
jmp 0x14000b7de
mov rbx, r15
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x14000b891
lea r8, [rsp + 0x50]
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x48]
call rsi
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.14000a420
test ebx, ebx
js 0x14000b44f
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov rsi, qword [rdx + 0x78]
lea rdi, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdi, qword [rbp + 0x70]
mov ecx, 0x18
call fcn.1400816b0
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000b866
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14000b869
test rdi, rdi
jne 0x14000b8b2
jmp 0x14000b869
mov rbx, r15
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x14000b891
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x48]
call rsi
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.14000a420
jmp 0x14000b44f
mov ecx, 0x8007000e
call fcn.140082920
nop
mov ecx, 0x8007000e
call fcn.140082920
nop
mov ecx, 0x8007000e
call fcn.140082920
nop
mov ecx, 0x8007000e
call fcn.140082920
nop
call fcn.140088774
nop
mov ecx, 0x8007000e
call fcn.140082920
int3