Function at 0x14000b8d0
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 + 0x50], 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 0x14000b974
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14000b962
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14000bcc7
mov ebx, 0x80004005
jmp 0x14000bcc7
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 dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14000b9a0
mov r14, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x14000b9fa
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 0x14000ba18
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 0x14000bcc7
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 + 0x38], 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 + 0x58], 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 + 0x48], 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 + 0x38]
movsd qword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [rsp + 0x58]
movsd qword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [rsp + 0x48]
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 0x14000bcc7
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x38]
mov ecx, 0x18
call fcn.1400816b0
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000bba3
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [0x1400db4a8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x14000bd61
jmp 0x14000bba6
mov rdi, r15
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x14000bd77
lea r8, [rsp + 0x50]
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x40]
call rbx
mov ebx, eax
lock xadd dword [rdi + 0x10], esi
cmp esi, 1
jne 0x14000bbff
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000bbe0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000bbf2
call fcn.1400816f4
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.1400816f4
test ebx, ebx
js 0x14000bcc7
mov qword [rsp + 0x38], r15
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rsi, qword [rdx + 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 + 0x48], rax
test rax, rax
je 0x14000bc67
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 0x14000bc6a
test rdi, rdi
jne 0x14000bd6c
jmp 0x14000bc6a
mov rbx, r15
mov qword [rsp + 0x48], rbx
test rbx, rbx
je 0x14000bd82
lea r8, [rsp + 0x38]
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x50]
call rsi
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.14000a420
test ebx, ebx
js 0x14000bcc7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
js 0x14000bcc7
mov ebx, 0x80004005
cmp word [rsp + 0x30], 0xffff
cmove ebx, r15d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000bcd7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000bce7
mov rax, qword [rcx]
call qword [rax + 0x10]
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x14000bd2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bd27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bd5b
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
call fcn.140088774
nop
mov ecx, 0x8007000e
call fcn.140082920
nop
mov ecx, 0x8007000e
call fcn.140082920
nop
mov ecx, 0x8007000e
call fcn.140082920
int3
mov ecx, 0x8007000e
call fcn.140082920
int3