Function at 0x14001e410
Capabilities:
Set registry value

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov r15d, r8d
mov rsi, rdx
mov r14, rcx
movzx eax, byte [0x1401cbd84]
neg al
sbb r13, r13
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x61], rax
xor eax, eax
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], eax
mov qword [rbp - 0x69], rax
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x59], rbx
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x51], rax
lea rax, [0x140156ad8]
mov r12, rax
shr r12, 0x10
test r12, r12
jne 0x14001e4e4
movzx edi, ax
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001e4f1
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.1400025b0
jmp 0x14001e4f1
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140003350
nop
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x19]
call fcn.140010500
nop
lea r8, [0x1401cc220]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140010500
nop
lea r8, [0x140156a68]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.14001c930
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140010500
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
lea rdi, [rbx - 0x18]
or ebx, 0xffffffff
cmp rcx, rdi
je 0x14001e593
cmp dword [rdi + 0x10], 0
jl 0x14001e585
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001e585
call fcn.140002410
mov r15, rax
lock add dword [rdi + 0x10], ebx
jg 0x14001e577
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r15 + 0x18]
mov qword [rbp - 0x59], rax
mov r15d, dword [rbp + 0x77]
jmp 0x14001e593
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.1400022c0
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e5ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e5c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e5de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e5f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e60f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, dword [0x1401cbd80]
imul r8d, r8d
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 2
jne 0x14001e63e
inc dword [0x1401cc314]
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
lea rdx, [0x140156ad8]
test r12, r12
jne 0x14001e683
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001e68d
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.1400025b0
jmp 0x14001e68d
lea rcx, [rbp - 0x49]
call fcn.140003350
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x11]
call fcn.140010500
nop
lea r8, [0x1401cc220]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140010500
nop
lea r8, [0x140156a68]
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14001c930
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140010500
nop
xor r12d, r12d
mov qword [rbp - 0x41], r12
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [r13 - 0x7ffffffe]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001e72d
mov dword [rbp - 0x71], r12d
mov ecx, r12d
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x79], rax
test ecx, ecx
setne dil
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e74c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e765
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e77e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e797
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e7af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x14001e868
mov ecx, dword [0x1401cbd80]
imul ecx, ecx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 7
jne 0x14001e7e5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
nop
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e7fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14001e811
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x79], r12
mov dword [rbp - 0x71], r12d
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e82e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001e84a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e861
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14001e9b2
mov dword [rbp + 0x7f], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsi]
mov rdi, qword [rbp - 0x79]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001e91e
test rdi, rdi
je 0x14001e8b0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x79], r12
mov dword [rbp - 0x71], r12d
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e8cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14001e8e0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x79], r12
mov dword [rbp - 0x71], r12d
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e8fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001e919
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14001e84a
test rdi, rdi
je 0x14001e930
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x79], r12
mov dword [rbp - 0x71], r12d
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e94d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14001e960
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x79], r12
mov dword [rbp - 0x71], r12d
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e97d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001e999
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e9b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret