Function at 0x140032070
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor r14b, r14b
xor r12d, r12d
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREClassesCLSID14C68CD8_33C1_4E6B_BA7B_31FFFB7A8575
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400323bf
call fcn.140004080
mov rcx, rax
test rax, rax
je 0x140032409
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [0x140105360]
lea rsi, [r12 - 1]
cmp rdx, 0x10000
jae 0x140032136
movzx edx, dx
lea rcx, [rsp + 0x68]
call fcn.1400112e0
jmp 0x140032158
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140032140
mov r8d, eax
lea rcx, [rsp + 0x68]
call fcn.140011410
nop
mov rbx, qword [rsp + 0x68]
cmp dword [rbx - 8], 1
jle 0x140032175
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140006a10
mov rbx, qword [rsp + 0x68]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003237d
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400bd7a8
test eax, eax
js 0x1400323f3
cmp eax, dword [rbx - 0xc]
jg 0x1400323f3
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r12w
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.140004080
mov rcx, rax
test rax, rax
je 0x140032414
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
movzx eax, word [rbp - 0x74]
movzx ecx, word [rbp - 0x76]
movzx edx, word [rbp - 0x78]
movzx r10d, word [rbp - 0x7a]
movzx r9d, word [rbp - 0x7e]
movzx r8d, word [rbp - 0x80]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._4d_02d_02d_02d_02d_02d
lea rcx, [rsp + 0x78]
call fcn.1400196e0
call fcn.140004080
mov rcx, rax
test rax, rax
je 0x14003241f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x60]
call fcn.1400a83f0
lea rcx, [rsp + 0x50]
call fcn.14002cee0
nop
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rdx - 0x10]
add r8d, r8d
lea r9, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14002d0c0
lea rcx, [rbp - 0x60]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140032290
mov r8d, eax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.140011410
mov rdi, qword [rsp + 0x70]
mov r15d, dword [rdi - 0x10]
cmp dword [rdi - 8], 1
jle 0x1400322cc
mov edx, r15d
lea rcx, [rsp + 0x70]
call fcn.140006a10
mov rdi, qword [rsp + 0x70]
cmp dword [rbx - 8], 1
jle 0x1400322e4
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140006a10
mov rbx, qword [rsp + 0x68]
lea eax, [r15*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r15d, 1
mov r9d, r15d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx r14d, r14b
test eax, eax
cmove r14d, r15d
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.1400bd7a8
test eax, eax
js 0x14003242a
cmp eax, dword [rdi - 0xc]
jg 0x14003242a
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r12w
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r15d
jg 0x14003235a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032378
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x68]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400bd7a8
test eax, eax
js 0x1400323fe
cmp eax, dword [rbx - 0xc]
jg 0x1400323fe
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r12w
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400323bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx eax, r14b
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80070057
call fcn.140003f50
int3
mov ecx, 0x80070057
call fcn.140003f50
nop
mov ecx, 0x80004005
call fcn.140003f50
nop
mov ecx, 0x80004005
call fcn.140003f50
nop
mov ecx, 0x80004005
call fcn.140003f50
nop
mov ecx, 0x80070057
call fcn.140003f50
int3