Function at 0x14000266c
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x22b0
call fcn.140008940
sub rsp, rax
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rsp + 0x22a0], rax
mov r15, r8
mov qword [rsp + 0x60], r8
mov r13, rdx
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x70], r9
xor esi, esi
mov word [rsp + 0x30], si
lea rdx, [rsp + 0x2a0]
call fcn.140003080
test eax, eax
js 0x1400026f1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x2a0]
call fcn.140004da4
test eax, eax
jne 0x140002714
mov eax, 0x80020009
mov rcx, qword [rsp + 0x22a0]
xor rcx, rsp
call fcn.1400089a0
add rsp, 0x22b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rdx, qword [r12]
movzx ecx, word [rdx]
sub ecx, 9
je 0x140002b31
sub ecx, 1
je 0x140002b31
sub ecx, 3
je 0x140002b31
cmp ecx, 0x13
je 0x140002b31
lea rdx, [rsp + 0x2a0]
mov rcx, r12
call fcn.140003080
test eax, eax
js 0x1400026f1
movzx eax, word [rsp + 0x30]
cmp eax, 8
je 0x140002ac3
cmp eax, 0x11
je 0x14000292c
cmp eax, 0x13
je 0x1400028ec
cmp eax, 0x4008
jne 0x140002b18
lea rcx, [rsp + 0x2a0]
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rcx + rax*2], si
jne 0x14000278d
add eax, 2
mov qword [rsp + 0x190], rsi
movsxd rcx, eax
test eax, eax
je 0x1400027de
xor edx, edx
mov rax, rdi
div rcx
cmp rax, 2
jb 0x140002b43
lea rdx, [rcx + rcx]
cmp rdx, 0x100
jbe 0x1400027de
lea rcx, [rsp + 0x190]
call fcn.140002b5c
mov rbx, qword [rsp + 0x190]
jmp 0x1400027ee
lea rbx, [rsp + 0x198]
mov qword [rsp + 0x190], rbx
jmp 0x14000280d
test rbx, rbx
je 0x1400028c4
lea r14, [rsp + 0x2a0]
cmp word [rsp + 0x2a0], si
je 0x140002863
mov rcx, r14
call qword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [r14]
cmp cx, 0x5c
jne 0x140002852
cmp word [rax], 0x30
jne 0x140002852
mov word [rbx], si
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov r14, rax
jmp 0x140002859
mov word [rbx], cx
add r14, 2
add rbx, 2
cmp word [r14], si
jne 0x140002828
and dword [rbx], 0
mov rbx, qword [rsp + 0x190]
test rbx, rbx
jne 0x140002878
lea edi, [rbx + 0xd]
jmp 0x1400028c9
mov r9d, esi
mov r8, rbx
mov rcx, rdi
inc rcx
cmp word [r8 + rcx*2], si
jne 0x140002881
inc ecx
lea r8, [r8 + rcx*2]
lea r9d, [r9 + rcx*2]
cmp ecx, 1
jne 0x14000287e
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rbx
lea r9d, [rcx + 6]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rbx, qword [rsp + 0x190]
jmp 0x1400028c9
mov edi, 0xe
lea rax, [rsp + 0x198]
cmp rbx, rax
je 0x140002b08
lea rcx, [rsp + 0x190]
call fcn.140002f08
jmp 0x140002b08
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x1400026f1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov r9d, 4
jmp 0x140002af1
lea rax, [rsp + 0x2a0]
or rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], si
jne 0x14000293b
mov dword [rsp + 0x38], ebx
test bl, 1
jne 0x1400029fe
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movsxd r15, eax
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x80], rsi
mov r14, r15
mov qword [rsp + 0x40], r15
test eax, eax
je 0x1400029a9
xor edx, edx
mov rax, rdi
div r14
cmp rax, 1
jb 0x140002b4e
cmp r14, 0x100
jbe 0x1400029a9
mov rdx, r14
lea rcx, [rsp + 0x80]
call fcn.140002b5c
mov rcx, qword [rsp + 0x80]
jmp 0x1400029b9
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x80], rcx
jmp 0x1400029ec
test rcx, rcx
jne 0x140002a08
lea rcx, [rsp + 0x80]
call fcn.140002f08
mov eax, 0x80004005
jmp 0x1400026f1
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r14d, esi
movsxd rax, ebx
test ebx, ebx
jle 0x140002a72
mov r13, rsi
mov r15, rax
mov eax, r14d
test r14d, r14d
jns 0x140002a2e
lea eax, [r14 + 1]
sar eax, 1
movsxd rdi, eax
mov rbx, qword [rsp + 0x80]
movzx ecx, word [rsp + r13*2 + 0x2a0]
call fcn.140002d10
mov dl, al
mov ecx, r14d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
mov cl, al
shl dl, cl
or byte [rdi + rbx], dl
inc r14d
inc r13
cmp r13, r15
jl 0x140002a22
mov r15d, dword [rsp + 0x30]
mov dword [rsp + 0x28], r15d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea rax, [rsp + 0x88]
cmp qword [rsp + 0x80], rax
je 0x140002b08
lea rcx, [rsp + 0x80]
call fcn.140002f08
jmp 0x140002b08
lea rax, [rsp + 0x2a0]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], si
jne 0x140002acf
lea eax, [rdi*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x2a0]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x140002b18
mov ecx, edi
call fcn.140002cdc
jmp 0x1400026f1
mov rdx, qword [rsp + 0x70]
mov rcx, r12
call fcn.140003080
test eax, eax
cmovs esi, eax
mov eax, esi
jmp 0x1400026f1
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r12], rax
jmp 0x140002714
mov ecx, 0x80070216
call fcn.140002cec
nop
mov ecx, 0x80070216
call fcn.140002cec
int3