Function at 0x180032f20
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
sub rsp, 0xd8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov eax, SafeArrayUnaccessData
mov word [rsp + 0x54], ax
movsx rax, word [rsp + 0x54]
lea rcx, [0x180096a70]
cmp dword [rcx + rax*4], 1
jne 0x180032f98
movsx rax, word [rsp + 0x54]
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x54]
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
mov edx, 1
lea rcx, [rsp + 0xb0]
call fcn.18001b1e0
lea rcx, [rsp + 0xb0]
call fcn.18001c1b0
nop
lea rax, [0x180099704]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180033027
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x180033027
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0xe8], 0
je 0x180033072
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x90]
call fcn.18001c140
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb0]
call fcn.18001c620
nop
lea rcx, [rsp + 0x90]
call fcn.1800136e0
mov dword [rsp + 0x68], 9
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x68]
movsxd rcx, ecx
lea rdx, [0x180096a70]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0xb0]
call fcn.180013930
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x100]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x60], eax
mov byte [rsp + 0x50], 0
cmp dword [rsp + 0x60], 0
jne 0x18003330a
mov rcx, qword [rsp + 0xf8]
call fcn.180006a80
shl rax, 1
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xf8]
call fcn.18001c8a0
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x18003315f
mov dword [rsp + 0x64], 1
jmp 0x180033167
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x50], al
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x6341060
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff97b
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x180033308
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
add eax, 0x6e2fa3c
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18003328a
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a70]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a70]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180033308
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a70]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
jmp 0x180033335
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff944
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a70]
mov dword [rdx + rcx], eax
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x5c], al
lea rcx, [rsp + 0xb0]
call fcn.1800136e0
movzx eax, byte [rsp + 0x5c]
jmp 0x18003339f
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.18004b890
add rsp, 0xd8
ret