Function at 0x14001bbb0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x288]
sub rsp, 0x370
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400a3008]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x150]
call fcn.14005db90
mov r8d, 1
lea rdx, str.Property_u
lea rcx, [rbp + 0x150]
call fcn.1400156c0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x40]
call fcn.14005db90
lea r8, [rbp + 0x40]
mov edx, dword [rbx + 0x48]
mov ecx, dword [rbx + 0x38]
call section.RT_CODE
lea rdx, [rbp - 0x78]
mov rcx, qword [rbx + 0x50]
call fcn.14001b900
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x14001bc51
mov rsi, qword [rax]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
xor r14d, r14d
or rbx, 0xffffffffffffffff
test rsi, rsi
jne 0x14001bc6e
mov edx, r14d
mov qword [rbp - 0x50], rdx
jmp 0x14001bcda
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], r14b
jne 0x14001bc71
inc edi
lea r8, [rbp - 0x48]
mov edx, edi
lea rcx, [rbp - 0x50]
call fcn.140002d00
movsxd rdx, edi
mov r9, rdx
mov r8, rsi
mov rcx, qword [rbp - 0x50]
call fcn.140001490
test eax, eax
je 0x14001bcd6
cmp eax, 0xc
je 0x14001bccb
cmp eax, 0x16
je 0x14001bcc0
cmp eax, 0x22
je 0x14001bcc0
cmp eax, 0x50
je 0x14001bcd6
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov ecx, 0x80070057
call fcn.1400015b0
int3
mov ecx, 0x8007000e
call fcn.1400015b0
int3
mov rdx, qword [rbp - 0x50]
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], 0
cmp byte [rdx], 0
jne 0x14001bcf6
mov rbx, r14
jmp 0x14001bcff
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14001bcf6
mov r8, rbx
lea rcx, [rsp + 0x68]
call fcn.140002500
nop
lea rax, [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
je 0x14001bd20
call fcn.14005fb6c
nop
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x14001bd76
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x14001bd71
test cl, 0x1f
je 0x14001bd44
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001bd53
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001bd62
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x14001bd6e
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
mov rsi, qword [rsp + 0x78]
lea rdi, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdi, qword [rsp + 0x68]
mov ebx, 0x80004005
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001be0d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
mov r9d, 3
xor r8d, r8d
lea rdx, [rbp + 0x150]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bl
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x14001be69
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x14001be64
test cl, 0x1f
je 0x14001be37
call fcn.14005f9bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001be46
call fcn.14005f9bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001be55
call fcn.14005f9bc
int3
cmp rcx, 0x27
jbe 0x14001be61
call fcn.14005f9bc
int3
mov rcx, rax
call fcn.14003ccec
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14003cd10
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret