Function at 0x14000df80
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2078]
mov eax, 0x2178
call fcn.1400617c0
sub rsp, rax
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rbp + 0x2060], rax
mov r15, rdx
mov qword [rsp + 0x30], rdx
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x40], r9
mov r12, r8
mov qword [rsp + 0x38], r8
mov r13, rcx
call fcn.14000e524
xor ebx, ebx
test eax, eax
js 0x14000e423
lea rdx, str.SMDB
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, 0x4008
test eax, eax
jne 0x14000dffd
lea edi, [rbx + 8]
jmp 0x14000e04c
lea rdx, [0x14007166c]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000e016
mov edi, esi
jmp 0x14000e04c
lea rdx, [0x140071670]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000e030
lea edi, [rax + 0x13]
jmp 0x14000e04c
lea rdx, [0x140071674]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000e41e
lea edi, [rax + 0x11]
mov rdx, qword [r13]
movzx ecx, word [rdx]
sub ecx, 9
je 0x14000e067
sub ecx, 1
je 0x14000e067
sub ecx, 3
je 0x14000e067
cmp ecx, 0x13
jne 0x14000e076
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r13], rax
jmp 0x14000e04c
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.14000e524
test eax, eax
js 0x14000e423
cmp edi, 8
je 0x14000e3bf
cmp edi, 0x11
je 0x14000e218
cmp edi, 0x13
je 0x14000e1dc
cmp edi, esi
jne 0x14000e408
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x50], rbx
mov rax, rsi
lea rcx, [rbp + 0x60]
inc rax
cmp word [rcx + rax*2], bx
jne 0x14000e0bd
add eax, 2
movsxd rcx, eax
je 0x14000e0fe
xor edx, edx
mov rax, rsi
div rcx
cmp rax, 2
jb 0x14000e451
lea rdx, [rcx + rcx]
cmp rdx, 0x100
jbe 0x14000e0fe
lea rcx, [rsp + 0x50]
call fcn.14000d9d8
mov rdi, qword [rsp + 0x50]
jmp 0x14000e108
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x14000e1ba
lea r14, [rbp + 0x60]
cmp word [rbp + 0x60], bx
je 0x14000e161
mov r15d, 0x30
mov rcx, r14
call qword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [r14]
cmp cx, 0x5c
jne 0x14000e14b
cmp word [rax], r15w
jne 0x14000e14b
mov rcx, rax
mov word [rdi], bx
call qword [sym.imp.USER32.dll_CharNextW]
mov r14, rax
jmp 0x14000e152
mov word [rdi], cx
add r14, 2
add rdi, 2
cmp word [r14], bx
jne 0x14000e121
mov r15, qword [rsp + 0x30]
mov dword [rdi], ebx
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14000e172
lea esi, [rdi + 0xd]
jmp 0x14000e1bf
mov r9d, ebx
mov r8, rdi
mov rcx, rsi
inc rcx
cmp word [r8 + rcx*2], bx
jne 0x14000e17b
inc ecx
lea r8, [r8 + rcx*2]
lea r9d, [r9 + rcx*2]
cmp ecx, 1
jne 0x14000e178
mov dword [rsp + 0x28], r9d
xor r8d, r8d
lea r9d, [rcx + 6]
mov qword [rsp + 0x20], rdi
mov rcx, qword [r15]
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x50]
mov esi, eax
jmp 0x14000e1bf
mov esi, SafeArrayGetDim
lea rax, [rsp + 0x58]
cmp rdi, rax
je 0x14000e3fb
lea rcx, [rsp + 0x50]
call fcn.14000d9cc
jmp 0x14000e3fb
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x14000e423
mov eax, dword [rsp + 0x38]
mov r9d, 4
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
jmp 0x14000e3e5
or rsi, 0xffffffffffffffff
lea rax, [rbp + 0x60]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14000e223
test dil, 1
jne 0x14000e28e
mov eax, edi
mov qword [rsp + 0x50], rbx
cdq
sub eax, edx
sar eax, 1
movsxd r12, eax
mov r14, r12
je 0x14000e275
xor edx, edx
mov rax, rsi
div r14
cmp rax, 1
jb 0x14000e446
cmp r12, 0x100
jbe 0x14000e275
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.14000d9d8
mov rcx, qword [rsp + 0x50]
jmp 0x14000e27f
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x50], rcx
test rcx, rcx
jne 0x14000e298
lea rcx, [rsp + 0x50]
call fcn.14000d9cc
mov eax, 0x80004005
jmp 0x14000e423
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movsxd r11, edi
mov r9d, ebx
test edi, edi
jle 0x14000e37f
mov r8, rbx
mov r15d, 0x30
mov eax, r9d
cdq
sub eax, edx
movzx edx, word [rbp + r8*2 + 0x60]
sar eax, 1
mov ecx, edx
movsxd r10, eax
add r10, qword [rsp + 0x50]
cmp edx, 0x61
ja 0x14000e334
je 0x14000e351
cmp edx, 0x38
ja 0x14000e30c
je 0x14000e307
sub ecx, r15d
je 0x14000e307
sub ecx, 1
je 0x14000e307
sub ecx, 1
je 0x14000e307
sub ecx, 1
je 0x14000e307
sub ecx, 1
je 0x14000e307
sub ecx, 1
je 0x14000e307
sub ecx, 1
je 0x14000e307
cmp ecx, 1
jne 0x14000e34d
sub dl, r15b
jmp 0x14000e354
sub ecx, 0x39
je 0x14000e307
sub ecx, 8
je 0x14000e32f
sub ecx, 1
je 0x14000e32f
sub ecx, 1
je 0x14000e32f
sub ecx, 1
je 0x14000e32f
sub ecx, 1
je 0x14000e32f
cmp ecx, 1
jne 0x14000e34d
sub dl, 0x37
jmp 0x14000e354
sub ecx, 0x62
je 0x14000e351
sub ecx, 1
je 0x14000e351
sub ecx, 1
je 0x14000e351
sub ecx, 1
je 0x14000e351
cmp ecx, 1
je 0x14000e351
mov dl, bl
jmp 0x14000e354
sub dl, 0x57
mov ecx, r9d
mov eax, 4
and ecx, 1
inc r9d
shl ecx, 2
inc r8
sub eax, ecx
mov cl, al
shl dl, cl
or byte [r10], dl
cmp r8, r11
jl 0x14000e2b9
mov r15, qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov r9d, 3
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rcx, qword [r15]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x50], rax
je 0x14000e3fb
lea rcx, [rsp + 0x50]
call fcn.14000d9cc
jmp 0x14000e3fb
lea rax, [rbp + 0x60]
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], bx
jne 0x14000e3c7
lea eax, [rsi*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x60]
mov rcx, qword [r15]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x14000e408
mov ecx, esi
call fcn.14000e514
jmp 0x14000e423
mov rdx, qword [rsp + 0x40]
mov rcx, r13
call fcn.14000e524
test eax, eax
cmovs ebx, eax
mov eax, ebx
jmp 0x14000e423
mov eax, 0x80020009
mov rcx, qword [rbp + 0x2060]
xor rcx, rsp
call fcn.140052570
add rsp, 0x2178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070216
call fcn.140002fa4
int3
mov ecx, 0x80070216
call fcn.140002fa4
int3