Function at 0x140001c80
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, 0x2360
call fcn.1400086d0
sub rsp, rax
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov rax, qword [0x14001a1f0]
xor rax, rsp
mov qword [rsp + 0x2350], rax
xor eax, eax
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x88], 0
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0x2370]
call fcn.140003650
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140001d03
mov eax, dword [rsp + 0x30]
jmp 0x1400022ea
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x350]
call fcn.140006ed0
test eax, eax
jne 0x140001d23
mov eax, 0x80020009
jmp 0x1400022ea
mov rcx, qword [rsp + 0x2370]
call fcn.140005e50
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0x2370]
call fcn.140003650
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140001d59
mov eax, dword [rsp + 0x30]
jmp 0x1400022ea
movzx eax, word [rsp + 0x3c]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 8
je 0x140001d8e
cmp dword [rsp + 0x48], 0x11
je 0x140002065
cmp dword [rsp + 0x48], 0x13
je 0x140001fa1
cmp dword [rsp + 0x48], 0x4008
je 0x140001dba
jmp 0x1400022a5
mov r9d, 1
lea r8, [rsp + 0x350]
mov rdx, qword [rsp + 0x2380]
mov rcx, qword [rsp + 0x2378]
call fcn.140005cc0
mov dword [rsp + 0x34], eax
jmp 0x1400022a5
lea rax, [rsp + 0x350]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x70]
cmp word [rax + rcx*2], 0
jne 0x140001dd3
mov rax, qword [rsp + 0x70]
add rax, 2
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x240], 0
movsxd rax, dword [rsp + 0x4c]
mov edx, 2
mov rcx, rax
call section..text
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x240]
call fcn.140002380
nop
jmp 0x140001e37
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x140001f75
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x350]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
test eax, eax
je 0x140001f20
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x140001ee5
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
cmp eax, 0x30
jne 0x140001ee5
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 + 0x98]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x58], rax
jmp 0x140001f11
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 0x140001e78
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
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x2380]
mov rcx, qword [rsp + 0x2378]
call fcn.140005bc0
mov dword [rsp + 0x34], eax
jmp 0x140001f7d
mov dword [rsp + 0x34], 0xe
lea rax, [rsp + 0x248]
cmp qword [rsp + 0x240], rax
je 0x140001f9c
lea rcx, [rsp + 0x240]
call fcn.140003000
jmp 0x1400022a5
mov dword [rsp + 0xf0], 3
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x350]
mov qword [rsp + 0x118], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x90], eax
xor eax, eax
test eax, eax
jne 0x140001fee
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x2380]
mov rax, qword [rsp + 0x2378]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x78], 0
je 0x140002060
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xe0]
call fcn.14000791c
jmp 0x14000202f
jmp 0x1400022a5
lea rax, [rsp + 0x350]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
cmp word [rax + rcx*2], 0
jne 0x14000207e
mov rax, qword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x1400020b5
mov eax, 0x80004005
jmp 0x1400022ea
mov eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x130], 0
movsxd rax, dword [rsp + 0x60]
mov edx, 1
mov rcx, rax
call section..text
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x130]
call fcn.140002380
nop
jmp 0x140002100
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140002151
mov dword [rsp + 0x8c], 0x80004005
lea rax, [rsp + 0x138]
cmp qword [rsp + 0x130], rax
je 0x140002145
lea rcx, [rsp + 0x130]
call fcn.140003000
mov eax, dword [rsp + 0x8c]
jmp 0x1400022ea
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb8], rax
movsxd rax, dword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov rdi, qword [rsp + 0xb8]
xor eax, eax
mov rcx, qword [rsp + 0xc8]
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0
jmp 0x140002196
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
jge 0x14000222b
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x38]
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rsp + 0xd8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x38]
and eax, 1
mov ecx, 1
sub ecx, eax
mov eax, ecx
shl eax, 2
mov dword [rsp + 0x84], eax
movsxd rcx, dword [rsp + 0x38]
movzx ecx, word [rsp + rcx*2 + 0x350]
call fcn.140002960
movzx eax, al
mov ecx, dword [rsp + 0x84]
shl eax, cl
mov rcx, qword [rsp + 0xa0]
movzx ecx, byte [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xa0]
mov byte [rcx], al
jmp 0x14000218c
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x2378]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x2380]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x138]
cmp qword [rsp + 0x130], rax
je 0x1400022a5
lea rcx, [rsp + 0x130]
call fcn.140003000
cmp dword [rsp + 0x34], 0
je 0x1400022c2
mov dword [rsp + 0x88], 0x204
mov ecx, dword [rsp + 0x34]
call fcn.140002850
jmp 0x1400022ea
mov rdx, qword [rsp + 0x2388]
mov rcx, qword [rsp + 0x2370]
call fcn.140003650
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1400022e8
mov eax, dword [rsp + 0x30]
jmp 0x1400022ea
xor eax, eax
mov rcx, qword [rsp + 0x2350]
xor rcx, rsp
call fcn.140008730
add rsp, 0x2360
pop rdi
ret