Function at 0x14000c810
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
xor r13d, r13d
mov r12, rcx
mov r15d, r13d
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [r13 + 8]
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, qword [0x140025610]
lea rcx, [rbp - 0x59]
mov rsi, rax
mov dword [rbp - 0x59], 0x40028
mov eax, 0x6e
mov dword [rbp - 0x55], 0x380007
mov word [rbp - 0x41], ax
mov dword [rbp - 0x51], 0x270023
mov dword [rbp - 0x4d], 0x3c003f
mov dword [rbp - 0x49], 0xe002f
mov dword [rbp - 0x45], 0x120033
call fcn.140002e40
mov rcx, rax
mov r8d, 0x104
mov rdx, rsi
call rbx
mov ebx, r13d
cmp word [rsi], r13w
je 0x14000c8ca
nop dword [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r13w
jne 0x14000c8c0
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rbx, rbx
je 0x14000c911
mov rdx, rax
sub rsi, rax
mov r8, rbx
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000c900
mov r8, rbx
mov word [rax + rbx*2], r13w
mov rdx, rdi
lea rcx, [rbp + 0x27]
call fcn.140001940
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.1400019d0
mov rbx, rax
lea rax, [rbp - 0x39]
cmp rax, rbx
je 0x14000c96a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp - 0x39]
mov rdx, qword [rbx]
call fcn.140001940
mov r15, qword [rbp - 0x39]
mov rbx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x78
mov dword [rbp - 0x29], 0x60038
lea rcx, [rbp - 0x29]
mov word [rbp + 0x23], ax
mov dword [rbp - 0x25], 0x1a002d
mov dword [rbp - 0x21], 0x9001d
mov dword [rbp - 0x1d], 0x3001c
mov dword [rbp - 0x19], 0x3b000d
mov dword [rbp - 0x15], 0x4003b
mov dword [rbp - 0x11], 0x170007
mov dword [rbp - 0xd], 0x1f0016
mov dword [rbp - 9], 0x1c002d
mov dword [rbp - 5], 0x90010
mov dword [rbp - 1], 0x2d0021
mov dword [rbp + 3], 0x270039
mov dword [rbp + 7], 0x290019
mov dword [rbp + 0xb], 0x11002d
mov dword [rbp + 0xf], 0x340015
mov dword [rbp + 0x13], 0x190001
mov dword [rbp + 0x17], 0x1c002f
mov dword [rbp + 0x1b], 0x30058
mov dword [rbp + 0x1f], 0x240025
call fcn.140002bb0
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000ca4a
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x14000ca40
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rdi, rdi
je 0x14000ca91
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000ca80
mov r8, rdi
mov word [rax + rdi*2], r13w
mov rdx, r14
lea rcx, [rbp - 0x59]
call fcn.140001940
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1400019d0
mov rbx, rax
lea rax, [rbp - 0x39]
cmp rax, rbx
je case.default.0x14000cb9a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp - 0x39]
mov rdx, qword [rbx]
call fcn.140001940
mov r15, qword [rbp - 0x39]
mov rbx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x59], 0x2f0025
mov dword [rbp - 0x55], 0x150017
mov ebx, 0x10
mov dword [rbp - 0x51], 0x10000e
mov dword [rbp - 0x4d], 0xf0006
mov dword [rbp - 0x49], 0x4f002d
call fcn.1400029a0
lea r9d, [rbx - 0xf]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rdx, rax
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
std
invalid