Function at 0x14001c010
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, 0x2310
call fcn.140029ec0
sub rsp, rax
mov rax, qword [0x14007d078]
xor rax, rsp
mov qword [rsp + 0x2300], rax
xor eax, eax
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x80], 0
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x2320]
call fcn.14001ce40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14001c087
mov eax, dword [rsp + 0x30]
jmp 0x14001c5e7
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x300]
call fcn.14001bb30
test eax, eax
jne 0x14001c0b4
mov edx, 0x20f
mov rcx, qword [rsp + 0x2320]
call fcn.14001ce30
jmp 0x14001c5e7
mov rcx, qword [rsp + 0x2320]
call fcn.14001dbe0
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x2320]
call fcn.14001ce40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14001c0ea
mov eax, dword [rsp + 0x30]
jmp 0x14001c5e7
movzx eax, word [rsp + 0x3c]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 8
je 0x14001c11f
cmp dword [rsp + 0x48], 0x11
je 0x14001c3af
cmp dword [rsp + 0x48], 0x13
je 0x14001c2fc
cmp dword [rsp + 0x48], 0x4008
je 0x14001c14b
jmp 0x14001c5a2
mov r9d, 1
lea r8, [rsp + 0x300]
mov rdx, qword [rsp + 0x2330]
mov rcx, qword [rsp + 0x2328]
call fcn.14001bc00
mov dword [rsp + 0x34], eax
jmp 0x14001c5a2
lea rax, [rsp + 0x300]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
cmp word [rax + rcx*2], 0
jne 0x14001c164
mov rax, qword [rsp + 0x60]
add rax, 2
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x1f0]
call fcn.140010be0
nop
movsxd rax, dword [rsp + 0x4c]
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.14001bd10
nop
jmp 0x14001c1b0
lea rcx, [rsp + 0x1f0]
call fcn.14000baf0
test rax, rax
je 0x14001c2e2
lea rcx, [rsp + 0x1f0]
call fcn.14000baf0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
test eax, eax
je 0x14001c295
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x14001c25a
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
cmp eax, 0x30
jne 0x14001c25a
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x58], rax
jmp 0x14001c286
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
movzx ecx, word [rcx]
mov word [rax], cx
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x14001c1ed
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
lea rcx, [rsp + 0x1f0]
call fcn.14000baf0
mov r8, rax
mov rdx, qword [rsp + 0x2330]
mov rcx, qword [rsp + 0x2328]
call fcn.14001bd40
mov dword [rsp + 0x34], eax
jmp 0x14001c2ea
mov dword [rsp + 0x34], 0xe
lea rcx, [rsp + 0x1f0]
call fcn.14001aa50
jmp 0x14001c5a2
call fcn.14001be40
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0x88]
call fcn.140010be0
nop
mov edx, 0x400
lea rcx, [rsp + 0x300]
call fcn.14001a930
mov qword [rsp + 0xb0], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14001c371
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x88]
call fcn.140017770
mov eax, dword [rsp + 0x70]
jmp 0x14001c5e7
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rsp + 0x2330]
mov rcx, qword [rsp + 0x2328]
call fcn.14001be50
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x88]
call fcn.140017770
jmp 0x14001c5a2
lea rax, [rsp + 0x300]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
cmp word [rax + rcx*2], 0
jne 0x14001c3c8
mov rax, qword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x14001c3ff
mov eax, 0x80004005
jmp 0x14001c5e7
mov eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xe0]
call fcn.140010be0
nop
movsxd rax, dword [rsp + 0x54]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14001bee0
nop
jmp 0x14001c432
lea rcx, [rsp + 0xe0]
call fcn.14000baf0
test rax, rax
jne 0x14001c462
mov dword [rsp + 0x78], 0x80004005
lea rcx, [rsp + 0xe0]
call fcn.14001aa50
mov eax, dword [rsp + 0x78]
jmp 0x14001c5e7
movsxd rax, dword [rsp + 0x54]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xe0]
call fcn.14000baf0
mov rdi, rax
xor eax, eax
mov rcx, qword [rsp + 0xc0]
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0
jmp 0x14001c49f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
jge 0x14001c530
mov eax, dword [rsp + 0x38]
cdq
sub eax, edx
sar eax, 1
cdqe
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xe0]
call fcn.14000baf0
mov rcx, qword [rsp + 0xc8]
add rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x38]
and eax, 1
mov ecx, 1
sub ecx, eax
mov eax, ecx
shl eax, 2
mov dword [rsp + 0x7c], eax
movsxd rcx, dword [rsp + 0x38]
movzx ecx, word [rsp + rcx*2 + 0x300]
call fcn.14001bf10
movzx eax, al
mov ecx, dword [rsp + 0x7c]
shl eax, cl
mov rcx, qword [rsp + 0x98]
movzx ecx, byte [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x98]
mov byte [rcx], al
jmp 0x14001c495
lea rcx, [rsp + 0xe0]
call fcn.14000baf0
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x2328]
call fcn.14000baf0
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x2330]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0xe0]
call fcn.14001aa50
jmp 0x14001c5a2
cmp dword [rsp + 0x34], 0
je 0x14001c5bf
mov dword [rsp + 0x80], 0x204
mov ecx, dword [rsp + 0x34]
call fcn.14001cdc0
jmp 0x14001c5e7
mov rdx, qword [rsp + 0x2338]
mov rcx, qword [rsp + 0x2320]
call fcn.14001ce40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14001c5e5
mov eax, dword [rsp + 0x30]
jmp 0x14001c5e7
xor eax, eax
mov rcx, qword [rsp + 0x2300]
xor rcx, rsp
call fcn.140029320
add rsp, 0x2310
pop rdi
ret