Function at 0x14000674c
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb48]
sub rsp, 0xc48
mov rax, qword [0x140012aa8]
xor rax, rsp
mov qword [rbp + 0xb30], rax
xor r12d, r12d
mov dword [rbp - 0x48], 0x208
mov qword [rsp + 0x58], r12
mov rsi, r9
mov qword [rbp - 0x50], r12
mov rdi, r8
mov qword [rbp - 0x58], r12
mov r14, rdx
mov qword [rsp + 0x60], r12
mov rbx, rcx
mov qword [rbp - 0x60], r12
mov r15d, r12d
mov dword [rsp + 0x68], 0x14
test rcx, rcx
jne 0x1400067bb
xor eax, eax
jmp 0x140006d67
lea rax, [rsp + 0x58]
mov word [rbp - 0x30], r12w
mov r13d, 0x20019
mov word [rbp + 0xd0], r12w
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.14000c684
test eax, eax
jne 0x140006d06
mov rcx, qword [rsp + 0x58]
lea rax, [rbp - 0x60]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140010860]
call fcn.14000c684
test eax, eax
jne 0x140006d06
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0xd0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x140006d06
lea rdx, str.msohtmed.exe
lea rcx, [rbp + 0xd0]
call fcn.14000bd60
test rax, rax
je 0x140006d06
lea rax, [rsp + 0x60]
mov dword [rbp - 0x44], 0x208
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14000c684
test eax, eax
jne 0x1400068e5
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x58]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140010860]
call fcn.14000c684
test eax, eax
jne 0x1400068e5
mov rcx, qword [rbp - 0x58]
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x500]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x1400068e5
cmp word [rbp + 0x500], r12w
jne 0x14000695d
lea rcx, [rbp - 0x50]
call fcn.140003680
test eax, eax
je 0x140006d06
movzx ecx, word [r14]
call fcn.14000b968
cmp ax, 0x65
lea rcx, [0x140010840]
mov rbx, r14
cmove rbx, rcx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140006921
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x50]
lea rax, [rsp + 0x60]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], r12
mov rdx, rbx
call fcn.14000c684
test eax, eax
jne 0x140006d06
test rbx, rbx
je 0x14000695d
movzx ecx, word [rbx]
call fcn.14000b968
cmp ax, 0x6f
je 0x140006971
movzx ecx, word [r14]
call fcn.14000b968
cmp ax, 0x6f
je 0x140006971
mov ebx, r12d
jmp 0x1400069bd
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov ebx, 1
call fcn.14000c6f0
test eax, eax
je 0x1400069bd
lea r8d, [rbx + 0x13]
lea rdx, [0x140010880]
lea rcx, [rbp - 0x30]
call fcn.14000b9c0
mov dword [rsp + 0x68], 0xc
mov rdx, rsi
mov rcx, rdi
call fcn.140002424
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400069d8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x34]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rdx, rsi
mov qword [rsp + 0x30], r12
mov rcx, rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
call fcn.14000c590
test eax, eax
jne 0x140006d06
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x60]
call fcn.140002168
test ebx, ebx
je 0x140006a57
mov eax, dword [rsp + 0x68]
mov r9d, 1
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call sub.ADVAPI32.dll_RegSetValueExW
mov ebx, r12d
mov esi, 0x10c
mov rdi, 0xffffffff80000000
mov rcx, qword [rsp + 0x58]
lea rdx, str.command
mov eax, 0x208
mov dword [rbp - 0x3c], 0xc8
mov dword [rbp - 0x40], eax
mov r9d, r13d
mov dword [rbp - 0x38], eax
xor r8d, r8d
lea rax, [rbp - 0x68]
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
call fcn.14000c684
test eax, eax
jne 0x140006c83
mov rcx, qword [rbp - 0x68]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x920]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x140006c83
mov eax, ebx
mov r8d, esi
neg eax
lea rax, [0x140011550]
sbb rcx, rcx
and ecx, 4
lea rdx, [rcx + rcx*4]
add rdx, rdx
lea rcx, [rbp + 0x2e0]
mov rdx, qword [rax + rdx*8]
call fcn.14000b9c0
mov r8d, esi
lea rdx, [0x140010578]
lea rcx, [rbp + 0x2e0]
call fcn.14000b97c
lea rax, [rbp - 0x70]
mov r9d, r13d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x2e0]
mov rcx, rdi
call fcn.14000c684
test eax, eax
jne 0x140006c83
mov rcx, qword [rbp - 0x70]
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x140006c83
lea rax, [rbp - 0x78]
mov r9d, r13d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
mov rcx, rdi
call fcn.14000c684
test eax, eax
jne 0x140006c83
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x78]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.shell
call fcn.14000c684
test eax, eax
jne 0x140006c83
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
call fcn.14000c684
test eax, eax
je 0x140006c0f
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.open
call fcn.14000c684
test eax, eax
jne 0x140006c83
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x80]
mov r9d, r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.command
call fcn.14000c684
test eax, eax
jne 0x140006c83
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x710]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x140006c83
lea rcx, [rbp + 0x710]
call fcn.1400089f0
mov rdx, rax
lea rcx, [rbp + 0x920]
call fcn.14000bcb8
test rax, rax
jne 0x140006d8a
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140006c92
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x80], r12
test rcx, rcx
je 0x140006ca6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x70], r12
test rcx, rcx
je 0x140006cbb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
mov qword [rsp + 0x78], r12
test rcx, rcx
je 0x140006ccf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], r12
test rcx, rcx
je 0x140006ce2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x70], r12
test rcx, rcx
je 0x140006cf5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, 1
jle 0x140006a66
mov r15d, 1
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140006d15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x60], r12
test rcx, rcx
je 0x140006d29
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x60], r12
test rcx, rcx
je 0x140006d3d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x58], r12
test rcx, rcx
je 0x140006d50
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x50], r12
test rcx, rcx
je 0x140006d64
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0xb30]
xor rcx, rsp
call fcn.14000db20
add rsp, 0xc48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140006d99
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x80], r12
test rcx, rcx
je 0x140006dad
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x70], r12
test rcx, rcx
je 0x140006dc2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
mov qword [rsp + 0x78], r12
test rcx, rcx
je 0x140006dd6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], r12
test rcx, rcx
je 0x140006de9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x70], r12
test rcx, rcx
je 0x140006d06
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140006d06