Function at 0x18002f390
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 + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1800891a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.18003cfc0
lea rcx, [rsp + 0xb8]
call fcn.18001c230
nop
cmp qword [rsp + 0xf8], 0
je 0x18002f434
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x90]
call fcn.18001c170
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb8]
call fcn.18001c7f0
nop
lea rcx, [rsp + 0x90]
call fcn.1800119b0
lea rcx, [rsp + 0xb8]
call fcn.18000b6b0
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0xb0]
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 + 0x5c], eax
mov dword [rsp + 0x68], 1
mov eax, dword [rsp + 0x68]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002f4bd
xor r9d, r9d
lea r8, [0x18008b394]
lea rdx, [0x18008b39c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov byte [rsp + 0x50], 0
cmp dword [rsp + 0x5c], 0
jne 0x18002f642
mov rcx, qword [rsp + 0x108]
call fcn.180001ce0
shl rax, 1
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x108]
call fcn.180011c00
mov rcx, qword [rsp + 0x88]
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 + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jne 0x18002f537
mov dword [rsp + 0x60], 1
jmp 0x18002f53f
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x50], al
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x18002f5e9
cmp qword [rsp + 0x100], 0
jne 0x18002f57f
lea rax, [0x18008b738]
mov qword [rsp + 0x80], rax
jmp 0x18002f58f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xb8]
call fcn.180011c00
mov r9, qword [rsp + 0x80]
mov r8, rax
lea rdx, [0x18008cc80]
mov ecx, 2
call fcn.180041480
mov dword [rsp + 0x64], 1
mov eax, dword [rsp + 0x64]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18002f5e7
xor r9d, r9d
lea r8, [0x18008b394]
lea rdx, [0x18008b39c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x18002f63d
cmp qword [rsp + 0x100], 0
jne 0x18002f602
lea rax, [0x18008b738]
mov qword [rsp + 0x70], rax
jmp 0x18002f60f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.180011c00
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x70]
mov r8, rax
lea rdx, [0x18008b778]
mov ecx, 3
call fcn.180041480
jmp 0x18002f6d5
cmp qword [rsp + 0x100], 0
jne 0x18002f65b
lea rax, [0x18008b738]
mov qword [rsp + 0x78], rax
jmp 0x18002f668
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xb8]
call fcn.180011c00
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x78]
mov r8, rax
lea rdx, [0x18008b748]
mov ecx, 4
call fcn.180041480
mov eax, 7
mov word [rsp + 0x54], ax
movsx rax, word [rsp + 0x54]
lea rcx, [0x180088a70]
cmp dword [rcx + rax*4], 1
jne 0x18002f6d5
movsx rax, word [rsp + 0x54]
lea rcx, [0x180088a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x54]
lea rdx, [0x180088a70]
mov dword [rdx + rcx*4], eax
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x58], al
lea rcx, [rsp + 0xb8]
call fcn.1800119b0
movzx eax, byte [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18004e350
add rsp, 0xe8
ret