Function at 0x1400704a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
movzx r15d, cl
cmp word [rdx], 0x2e
jne 0x1400708ab
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov rcx, rdx
cmp byte [rbp + 0x610], r12b
je 0x140070923
mov qword [rsp + 0x50], r12
call fcn.1400b0640
mov rdx, rax
mov rcx, rbx
call fcn.1400b0780
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x78]
call fcn.1400b0220
mov rbx, rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007053c
call fcn.1400b0810
mov rcx, qword [rbx]
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x14007054f
call fcn.1400b04e0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14007055f
call fcn.1400b0810
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14007056f
call fcn.1400b0810
nop
lea rcx, [rsp + 0x58]
call fcn.1400b0200
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r14, qword [rsp + 0x50]
test r14, r14
jne 0x1400705c4
jmp 0x14007089b
cmp dword [rsp + 0x68], 2
jne 0x140070648
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1400b88a0
mov dword [rsp + 0x70], 0x206
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400f6914]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x70]
and rax, 0xfffffffffffffffe
cmp rax, 0x208
jae 0x140070a52
mov word [rbp + rax - 0x80], r12w
cmp word [rbp - 0x80], 0
je 0x140070643
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400bef10
test eax, eax
je 0x140070643
jmp 0x14007089b
mov r14, qword [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov rax, rbx
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140070652
lea eax, [rax*2 + 2]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, 1
lea rdx, [0x1400f6914]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r12
mov rcx, rdi
call fcn.1400b0640
mov rdx, rax
mov rcx, rdi
call fcn.1400b0780
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x78]
call fcn.1400b0220
mov rdi, rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400706d1
call fcn.1400b0810
mov rcx, qword [rdi]
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x1400706e4
call fcn.1400b04e0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400706f4
call fcn.1400b0810
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140070704
call fcn.1400b0810
nop
lea rcx, [rsp + 0x58]
call fcn.1400b0200
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x140070759
jmp 0x14007089b
mov rax, rbx
nop dword [rax]
lea rax, [rax + 1]
cmp word [rsi + rax*2], 0
jne 0x140070760
lea eax, [rax*2 + 2]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov r8d, 1
lea rdx, [0x1400f6914]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.shellopencommand
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp qword [rsp + 0x50], 0
jne 0x1400707dc
jmp 0x14007089b
lea rax, str.__s___OpenLog____1_
lea rdx, str.__s___Run32__OpenLog____1_
test r15b, r15b
cmove rdx, rax
lea r8, [0x140142ed0]
lea rcx, [rbp + 0x190]
call fcn.14006bd90
lea rcx, [rbp + 0x190]
mov rax, rbx
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140070810
lea eax, [rax*2 + 2]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x190]
mov r8d, 1
lea rdx, [0x1400f6914]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DefaultIcon
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp qword [rsp + 0x50], 0
jne 0x1400708b2
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400708ab
call fcn.1400b0810
nop
xor al, al
jmp 0x140070a31
lea r8, [0x140142ed0]
lea rdx, str.__s__0
lea rcx, [rbp + 0x190]
call fcn.14006bd90
lea rax, [rbp + 0x190]
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x1400708d3
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x190]
mov r8d, 1
lea rdx, [0x1400f6914]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140070a0b
call fcn.1400b0640
mov rdx, rax
mov rcx, rbx
call fcn.1400b0780
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x78]
call fcn.1400b0220
mov rbx, rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140070960
call fcn.1400b0810
mov rcx, qword [rbx]
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x140070973
call fcn.1400b04e0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140070983
call fcn.1400b0810
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140070993
call fcn.1400b0810
nop
lea rcx, [rsp + 0x58]
call fcn.1400b0200
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.14006f880
mov rcx, rdi
call fcn.1400b0640
mov rdx, rax
mov rcx, rdi
call fcn.1400b0780
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x50]
call fcn.1400b0220
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400709eb
call fcn.1400b0810
nop
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.14006f880
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140070a0b
call fcn.1400b0810
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140070a2f
call fcn.1400b0810
nop
mov al, 1
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.1400b5660
add rsp, 0x6b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400b5fa0
nop
int3