Function at 0x1800032c4
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x21a0
call fcn.1800c5c10
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rsp + 0x2190], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x58], r9
lea rdx, [rsp + 0x190]
call fcn.18000310c
xor ebx, ebx
test eax, eax
js 0x1800037d8
lea rdx, str.SMDB
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000334a
lea edi, [rbx + 8]
jmp 0x1800033a8
lea rdx, [0x1800e7f68]
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000336a
mov edi, 0x4008
jmp 0x1800033a8
lea rdx, [0x1800e7f6c]
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180003388
lea edi, [rax + 0x13]
jmp 0x1800033a8
lea rdx, [0x1800e7f70]
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800037d3
lea edi, [rax + 0x11]
mov esi, 0xd
mov rcx, qword [r15]
cmp word [rcx], 9
jb 0x1800033d2
cmp word [rcx], 0xa
jbe 0x1800033c7
cmp word [rcx], si
je 0x1800033c7
cmp word [rcx], 0x20
jne 0x1800033d2
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r15], rax
jmp 0x1800033ad
lea rdx, [rsp + 0x190]
mov rcx, r15
call fcn.18000310c
test eax, eax
js 0x1800037d8
cmp edi, 8
je 0x180003773
cmp edi, 0x11
je 0x1800035bf
cmp edi, 0x13
je 0x18000357f
cmp edi, 0x4008
jne 0x1800037bd
lea rcx, [rsp + 0x190]
call fcn.1800a31e4
lea edi, [rax + 2]
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x80]
call fcn.1800a0440
mov qword [rsp + 0x80], rbx
movsxd rcx, edi
test edi, edi
je 0x18000347c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1800037fb
lea rdx, [rcx + rcx]
cmp rdx, 0x100
jbe 0x18000347c
lea rcx, [rsp + 0x80]
call fcn.180005a64
mov rdi, qword [rsp + 0x80]
jmp 0x18000348c
lea rdi, [rsp + 0x88]
mov qword [rsp + 0x80], rdi
jmp 0x1800034aa
test rdi, rdi
je 0x180003557
lea r14, [rsp + 0x190]
cmp word [rsp + 0x190], bx
je 0x180003500
mov rcx, r14
call qword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [r14]
cmp cx, 0x5c
jne 0x1800034ef
cmp word [rax], 0x30
jne 0x1800034ef
mov word [rdi], bx
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov r14, rax
jmp 0x1800034f6
mov word [rdi], cx
add r14, 2
add rdi, 2
cmp word [r14], bx
jne 0x1800034c5
and dword [rdi], 0
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x18000355c
mov r14d, ebx
mov rsi, rdi
mov rcx, rsi
call fcn.1800a31e4
inc eax
lea rsi, [rsi + rax*2]
lea r14d, [r14 + rax*2]
cmp eax, 1
jne 0x180003516
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rdi, qword [rsp + 0x80]
jmp 0x18000355c
mov esi, 0xe
lea rax, [rsp + 0x88]
cmp rdi, rax
je 0x1800037b0
lea rcx, [rsp + 0x80]
call fcn.18000588c
jmp 0x1800037b0
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x190]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x1800037d8
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov r9d, 4
jmp 0x180003799
lea rcx, [rsp + 0x190]
call fcn.1800a31e4
mov rsi, rax
mov dword [rsp + 0x70], eax
test al, 1
je 0x1800035e1
mov eax, 0x80004005
jmp 0x1800037d8
cdq
sub eax, edx
sar eax, 1
movsxd r14, eax
mov dword [rsp + 0x68], r14d
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x80]
call fcn.1800a0440
mov qword [rsp + 0x80], rbx
mov rdi, r14
mov qword [rsp + 0x50], r14
test r14d, r14d
je 0x18000364e
xor edx, edx
or rax, 0xffffffffffffffff
div rdi
cmp rax, 1
jb 0x180003806
cmp rdi, 0x100
jbe 0x18000364e
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.180005a64
mov rcx, qword [rsp + 0x80]
jmp 0x18000365e
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x80], rcx
jmp 0x180003687
test rcx, rcx
jne 0x18000369e
lea rcx, [rsp + 0x80]
call fcn.18000588c
jmp 0x1800035d7
mov r8, rdi
xor edx, edx
call fcn.1800a0440
mov r9d, ebx
movsxd r11, esi
test esi, esi
jle 0x180003728
mov r8, rbx
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
movsxd r10, eax
add r10, qword [rsp + 0x80]
movzx edx, word [rsp + r8*2 + 0x190]
cmp dx, 0x30
jb 0x180003704
cmp dx, 0x39
jbe 0x1800036ff
cmp dx, 0x40
jbe 0x180003704
cmp dx, 0x46
jbe 0x1800036fa
cmp dx, 0x60
jbe 0x180003704
cmp dx, 0x66
ja 0x180003704
sub dl, 0x57
jmp 0x180003706
sub dl, 0x37
jmp 0x180003706
sub dl, 0x30
jmp 0x180003706
mov dl, bl
mov ecx, r9d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
mov cl, al
shl dl, cl
or byte [r10], dl
inc r9d
inc r8
cmp r8, r11
jl 0x1800036b5
mov dword [rsp + 0x28], r14d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea rax, [rsp + 0x88]
cmp qword [rsp + 0x80], rax
je 0x1800037b0
lea rcx, [rsp + 0x80]
call fcn.18000588c
jmp 0x1800037b0
lea rcx, [rsp + 0x190]
call fcn.1800a31e4
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x190]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x1800037bd
mov ecx, esi
call fcn.180002424
jmp 0x1800037d8
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.18000310c
test eax, eax
cmovs ebx, eax
mov eax, ebx
jmp 0x1800037d8
mov eax, 0x80020009
mov rcx, qword [rsp + 0x2190]
xor rcx, rsp
call fcn.18009c630
add rsp, 0x21a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1800023d8
nop
mov ecx, 0x80070216
call fcn.1800023d8
int3