Function at 0x1400195e0
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 [0x1400a0008]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x150]
call fcn.14005b890
mov r8d, 1
lea rdx, str.Property_u
lea rcx, [rbp + 0x150]
call fcn.140013050
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x40]
call fcn.14005b890
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.140019330
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x140019681
mov rsi, qword [rax]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
xor r14d, r14d
or rbx, 0xffffffffffffffff
test rsi, rsi
jne 0x14001969e
mov edx, r14d
mov qword [rbp - 0x50], rdx
jmp 0x14001970a
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], r14b
jne 0x1400196a1
inc edi
lea r8, [rbp - 0x48]
mov edx, edi
lea rcx, [rbp - 0x50]
call fcn.140002c80
movsxd rdx, edi
mov r9, rdx
mov r8, rsi
mov rcx, qword [rbp - 0x50]
call fcn.140001490
test eax, eax
je 0x140019706
cmp eax, 0xc
je 0x1400196fb
cmp eax, 0x16
je 0x1400196f0
cmp eax, 0x22
je 0x1400196f0
cmp eax, 0x50
je 0x140019706
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 0x140019726
mov rbx, r14
jmp 0x14001972f
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140019726
mov r8, rbx
lea rcx, [rsp + 0x68]
call fcn.140002500
nop
lea rax, [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
je 0x140019750
call fcn.14005d86c
nop
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x1400197a6
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x1400197a1
test cl, 0x1f
je 0x140019774
call fcn.14005d6bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140019783
call fcn.14005d6bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140019792
call fcn.14005d6bc
int3
cmp rcx, 0x27
jbe 0x14001979e
call fcn.14005d6bc
int3
mov rcx, rax
call fcn.14003aa0c
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 0x14001983d
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 0x140019899
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x140019894
test cl, 0x1f
je 0x140019867
call fcn.14005d6bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140019876
call fcn.14005d6bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140019885
call fcn.14005d6bc
int3
cmp rcx, 0x27
jbe 0x140019891
call fcn.14005d6bc
int3
mov rcx, rax
call fcn.14003aa0c
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14003aa30
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret