Function at 0x1400027bc
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x21b0
call fcn.140024fc0
sub rsp, rax
mov rax, qword [0x140035008]
xor rax, rsp
mov qword [rsp + 0x21a0], rax
mov r12, r8
mov qword [rsp + 0x40], r8
mov r15, rdx
mov qword [rsp + 0x70], rdx
mov r13, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x80], r9
lea rdx, [rsp + 0x1a0]
call fcn.1400025fc
xor ebx, ebx
test eax, eax
js 0x140002d8c
lea rdx, str.SMDB
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140002849
lea eax, [rbx + 1]
lea edi, [rbx + 8]
jmp 0x1400028b8
lea rdx, [0x1400274b8]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000286e
mov eax, 1
mov edi, 0x4008
jmp 0x1400028b8
lea rdx, [0x1400274bc]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140002891
mov eax, 1
lea edi, [rax + 0x12]
jmp 0x1400028b8
lea rdx, [0x1400274c0]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400028b4
mov eax, 1
lea edi, [rax + 0x10]
jmp 0x1400028b8
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x1400028c6
mov eax, 0x80020009
jmp 0x140002d8c
mov rdx, qword [r13]
movzx ecx, word [rdx]
sub ecx, 9
je 0x1400028e3
sub ecx, 1
je 0x1400028e3
sub ecx, 3
je 0x1400028e3
cmp ecx, 0x13
mov eax, ebx
jne 0x1400028e8
mov eax, 1
test eax, eax
je 0x1400028fb
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r13], rax
jmp 0x1400028c6
lea rdx, [rsp + 0x1a0]
mov rcx, r13
call fcn.1400025fc
test eax, eax
js 0x140002d8c
cmp edi, 8
je 0x140002d24
cmp edi, 0x11
je 0x140002af9
cmp edi, 0x13
je 0x140002ab9
cmp edi, 0x4008
jne 0x140002d75
lea rcx, [rsp + 0x1a0]
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rcx + rax*2], bx
jne 0x140002949
add eax, 2
mov qword [rsp + 0x90], rbx
movsxd rcx, eax
test eax, eax
jne 0x140002969
mov rdx, rbx
jmp 0x14000297f
xor edx, edx
mov rax, rsi
div rcx
cmp rax, 2
jb 0x140002daf
lea rdx, [rcx + rcx]
cmp rdx, 0x100
jbe 0x14000299f
lea rcx, [rsp + 0x90]
call fcn.14000542c
mov rdi, qword [rsp + 0x90]
jmp 0x1400029af
lea rdi, [rsp + 0x98]
mov qword [rsp + 0x90], rdi
jmp 0x1400029d3
test rdi, rdi
je 0x140002a91
lea r14, [rsp + 0x1a0]
cmp word [rsp + 0x1a0], bx
je 0x140002a2f
mov r12d, 0x30
mov rcx, r14
call qword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [r14]
cmp cx, 0x5c
jne 0x140002a1e
cmp word [rax], r12w
jne 0x140002a1e
mov word [rdi], bx
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov r14, rax
jmp 0x140002a25
mov word [rdi], cx
add r14, 2
add rdi, 2
cmp word [r14], bx
jne 0x1400029f4
and dword [rdi], 0
mov rdi, qword [rsp + 0x90]
test rdi, rdi
jne 0x140002a44
lea esi, [rdi + 0xd]
jmp 0x140002a96
mov r9d, ebx
mov r8, rdi
mov rcx, rsi
inc rcx
cmp word [r8 + rcx*2], bx
jne 0x140002a4d
inc ecx
lea r8, [r8 + rcx*2]
lea r9d, [r9 + rcx*2]
cmp ecx, 1
jne 0x140002a4a
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rdi
lea r9d, [rcx + 6]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rdi, qword [rsp + 0x90]
jmp 0x140002a96
mov esi, 0xe
lea rax, [rsp + 0x98]
cmp rdi, rax
je 0x140002d68
lea rcx, [rsp + 0x90]
call fcn.1400050f0
jmp 0x140002d68
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x140002d8c
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov r9d, 4
jmp 0x140002d52
lea rax, [rsp + 0x1a0]
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], bx
jne 0x140002b08
mov dword [rsp + 0x38], edi
test dil, 1
jne 0x140002bd1
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movsxd r15, eax
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x90], rbx
mov r14, r15
mov qword [rsp + 0x78], r15
test eax, eax
jne 0x140002b47
mov rdx, rbx
jmp 0x140002b5c
xor edx, edx
mov rax, rsi
div r14
cmp rax, 1
jb 0x140002dbd
mov rdx, r14
cmp rdx, 0x100
jbe 0x140002b7c
lea rcx, [rsp + 0x90]
call fcn.14000542c
mov rcx, qword [rsp + 0x90]
jmp 0x140002b8c
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x90], rcx
mov rsi, qword [rsp + 0x70]
jmp 0x140002bbf
test rcx, rcx
jne 0x140002bdb
lea rcx, [rsp + 0x90]
call fcn.1400050f0
mov eax, 0x80004005
jmp 0x140002d8c
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r10d, ebx
movsxd rdi, edi
test rdi, rdi
jle 0x140002cd8
mov r11, rbx
mov r12d, 0x30
movzx edx, word [rsp + r11*2 + 0x1a0]
cmp edx, 0x61
ja 0x140002c73
je 0x140002c93
cmp edx, 0x38
ja 0x140002c48
je 0x140002c42
mov ecx, edx
sub ecx, r12d
je 0x140002c42
sub ecx, 1
je 0x140002c42
sub ecx, 1
je 0x140002c42
sub ecx, 1
je 0x140002c42
sub ecx, 1
je 0x140002c42
sub ecx, 1
je 0x140002c42
sub ecx, 1
je 0x140002c42
cmp ecx, 1
jne 0x140002c8e
lea r9d, [rdx - 0x30]
jmp 0x140002c97
mov ecx, edx
sub ecx, 0x39
je 0x140002c42
sub ecx, 8
je 0x140002c6d
sub ecx, 1
je 0x140002c6d
sub ecx, 1
je 0x140002c6d
sub ecx, 1
je 0x140002c6d
sub ecx, 1
je 0x140002c6d
cmp ecx, 1
jne 0x140002c8e
lea r9d, [rdx - 0x37]
jmp 0x140002c97
mov ecx, edx
sub ecx, 0x62
je 0x140002c93
sub ecx, 1
je 0x140002c93
sub ecx, 1
je 0x140002c93
sub ecx, 1
je 0x140002c93
cmp ecx, 1
je 0x140002c93
mov r9d, ebx
jmp 0x140002c97
lea r9d, [rdx - 0x57]
mov eax, r10d
test r10d, r10d
jns 0x140002ca3
lea eax, [r10 + 1]
sar eax, 1
movsxd r8, eax
mov rdx, qword [rsp + 0x90]
mov ecx, r10d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
mov cl, al
shl r9b, cl
or byte [r8 + rdx], r9b
inc r10d
inc r11
cmp r11, rdi
jl 0x140002bfd
mov dword [rsp + 0x28], r15d
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea rax, [rsp + 0x98]
cmp qword [rsp + 0x90], rax
je 0x140002d68
lea rcx, [rsp + 0x90]
call fcn.1400050f0
jmp 0x140002d68
lea rax, [rsp + 0x1a0]
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], bx
jne 0x140002d30
lea eax, [rsi*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x1a0]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x140002d75
mov ecx, esi
call fcn.1400018f4
jmp 0x140002d8c
mov rdx, qword [rsp + 0x80]
mov rcx, r13
call fcn.1400025fc
test eax, eax
cmovs ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x21a0]
xor rcx, rsp
call fcn.1400237c0
add rsp, 0x21b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1400017e8
nop
jmp 0x140002dbc
nop
mov ecx, 0x80070216
call fcn.1400017e8
int3