Function at 0x140002934
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1b0
mov qword [rsp + 0x178], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, r8
movzx edi, dx
mov ebx, ecx
lea rcx, [rax - 0x110]
call fcn.140009380
nop
lea rdx, [rsp + 0xa8]
mov ecx, ebx
call fcn.140001c5c
xor esi, esi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0xa8]
call fcn.140009be0
mov rdx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea ebx, [rsi + 2]
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
je 0x1400029ca
lea rcx, [rsp + 0xa8]
call fcn.1400093f0
xor al, al
jmp 0x140002d3d
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.140009364
nop
lea rcx, [rsp + 0xd0]
call fcn.140009380
nop
lea rdx, [rsp + 0xd0]
mov ecx, 3
call fcn.140001c5c
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x1d8], esi
lea rcx, [rsp + 0xd0]
call fcn.140009be0
mov rdx, rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
je 0x140002a7c
lea rcx, [rsp + 0xd0]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400092d8
nop
lea rcx, [rsp + 0xa8]
call fcn.1400093f0
xor al, al
jmp 0x140002d3d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xf8]
call fcn.140009364
nop
lea rcx, [rsp + 0x110]
call fcn.140009380
nop
lea rdx, [rsp + 0x110]
mov ecx, 4
call fcn.140001c5c
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x110]
call fcn.140009be0
mov rdx, rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
je 0x140002b46
lea rcx, [rsp + 0x110]
call fcn.1400093f0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400092d8
nop
lea rcx, [rsp + 0xd0]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400092d8
nop
lea rcx, [rsp + 0xa8]
call fcn.1400093f0
xor al, al
jmp 0x140002d3d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x160]
call fcn.140009364
nop
lea rcx, [rsp + 0x80]
call fcn.140009380
nop
lea rdx, [rsp + 0x80]
mov ecx, 5
call fcn.140001c5c
lea rcx, [rsp + 0x180]
call fcn.140009380
nop
movzx ebx, di
lea rcx, [rsp + 0x80]
call fcn.140009be0
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x180]
call fcn.1400094d0
lea rcx, [rsp + 0x138]
call fcn.140009380
nop
lea rdx, [rsp + 0x80]
mov ecx, 6
call fcn.140001c5c
lea rcx, [rsp + 0x80]
call fcn.140009be0
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x138]
call fcn.1400094d0
lea rcx, [rsp + 0x138]
call fcn.140009708
lea edi, [rax + 1]
lea rcx, [rsp + 0x138]
call fcn.140009be0
mov rbx, rax
lea rcx, [rsp + 0x180]
call fcn.140009be0
mov rdx, rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, esi
je 0x140002cad
lea rcx, [rsp + 0x138]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x180]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x80]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x160]
call fcn.1400092d8
nop
lea rcx, [rsp + 0x110]
call fcn.1400093f0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400092d8
nop
lea rcx, [rsp + 0xd0]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400092d8
nop
jmp 0x140002d2d
mov ecx, dword [0x140017650]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rbp], 1
lea rcx, [rsp + 0x138]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x180]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x80]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x160]
call fcn.1400092d8
nop
lea rcx, [rsp + 0x110]
call fcn.1400093f0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400092d8
nop
lea rcx, [rsp + 0xd0]
call fcn.1400093f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400092d8
nop
mov sil, 1
lea rcx, [rsp + 0xa8]
call fcn.1400093f0
mov al, sil
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret