Function at 0x180032120
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, 0xe8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x180094030]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
add eax, 0x120dfa7
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.18001b0e0
lea rcx, [rsp + 0xc0]
call fcn.18001c230
nop
mov dword [rsp + 0x70], SafeArrayUnaccessData
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x70]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
cmp qword [rsp + 0xf8], 0
je 0x18003220e
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xa0]
call fcn.18001c1b0
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
call fcn.18001c880
nop
lea rcx, [rsp + 0xa0]
call fcn.180013670
lea rcx, [rsp + 0xc0]
call fcn.18000bd00
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x110]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x60], eax
lea rax, [0x180096a14]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x1800322d7
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1800322d7
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov byte [rsp + 0x50], 0
cmp dword [rsp + 0x60], 0
jne 0x180032448
mov rcx, qword [rsp + 0x108]
call fcn.180001c50
shl rax, 1
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x108]
call fcn.180025f50
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x180032351
mov dword [rsp + 0x64], 1
jmp 0x180032359
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x50], al
mov dword [rsp + 0x74], 8
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x74]
movsxd rcx, ecx
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
mov word [rsp + 0x54], ax
movsx rax, word [rsp + 0x54]
lea rcx, [0x180093a70]
cmp dword [rcx + rax*4], 1
jne 0x1800323ce
movsx rax, word [rsp + 0x54]
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x54]
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x180032404
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
add eax, 0x1e207a2
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
jmp 0x180032443
mov eax, 5
mov word [rsp + 0x58], ax
movsx rax, word [rsp + 0x58]
lea rcx, [0x180093a70]
cmp dword [rcx + rax*4], 1
jne 0x180032443
movsx rax, word [rsp + 0x58]
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x58]
lea rdx, [0x180093a70]
mov dword [rdx + rcx*4], eax
jmp 0x18003250d
lea rax, [0x180096a14]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x1800324b7
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1800324b7
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093a70]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff9c4
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093a70]
mov eax, dword [rcx + rax]
add eax, 0x7826586
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093a70]
mov dword [rdx + rcx], eax
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x5c], al
lea rcx, [rsp + 0xc0]
call fcn.180013670
movzx eax, byte [rsp + 0x5c]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.18004a8d0
add rsp, 0xe8
ret