Function at 0x14000c5b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
mov eax, 0x2300
call fcn.140016540
sub rsp, rax
mov qword [rsp + 0x22d8], 0xfffffffffffffffe
mov rax, qword [0x140021220]
xor rax, rsp
mov qword [rsp + 0x22f0], rax
xor eax, eax
mov word [rsp + 0x38], ax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2310]
call fcn.14000aab0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x14000c62d
mov eax, dword [rsp + 0x3c]
jmp 0x14000cb2f
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000cc30
test eax, eax
jne 0x14000c657
mov edx, 0x20f
mov rcx, qword [rsp + 0x2310]
call fcn.14000a9a0
jmp 0x14000cb2f
mov rcx, qword [rsp + 0x2310]
call fcn.14000aa20
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2310]
call fcn.14000aab0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x14000c68a
mov eax, dword [rsp + 0x3c]
jmp 0x14000cb2f
movzx eax, word [rsp + 0x38]
mov dword [rsp + 0x22e0], eax
cmp dword [rsp + 0x22e0], 8
je 0x14000c6ce
cmp dword [rsp + 0x22e0], 0x11
je 0x14000c93b
cmp dword [rsp + 0x22e0], 0x13
je 0x14000c8bc
cmp dword [rsp + 0x22e0], 0x4008
je 0x14000c6f7
jmp 0x14000caed
mov r9d, 1
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x2320]
mov rcx, qword [rsp + 0x2318]
call fcn.140006f00
mov dword [rsp + 0x34], eax
jmp 0x14000caed
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [rsp + 0x2160], eax
lea rcx, [rsp + 0x2050]
call fcn.14000dcc0
nop
movsxd rdx, dword [rsp + 0x2160]
lea rcx, [rsp + 0x2050]
call fcn.14000dd20
nop
lea rcx, [rsp + 0x2050]
call fcn.14000dd10
test rax, rax
je 0x14000c8a2
lea rcx, [rsp + 0x2050]
call fcn.14000dd10
mov qword [rsp + 0x2168], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x2170], rax
mov dword [rsp + 0x2160], 0
mov rax, qword [rsp + 0x2170]
movzx eax, word [rax]
test eax, eax
je 0x14000c849
mov rcx, qword [rsp + 0x2170]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x2178], rax
mov rax, qword [rsp + 0x2170]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x14000c7f5
mov rax, qword [rsp + 0x2178]
movzx eax, word [rax]
cmp eax, 0x30
jne 0x14000c7f5
xor ecx, ecx
mov rax, qword [rsp + 0x2168]
mov word [rax], cx
mov rax, qword [rsp + 0x2168]
add rax, 2
mov qword [rsp + 0x2168], rax
mov rcx, qword [rsp + 0x2178]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x2170], rax
jmp 0x14000c833
mov rcx, qword [rsp + 0x2168]
mov rax, qword [rsp + 0x2170]
movzx eax, word [rax]
mov word [rcx], ax
mov rax, qword [rsp + 0x2168]
add rax, 2
mov qword [rsp + 0x2168], rax
mov rax, qword [rsp + 0x2170]
add rax, 2
mov qword [rsp + 0x2170], rax
mov eax, dword [rsp + 0x2160]
add eax, 1
mov dword [rsp + 0x2160], eax
jmp 0x14000c773
xor ecx, ecx
mov rax, qword [rsp + 0x2168]
mov word [rax], cx
mov rax, qword [rsp + 0x2168]
add rax, 2
mov qword [rsp + 0x2168], rax
xor ecx, ecx
mov rax, qword [rsp + 0x2168]
mov word [rax], cx
lea rcx, [rsp + 0x2050]
call fcn.14000dd10
mov r8, rax
mov rdx, qword [rsp + 0x2320]
mov rcx, qword [rsp + 0x2318]
call fcn.14000cb50
mov dword [rsp + 0x34], eax
jmp 0x14000c8aa
mov dword [rsp + 0x34], 0xe
lea rcx, [rsp + 0x2050]
call fcn.14000dce0
jmp 0x14000caed
call fcn.140007780
mov dword [rsp + 0x2198], eax
lea rcx, [rsp + 0x21a0]
call fcn.1400084b0
nop
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.140008e60
mov qword [rsp + 0x2190], rax
lea r9, [rsp + 0x21a8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2190]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov r8d, dword [rsp + 0x21a8]
mov rdx, qword [rsp + 0x2320]
mov rcx, qword [rsp + 0x2318]
call fcn.140006aa0
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x21a0]
call fcn.1400084d0
jmp 0x14000caed
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x21b0], eax
mov eax, dword [rsp + 0x21b0]
and eax, 1
test eax, eax
je 0x14000c965
mov eax, 0x80004005
jmp 0x14000cb2f
mov eax, dword [rsp + 0x21b0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x21ac], eax
lea rcx, [rsp + 0x21c0]
call fcn.14000dd50
nop
movsxd rdx, dword [rsp + 0x21ac]
lea rcx, [rsp + 0x21c0]
call fcn.14000ddb0
nop
lea rcx, [rsp + 0x21c0]
call fcn.14000dda0
test rax, rax
jne 0x14000c9d2
mov dword [rsp + 0x22d4], 0x80004005
lea rcx, [rsp + 0x21c0]
call fcn.14000dd70
mov eax, dword [rsp + 0x22d4]
jmp 0x14000cb2f
movsxd rbx, dword [rsp + 0x21ac]
lea rcx, [rsp + 0x21c0]
call fcn.14000dda0
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.MSVCR90.dll_memset
mov dword [rsp + 0x22d0], 0
jmp 0x14000ca12
mov eax, dword [rsp + 0x22d0]
add eax, 1
mov dword [rsp + 0x22d0], eax
mov eax, dword [rsp + 0x21b0]
cmp dword [rsp + 0x22d0], eax
jge 0x14000ca95
mov eax, dword [rsp + 0x22d0]
cdq
sub eax, edx
sar eax, 1
movsxd rbx, eax
lea rcx, [rsp + 0x21c0]
call fcn.14000dda0
add rax, rbx
mov qword [rsp + 0x22e8], rax
mov eax, dword [rsp + 0x22d0]
and eax, 1
mov ebx, 1
sub ebx, eax
shl ebx, 2
movsxd rax, dword [rsp + 0x22d0]
movzx ecx, word [rsp + rax*2 + 0x50]
call fcn.14000cd40
movzx edx, al
mov eax, ebx
movzx ecx, al
shl edx, cl
mov rax, qword [rsp + 0x22e8]
movzx ecx, byte [rax]
or ecx, edx
mov rax, qword [rsp + 0x22e8]
mov byte [rax], cl
jmp 0x14000ca01
lea rcx, [rsp + 0x21c0]
call fcn.14000dda0
mov rbx, rax
mov rcx, qword [rsp + 0x2318]
call fcn.1400069c0
mov rcx, rax
mov eax, dword [rsp + 0x21ac]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x2320]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x21c0]
call fcn.14000dd70
cmp dword [rsp + 0x34], 0
je 0x14000cb07
mov dword [rsp + 0x30], 0x204
mov ecx, dword [rsp + 0x34]
call fcn.140006950
jmp 0x14000cb2f
mov rdx, qword [rsp + 0x2328]
mov rcx, qword [rsp + 0x2310]
call fcn.14000aab0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x14000cb2d
mov eax, dword [rsp + 0x3c]
jmp 0x14000cb2f
xor eax, eax
mov rcx, qword [rsp + 0x22f0]
xor rcx, rsp
call fcn.140015270
add rsp, 0x2300
pop rbx
ret