Function at 0x14007c0e0
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x2a8
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r14, r8
mov rdi, rdx
mov dword [rsp + 0x80], r9d
cmp rcx, 0xffffffff80000001
jne 0x14007c1c3
xor ebx, ebx
mov esi, ebx
nop
mov dword [rsp + 0x88], 0x100
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x90]
mov edx, esi
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14007c1b6
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14007c1b6
mov byte [rsp + 0x20], bl
mov r9d, dword [rsp + 0x80]
mov r8, r14
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call fcn.14007c0e0
test al, al
je 0x14007c2da
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
jmp 0x14007c120
cmp eax, 0x103
sete al
jmp 0x14007c424
cmp qword [rdx + 0x18], 7
jbe 0x14007c1cd
mov rdx, qword [rdx]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
je 0x14007c2e1
lea rcx, [rsp + 0x50]
call fcn.1400fffc0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14007c21e
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, 0x66
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 [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x14007c284
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14005efa0
lea rdx, [0x1404121b8]
mov rcx, rax
call fcn.140047ea0
mov edx, ebx
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 0x14007c424
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14007c2ee
mov rdx, qword [r14]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x14007c422
lea rcx, [rsp + 0x50]
call fcn.1400fffc0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14007c33a
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, WSASetLastError
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 [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x14007c3a0
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14005efa0
lea rdx, [0x14041bb60]
mov rcx, rax
call fcn.140047ea0
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x14007c3c8
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.14005efa0
lea rdx, [0x1404121b8]
mov rcx, rax
call fcn.140047ea0
mov edx, ebx
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 0x14007c424
mov al, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x2a8
pop r14
pop rdi
pop rsi
pop rbx
ret