Function at 0x140123280
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13d, r9d
mov esi, r8d
mov dword [rsp + 0x30], r8d
mov ebx, edx
mov rbp, rcx
mov r12b, 1
xor r14b, r14b
call fcn.1401207c0
cmp ebx, 0xffffffff
jne 0x1401232cf
mov ebx, dword [rbp + 0x248]
cmp esi, 0xffffffff
jne 0x1401232de
mov esi, dword [rbp + 0x24c]
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
call fcn.140016e40
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov edx, ebx
lea rbx, [rbp + 0x140]
mov rcx, rbx
call fcn.140114950
xor edx, edx
mov r15d, edx
mov rax, qword [rsp + 0x50]
mov rdi, qword [rax]
lea ecx, [rdx + 1]
cmp rdi, rax
je 0x1401234c9
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rdx
call fcn.140016e40
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov r8d, esi
mov edx, dword [rdi + 0x1c]
mov rcx, rbx
call fcn.140114ac0
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14012343e
nop dword [rax + rax]
mov r9d, 1
mov r8d, dword [rbx + 0x1c]
mov edx, dword [rdi + 0x1c]
mov rcx, rbp
call fcn.140123f20
mov rsi, rax
test rax, rax
je 0x1401233d8
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx r14d, r14b
test eax, eax
mov eax, 1
cmove r14d, eax
mov eax, dword [rbp + 0x248]
cmp dword [rdi + 0x1c], eax
jne 0x1401233db
mov eax, dword [rbp + 0x24c]
cmp dword [rbx + 0x1c], eax
jne 0x1401233db
mov r15, rsi
jmp 0x1401233db
xor r12b, r12b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140123408
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140123403
nop
cmp rbx, qword [rax + 0x10]
jne 0x140123403
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401233f0
mov rbx, rax
jmp 0x14012342f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14012342f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140123420
cmp rbx, qword [rsp + 0x40]
jne 0x140123360
mov esi, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016d80
mov edx, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.140146bac
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
je 0x140123488
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x140123483
nop dword [rax + rax]
cmp rdi, qword [rax + 0x10]
jne 0x140123483
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140123470
mov rdi, rax
jmp 0x1401234af
mov rdi, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1401234af
nop dword [rax]
nop dword [rax + rax]
mov rdi, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1401234a0
cmp rdi, qword [rsp + 0x50]
lea rbx, [rbp + 0x140]
mov edx, 0
jne 0x140123320
lea ecx, [rdx + 1]
cmp byte [rsp + 0xe0], 0
je 0x14012350e
test r15, r15
je 0x1401234ef
mov byte [rsp + 0x20], 0
mov r9d, ecx
mov r8, r15
xor edx, edx
mov rcx, rbp
call fcn.140124560
jmp 0x14012350e
test r14b, r14b
je 0x14012350e
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.140120270
nop
lea rcx, [rsp + 0x50]
call fcn.140016d80
mov edx, 0x20
mov rcx, qword [rsp + 0x50]
call fcn.140146bac
movzx eax, r12b
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146480
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret