Function at 0x140019610
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 [0x14009f008]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x150]
call fcn.14005b700
mov r8d, 1
lea rdx, str.Property_u
lea rcx, [rbp + 0x150]
call fcn.140013080
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x40]
call fcn.14005b700
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.140019360
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400196b1
mov rsi, qword [rax]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
xor r14d, r14d
or rbx, 0xffffffffffffffff
test rsi, rsi
jne 0x1400196ce
mov edx, r14d
mov qword [rbp - 0x50], rdx
jmp 0x14001973a
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], r14b
jne 0x1400196d1
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 0x140019736
cmp eax, 0xc
je 0x14001972b
cmp eax, 0x16
je 0x140019720
cmp eax, 0x22
je 0x140019720
cmp eax, 0x50
je 0x140019736
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 0x140019756
mov rbx, r14
jmp 0x14001975f
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140019756
mov r8, rbx
lea rcx, [rsp + 0x68]
call fcn.140002500
nop
lea rax, [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
je 0x140019780
call fcn.14005d6dc
nop
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x1400197d6
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x1400197d1
test cl, 0x1f
je 0x1400197a4
call fcn.14005d52c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400197b3
call fcn.14005d52c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400197c2
call fcn.14005d52c
int3
cmp rcx, 0x27
jbe 0x1400197ce
call fcn.14005d52c
int3
mov rcx, rax
call fcn.14003a87c
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 0x14001986d
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 0x1400198c9
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x1400198c4
test cl, 0x1f
je 0x140019897
call fcn.14005d52c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400198a6
call fcn.14005d52c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400198b5
call fcn.14005d52c
int3
cmp rcx, 0x27
jbe 0x1400198c1
call fcn.14005d52c
int3
mov rcx, rax
call fcn.14003a87c
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14003a8a0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret