Function at 0x281b73000
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x248
lea r13, [rsp + 0x130]
mov dword [rsp + 0x290], ecx
lea rbx, [rsp + 0xb0]
mov rcx, r13
mov qword [rsp + 0x298], rdx
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x2a0], r8d
call fcn.281c2f650
mov rax, qword [0x281ca4760]
mov rsi, qword [0x281ca4240]
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x218], 0
add rax, 0x10
mov rdi, qword [rsi + 0x10]
mov qword [rsp + 0x220], 0
mov qword [rsp + 0x130], rax
xor eax, eax
mov word [rsp + 0x210], ax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x228], 0
mov rdx, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x230], 0
mov qword [rsp + 0xb0], rdi
mov qword [rsp + rax + 0xb0], rdx
xor edx, edx
mov qword [rsp + 0xb8], 0
add rbx, qword [rdi - 0x18]
mov rcx, rbx
call fcn.281c30740
mov rbp, qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
lea r14, [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x68], rax
add rcx, r14
mov qword [rcx], rax
call fcn.281c30740
mov rax, qword [rsi + 8]
mov rbx, qword [rsi + 0x30]
lea r15, [rsp + 0x100]
lea r12, [rsp + 0xc8]
mov rcx, r15
mov qword [rsp + 0x58], rax
mov rax, qword [rax - 0x18]
mov qword [rsp + 0x60], rbx
mov qword [rsp + rax + 0xb0], rbx
mov rbx, qword [0x281ca42e0]
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
lea rax, [rbx + 0x18]
mov qword [rsp + 0xb0], rax
lea rax, [rbx + 0x68]
mov qword [rsp + 0x130], rax
lea rax, [rbx + 0x40]
mov qword [rsp + 0xc0], rax
mov rax, qword [0x281ca4510]
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
add rax, 0x10
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
call fcn.281c17800
mov rax, qword [0x281ca42d0]
mov rdx, r12
mov rcx, r13
mov dword [rsp + 0x108], 0x18
add rax, 0x10
mov byte [rsp + 0x120], 0
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0
call fcn.281c30740
mov r8d, 0x33
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPolicies_
mov rcx, r14
call fcn.281c329b0
cmp dword [rsp + 0x290], 1
je 0x281b73488
cmp dword [rsp + 0x290], 2
je 0x281b734c0
mov rax, qword [rsp + 0xf0]
lea rsi, [rsp + 0xa0]
mov qword [rsp + 0x98], 0
lea r12, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
mov byte [rsp + 0xa0], 0
test rax, rax
je 0x281b734a8
mov rdx, qword [rsp + 0xe0]
mov r9, qword [rsp + 0xe8]
cmp rax, rdx
ja 0x281b73468
sub rdx, r9
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rdx
xor edx, edx
call fcn.281c18e30
lea rax, [rsp + 0x84]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea rax, [rsp + 0x2a0]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x90]
cmp rcx, rsi
je 0x281b7336e
mov rax, qword [rsp + 0xa0]
lea rdx, [rax + 1]
call fcn.281c38eb0
lea rax, [rbx + 0x18]
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xb0], rax
lea rax, [rbx + 0x68]
add rbx, 0x40
mov qword [rsp + 0x130], rax
mov rax, qword [0x281ca42d0]
mov qword [rsp + 0xc0], rbx
add rax, 0x10
mov qword [rsp + 0xc8], rax
cmp rcx, qword [rsp + 0x70]
je 0x281b733c5
mov rax, qword [rsp + 0x120]
lea rdx, [rax + 1]
call fcn.281c38eb0
mov rax, qword [0x281ca4510]
mov rcx, r15
add rax, 0x10
mov qword [rsp + 0xc8], rax
call fcn.281c17900
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rcx, r13
mov rax, qword [rax - 0x18]
mov qword [rsp + rax + 0xb0], rsi
mov rax, qword [rbp - 0x18]
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + rax + 0xc0], rsi
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0xb0], rdi
mov rdi, qword [rsp + 0x50]
mov qword [rsp + rax + 0xb0], rdi
mov rax, qword [0x281ca4760]
mov qword [rsp + 0xb8], 0
add rax, 0x10
mov qword [rsp + 0x130], rax
call fcn.281c2f700
nop
add rsp, 0x248
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
sub rax, r9
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.281c18e30
jmp 0x281b732bd
mov r8d, 8
lea rdx, str.Explorer
mov rcx, r14
call fcn.281c329b0
jmp 0x281b73252
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.281c1b1f0
jmp 0x281b732bd
mov r8d, 6
lea rdx, str.System
mov rcx, r14
call fcn.281c329b0
jmp 0x281b73252