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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r14, r8
mov rsi, rdx
mov dword [rsp + 0x88], r9d
cmp rcx, 0xffffffff80000001
jne 0x140062d1c
xor edi, edi
mov ebp, edi
nop dword [rax + rax]
mov dword [rsp + 0x90], 0x100
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x90]
lea r8, [rsp + 0xa0]
mov edx, ebp
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x140062d04
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test eax, eax
jne 0x140062d04
mov byte [rsp + 0x20], dil
mov r9d, dword [rsp + 0x88]
mov r8, r14
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
call fcn.140062c20
test al, al
je 0x140062e36
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
test ebx, ebx
je 0x140062c70
cmp ebx, 0x103
sete al
jmp 0x140062f83
cmp qword [rdx + 0x18], 8
jb 0x140062d26
mov rdx, qword [rdx]
xor edi, edi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x80]
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 0x140062e3d
lea rcx, [rsp + 0x58]
call fcn.1400e4560
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140062d7a
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, 0x66
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 0x140062de0
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 + 0x58]
call fcn.14000c340
xor al, al
jmp 0x140062f83
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140062e4a
mov rdx, qword [r14]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140062f81
lea rcx, [rsp + 0x58]
call fcn.1400e4560
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140062e99
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, WSASetLastError
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 0x140062eff
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 0x140062f27
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 + 0x58]
call fcn.14000c340
xor al, al
jmp 0x140062f83
mov al, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x2b0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret