Function at 0x14007c9b0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov rbx, rdx
movzx eax, r9b
mov dword [rsp + 0x78], eax
cmp qword [rdx + 0x18], 7
jbe 0x14007c9e5
mov rdx, qword [rdx]
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
je 0x14007cb00
lea rcx, [rsp + 0x50]
call fcn.1400fffc0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14007ca3d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcmbupdatrRegistry.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0xc2
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, [0x1404121b8]
call fcn.140047ea0
mov rcx, rax
lea rdx, str.Failed_to_create_key
call fcn.140047ea0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14007caa3
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14005efa0
lea rdx, [0x1404121b8]
mov rcx, rax
call fcn.140047ea0
mov edx, esi
mov rcx, rax
call fcn.140045730
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
xor al, al
jmp 0x14007cc40
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14007cb0d
mov rdx, qword [rdi]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
je 0x14007cc3e
lea rcx, [rsp + 0x50]
call fcn.1400fffc0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14007cb56
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcmbupdatrRegistry.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0xc8
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, [0x1404121b8]
call fcn.140047ea0
mov rcx, rax
lea rdx, str.Failed_to_set_value
call fcn.140047ea0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14007cbbc
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14005efa0
lea rdx, [0x14041bb60]
mov rcx, rax
call fcn.140047ea0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x14007cbe4
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14005efa0
lea rdx, [0x1404121b8]
mov rcx, rax
call fcn.140047ea0
mov edx, esi
mov rcx, rax
call fcn.140045730
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
xor al, al
jmp 0x14007cc40
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret