Function at 0x14000b980
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 rdi
mov eax, 0x23d0
call fcn.1402512d0
sub rsp, rax
mov qword [rsp + 0x2388], 0xfffffffffffffffe
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x23c0], 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 + 0x23e0]
call fcn.1400093c0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x14000b9fd
mov eax, dword [rsp + 0x3c]
jmp 0x14000bff7
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000c190
test eax, eax
jne 0x14000ba1a
mov eax, 0x80020009
jmp 0x14000bff7
mov rax, qword [rsp + 0x23e0]
mov rax, qword [rax]
movzx edx, word [rax]
mov rcx, qword [rsp + 0x23e0]
call fcn.14000c350
test eax, eax
je 0x14000ba57
mov rax, qword [rsp + 0x23e0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, qword [rsp + 0x23e0]
mov qword [rcx], rax
jmp 0x14000ba1a
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x23e0]
call fcn.1400093c0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x14000ba7d
mov eax, dword [rsp + 0x3c]
jmp 0x14000bff7
movzx eax, word [rsp + 0x38]
mov dword [rsp + 0x2390], eax
cmp dword [rsp + 0x2390], 8
je 0x14000bac1
cmp dword [rsp + 0x2390], 0x11
je 0x14000bdad
cmp dword [rsp + 0x2390], 0x13
je 0x14000bcd7
cmp dword [rsp + 0x2390], 0x4008
je 0x14000baea
jmp 0x14000bfb5
mov r9d, 1
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x23f0]
mov rcx, qword [rsp + 0x23e8]
call fcn.14000c010
mov dword [rsp + 0x34], eax
jmp 0x14000bfb5
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [rsp + 0x2160], eax
mov qword [rsp + 0x2050], 0
movsxd rax, dword [rsp + 0x2160]
mov edx, 2
mov rcx, rax
call fcn.14001d740
mov qword [rsp + 0x2398], rax
mov rdx, qword [rsp + 0x2398]
lea rcx, [rsp + 0x2050]
call fcn.14000fe30
nop
cmp qword [rsp + 0x2050], 0
je 0x14000bcab
mov rax, qword [rsp + 0x2050]
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 0x14000bc4a
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 0x14000bbf7
mov rax, qword [rsp + 0x2178]
movzx eax, word [rax]
cmp eax, 0x30
jne 0x14000bbf7
xor eax, eax
mov rcx, qword [rsp + 0x2168]
mov word [rcx], ax
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 0x14000bc35
mov rax, qword [rsp + 0x2168]
mov rcx, qword [rsp + 0x2170]
movzx ecx, word [rcx]
mov word [rax], cx
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]
inc eax
mov dword [rsp + 0x2160], eax
jmp 0x14000bb75
xor eax, eax
mov rcx, qword [rsp + 0x2168]
mov word [rcx], ax
mov rax, qword [rsp + 0x2168]
add rax, 2
mov qword [rsp + 0x2168], rax
xor eax, eax
mov rcx, qword [rsp + 0x2168]
mov word [rcx], ax
mov rax, qword [rsp + 0x2050]
mov qword [rsp + 0x2348], rax
mov r8, qword [rsp + 0x2348]
mov rdx, qword [rsp + 0x23f0]
mov rcx, qword [rsp + 0x23e8]
call fcn.14000c0b0
mov dword [rsp + 0x34], eax
jmp 0x14000bcb3
mov dword [rsp + 0x34], 0xe
lea rax, [rsp + 0x2058]
cmp qword [rsp + 0x2050], rax
je 0x14000bcd2
lea rcx, [rsp + 0x2050]
call fcn.14000fe80
jmp 0x14000bfb5
mov dword [rsp + 0x2198], 3
mov qword [rsp + 0x21a0], 0
lea rax, [rsp + 0x50]
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 eax, dword [rsp + 0x21a8]
mov dword [rsp + 0x2368], eax
xor eax, eax
test eax, eax
jne 0x14000bd24
xor eax, eax
test eax, eax
jne 0x14000bd24
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x2368]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x23f0]
mov rax, qword [rsp + 0x23e8]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x21a0], 0
je 0x14000bda8
mov rax, qword [rsp + 0x21a0]
mov qword [rsp + 0x2370], rax
mov rax, qword [rsp + 0x21a0]
mov rax, qword [rax]
mov qword [rsp + 0x21a0], rax
mov rcx, qword [rsp + 0x2370]
call fcn.140251074
jmp 0x14000bd6b
jmp 0x14000bfb5
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 0x14000bdd7
mov eax, 0x80004005
jmp 0x14000bff7
mov eax, dword [rsp + 0x21b0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x21ac], eax
mov qword [rsp + 0x21c0], 0
movsxd rax, dword [rsp + 0x21ac]
mov edx, 1
mov rcx, rax
call fcn.14001d740
mov qword [rsp + 0x23a0], rax
mov rdx, qword [rsp + 0x23a0]
lea rcx, [rsp + 0x21c0]
call fcn.14000fe30
nop
cmp qword [rsp + 0x21c0], 0
jne 0x14000be6a
mov dword [rsp + 0x22d4], 0x80004005
lea rax, [rsp + 0x21c8]
cmp qword [rsp + 0x21c0], rax
je 0x14000be5e
lea rcx, [rsp + 0x21c0]
call fcn.14000fe80
mov eax, dword [rsp + 0x22d4]
jmp 0x14000bff7
movsxd rax, dword [rsp + 0x21ac]
mov qword [rsp + 0x23a8], rax
mov rdi, qword [rsp + 0x21c0]
xor eax, eax
mov rcx, qword [rsp + 0x23a8]
rep stosb byte [rdi], al
mov dword [rsp + 0x22d0], 0
jmp 0x14000beab
mov eax, dword [rsp + 0x22d0]
inc eax
mov dword [rsp + 0x22d0], eax
mov eax, dword [rsp + 0x21b0]
cmp dword [rsp + 0x22d0], eax
jge 0x14000bf38
mov eax, dword [rsp + 0x22d0]
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rsp + 0x21c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x23b0], rax
mov eax, dword [rsp + 0x22d0]
and eax, 1
mov ecx, 1
sub ecx, eax
mov eax, ecx
shl eax, 2
mov dword [rsp + 0x23b8], eax
movsxd rcx, dword [rsp + 0x22d0]
movzx ecx, word [rsp + rcx*2 + 0x50]
call fcn.14000c2a0
movzx eax, al
mov ecx, dword [rsp + 0x23b8]
shl eax, cl
mov rcx, qword [rsp + 0x23b0]
movzx ecx, byte [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x23b0]
mov byte [rcx], al
jmp 0x14000be9b
mov rax, qword [rsp + 0x21c0]
mov qword [rsp + 0x2378], rax
mov rax, qword [rsp + 0x23e8]
mov rax, qword [rax]
mov qword [rsp + 0x2380], rax
mov eax, dword [rsp + 0x21ac]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x2378]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x23f0]
mov rcx, qword [rsp + 0x2380]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x21c8]
cmp qword [rsp + 0x21c0], rax
je 0x14000bfb5
lea rcx, [rsp + 0x21c0]
call fcn.14000fe80
cmp dword [rsp + 0x34], 0
je 0x14000bfcf
mov dword [rsp + 0x30], 0x204
mov ecx, dword [rsp + 0x34]
call fcn.14000af50
jmp 0x14000bff7
mov rdx, qword [rsp + 0x23f8]
mov rcx, qword [rsp + 0x23e0]
call fcn.1400093c0
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x14000bff5
mov eax, dword [rsp + 0x3c]
jmp 0x14000bff7
xor eax, eax
mov rcx, qword [rsp + 0x23c0]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x23d0
pop rdi
ret