Function at 0x14007e970
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14049f3c0]
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 0x14007e9a5
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 0x14007eac0
lea rcx, [rsp + 0x50]
call fcn.14009ece0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14007e9fd
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b3c00]
call fcn.140060f60
lea rdx, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcmbupdatrRegistry.cpp
mov rcx, rax
call fcn.140049e60
mov rcx, rax
lea rdx, [0x14041b3dc]
call fcn.140049e60
mov edx, 0xc2
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, [0x14041a458]
call fcn.140049e60
mov rcx, rax
lea rdx, str.Failed_to_create_key
call fcn.140049e60
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14007ea63
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140060f60
lea rdx, [0x14041a458]
mov rcx, rax
call fcn.140049e60
mov edx, esi
mov rcx, rax
call fcn.1400476f0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002fc90
movzx edx, ax
mov rcx, rbx
call fcn.140072fb0
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
xor al, al
jmp 0x14007ec00
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14007eacd
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 0x14007ebfe
lea rcx, [rsp + 0x50]
call fcn.14009ece0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14007eb16
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b3c00]
call fcn.140060f60
lea rdx, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcmbupdatrRegistry.cpp
mov rcx, rax
call fcn.140049e60
mov rcx, rax
lea rdx, [0x14041b3dc]
call fcn.140049e60
mov edx, 0xc8
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, [0x14041a458]
call fcn.140049e60
mov rcx, rax
lea rdx, str.Failed_to_set_value
call fcn.140049e60
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14007eb7c
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140060f60
lea rdx, [0x140424150]
mov rcx, rax
call fcn.140049e60
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x14007eba4
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140060f60
lea rdx, [0x14041a458]
mov rcx, rax
call fcn.140049e60
mov edx, esi
mov rcx, rax
call fcn.1400476f0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002fc90
movzx edx, ax
mov rcx, rbx
call fcn.140072fb0
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
xor al, al
jmp 0x14007ec00
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1402ba9b0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret