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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
xor edi, edi
cmp rcx, 0xffffffff80000001
jne 0x140063286
mov r12d, edi
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x30]
call fcn.140286140
mov dword [rbp - 0x58], 0x100
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x30]
mov edx, r12d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
inc r12d
test eax, eax
jne 0x140063278
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140063074
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14000d3a0
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov qword [rsp + 0x20], 8
lea r9, str._Classes
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
call fcn.140037ea0
cmp rax, 0xffffffffffffffff
je 0x1400630cb
lea rcx, [rbp - 0x50]
call fcn.14000c340
jmp 0x140063000
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
mov r8d, 9
lea rdx, str.filecache
lea rcx, [rsp + 0x50]
call fcn.14000d3a0
nop
mov r9b, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14007f760
cmp rax, qword [rbp - 0x40]
setb bl
lea rcx, [rsp + 0x50]
call fcn.14000c340
test bl, bl
je 0x140063137
lea rcx, [rbp - 0x50]
call fcn.14000c340
jmp 0x140063000
mov qword [rbp - 0x68], rdi
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x30]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test eax, eax
jne 0x140063267
mov byte [rsp + 0x20], al
mov r9, r15
mov r8, r14
mov rdx, rsi
mov rcx, qword [rbp - 0x68]
call fcn.140062fb0
test al, al
jne 0x14006325c
lea rcx, [rsp + 0x70]
call fcn.1400e4560
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140063191
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404784e0]
call fcn.14003fb60
lea rdx, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcmbupdatr_registry.cpp
mov rcx, rax
call fcn.14002fb80
mov rcx, rax
lea rdx, [0x1403b9014]
call fcn.14002fb80
mov rcx, rax
mov edx, 0x8b
call fcn.140026f80
mov rcx, rax
lea rdx, str.:_Failed_to_add_reg_string_value
call fcn.14002fb80
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400631e7
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14003fb60
lea rdx, str._under_regkey_HKU_
mov rcx, rax
call fcn.14002fb80
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14006320f
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14003fb60
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002bcc0
movzx edx, ax
mov rcx, rbx
call fcn.140056640
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rsp + 0x70]
call fcn.14000c340
nop
lea rcx, [rbp - 0x50]
call fcn.14000c340
jmp 0x140063000
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x50]
call fcn.14000c340
test ebx, ebx
je 0x140063000
cmp ebx, 0x103
sete al
jmp 0x1400634f0
mov qword [rbp - 0x60], rdi
cmp qword [rdx + 0x18], 8
jb 0x140063294
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
je 0x1400633a5
lea rcx, [rsp + 0x70]
call fcn.1400e4560
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400632e2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404784e0]
call fcn.14003fb60
lea rdx, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcmbupdatr_registry.cpp
mov rcx, rax
call fcn.14002fb80
mov rcx, rax
lea rdx, [0x1403b9014]
call fcn.14002fb80
mov rcx, rax
mov edx, 0x98
call fcn.140026f80
mov rcx, rax
lea rdx, [0x1403b8034]
call fcn.14002fb80
mov rcx, rax
lea rdx, str.Failed_to_create_key
call fcn.14002fb80
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140063348
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.14003fb60
lea rdx, [0x1403b8034]
mov rcx, rax
call fcn.14002fb80
mov rcx, rax
mov edx, ebx
call fcn.140026f80
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002bcc0
movzx edx, ax
mov rcx, rbx
call fcn.140056640
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rsp + 0x70]
call fcn.14000c340
xor al, al
jmp 0x1400634f0
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x1400633b3
mov r15, qword [r15]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400633c0
mov rdx, qword [r14]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400634ee
lea rcx, [rsp + 0x70]
call fcn.1400e4560
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140063406
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404784e0]
call fcn.14003fb60
lea rdx, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcmbupdatr_registry.cpp
mov rcx, rax
call fcn.14002fb80
mov rcx, rax
lea rdx, [0x1403b9014]
call fcn.14002fb80
mov rcx, rax
mov edx, 0x9e
call fcn.140026f80
mov rcx, rax
lea rdx, [0x1403b8034]
call fcn.14002fb80
mov rcx, rax
lea rdx, str.Failed_to_set_value
call fcn.14002fb80
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14006346c
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.14003fb60
lea rdx, [0x1403c4220]
mov rcx, rax
call fcn.14002fb80
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x140063494
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.14003fb60
lea rdx, [0x1403b8034]
mov rcx, rax
call fcn.14002fb80
mov rcx, rax
mov edx, ebx
call fcn.140026f80
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002bcc0
movzx edx, ax
mov rcx, rbx
call fcn.140056640
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rsp + 0x70]
call fcn.14000c340
xor al, al
jmp 0x1400634f0
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x2e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret