Function at 0x180007b30
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
mov eax, 0x22f8
call fcn.180032680
sub rsp, rax
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0x22e0], rax
xor eax, eax
mov word [rsp + 0xb0], ax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x64], 0
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2300]
call fcn.18000b670
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180007bb2
mov eax, dword [rsp + 0x30]
jmp 0x1800080a6
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x2e0]
call fcn.18000e900
test eax, eax
jne 0x180007be2
mov edx, 0x20f
mov rcx, qword [rsp + 0x2300]
call fcn.180009d80
jmp 0x1800080a6
mov rcx, qword [rsp + 0x2300]
call fcn.18000dc30
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2300]
call fcn.18000b670
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180007c18
mov eax, dword [rsp + 0x30]
jmp 0x1800080a6
movzx eax, word [rsp + 0xb0]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 8
je 0x180007c50
cmp dword [rsp + 0x48], 0x11
je 0x180007ea0
cmp dword [rsp + 0x48], 0x13
je 0x180007e0c
cmp dword [rsp + 0x48], 0x4008
je 0x180007c7c
jmp 0x180008064
mov r9d, 1
lea r8, [rsp + 0x2e0]
mov rdx, qword [rsp + 0x2310]
mov rcx, qword [rsp + 0x2308]
call fcn.18000da90
mov dword [rsp + 0x34], eax
jmp 0x180008064
lea rcx, [rsp + 0x2e0]
call fcn.180031250
add rax, 2
mov dword [rsp + 0x4c], eax
mov edx, 1
lea rcx, [rsp + 0x1d0]
call fcn.180021580
lea rcx, [rsp + 0x1d0]
call fcn.18001a4b0
nop
movsxd rax, dword [rsp + 0x4c]
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.1800080f0
nop
jmp 0x180007cc9
lea rcx, [rsp + 0x1d0]
call fcn.1800072c0
test rax, rax
je 0x180007df2
lea rcx, [rsp + 0x1d0]
call fcn.1800072c0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
test eax, eax
je 0x180007da5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x180007d6a
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x30
jne 0x180007d6a
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 + 0x78]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x58], rax
jmp 0x180007d96
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 0x180007d06
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 + 0x1d0]
call fcn.1800072c0
mov r8, rax
mov rdx, qword [rsp + 0x2310]
mov rcx, qword [rsp + 0x2308]
call fcn.18000d9c0
mov dword [rsp + 0x34], eax
jmp 0x180007dfa
mov dword [rsp + 0x34], SafeArrayDestroy
lea rcx, [rsp + 0x1d0]
call fcn.180006ee0
jmp 0x180008064
call fcn.18000ea10
mov dword [rsp + 0x80], eax
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.180021580
lea rcx, [rsp + 0xb8]
call fcn.18001a4b0
nop
mov edx, 0x400
lea rcx, [rsp + 0x2e0]
call fcn.180013810
mov qword [rsp + 0x90], rax
lea r9, [rsp + 0xb4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov r8d, dword [rsp + 0xb4]
mov rdx, qword [rsp + 0x2310]
mov rcx, qword [rsp + 0x2308]
call fcn.18000d970
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0xb8]
call fcn.180006d10
jmp 0x180008064
lea rcx, [rsp + 0x2e0]
call fcn.180031250
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x180007ec6
mov eax, 0x80004005
jmp 0x1800080a6
mov eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x60], eax
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.180021580
lea rcx, [rsp + 0xc0]
call fcn.18001a4b0
nop
movsxd rax, dword [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1800080c0
nop
jmp 0x180007f0b
lea rcx, [rsp + 0xc0]
call fcn.1800072c0
test rax, rax
jne 0x180007f3b
mov dword [rsp + 0x6c], 0x80004005
lea rcx, [rsp + 0xc0]
call fcn.180006ee0
mov eax, dword [rsp + 0x6c]
jmp 0x1800080a6
movsxd rax, dword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xc0]
call fcn.1800072c0
mov rcx, qword [rsp + 0xa0]
mov r8, rcx
xor edx, edx
mov rcx, rax
call fcn.180031bf0
mov dword [rsp + 0x38], 0
jmp 0x180007f7e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
jge 0x180008002
mov eax, dword [rsp + 0x38]
cdq
sub eax, edx
sar eax, 1
cdqe
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xc0]
call fcn.1800072c0
mov rcx, qword [rsp + 0x88]
add rax, rcx
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x38]
and eax, 1
mov ecx, 1
sub ecx, eax
mov eax, ecx
shl eax, 2
mov dword [rsp + 0x68], eax
movsxd rcx, dword [rsp + 0x38]
movzx ecx, word [rsp + rcx*2 + 0x2e0]
call fcn.180009090
movzx eax, al
mov ecx, dword [rsp + 0x68]
shl eax, cl
mov rcx, qword [rsp + 0x70]
movzx ecx, byte [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x70]
mov byte [rcx], al
jmp 0x180007f74
lea rcx, [rsp + 0xc0]
call fcn.1800072c0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x2308]
call fcn.1800072c0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x2310]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0xc0]
call fcn.180006ee0
cmp dword [rsp + 0x34], 0
je 0x18000807e
mov dword [rsp + 0x64], 0x204
mov ecx, dword [rsp + 0x34]
call fcn.180008c50
jmp 0x1800080a6
mov rdx, qword [rsp + 0x2318]
mov rcx, qword [rsp + 0x2300]
call fcn.18000b670
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1800080a4
mov eax, dword [rsp + 0x30]
jmp 0x1800080a6
xor eax, eax
mov rcx, qword [rsp + 0x22e0]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0x22f8
ret