Function at 0x14000cae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14005d020]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rax, rdx
mov qword [rbp + 0x68], rdx
xor edi, edi
mov qword [rbp + 0x60], rdi
lea rbx, [0x14005dcc0]
mov rdx, rbx
cmp qword [0x14005dcd8], 8
cmovae rdx, qword [0x14005dcc0]
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20219
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x70], eax
test eax, eax
je 0x14000cd7b
cmp qword [0x14005dcd8], 8
cmovae rbx, qword [0x14005dcc0]
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x70], eax
test eax, eax
je 0x14000cd7b
lea ebx, [rdi + 1]
mov rax, qword [0x1400601a0]
test rax, rax
je 0x14000cbb0
call qword [case.0x140013bae.0]
cmp eax, 0x46
jg 0x14000cfbf
lea rdx, str.OutlookAddinStatus::GetOutlookAddinState__1_x_:_Could_not_open_LM_act._key._Error_2_x.
lea rcx, [rsp + 0x50]
call fcn.140014830
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000dab0]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000dac0]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000d950
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000dab0]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000dad0]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000d950
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140015030
mov rcx, rax
mov rax, qword [0x140060198]
test rax, rax
je 0x14000cc46
mov edx, 0x46
call qword [case.0x140013bae.0]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000cc89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cfeb
call fcn.14001f834
nop
cmp byte [rbp + 0x40], 0
je 0x14000ccc5
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000ccc1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140013bae.0]
mov r8, rax
test rax, rax
je 0x14000ccc1
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x140013bae.0]
mov byte [rbp + 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.140014570
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000cd0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cff1
call fcn.14001f834
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000cd6c
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cff1
call fcn.14001f834
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call fcn.14000d700
jmp 0x14000cfbf
mov dword [rbp + 0x74], 4
lea rdx, [0x14005dce0]
cmp qword [0x14005dcf8], 8
cmovae rdx, qword [0x14005dce0]
lea rax, [rbp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x70], eax
test eax, eax
jne 0x14000cdd1
movzx ebx, byte [rbp + 0x78]
and ebx, 1
add ebx, 2
jmp 0x14000cfb5
mov ebx, 0xffffffff
mov rax, qword [0x1400601a0]
test rax, rax
je 0x14000cdf3
call qword [case.0x140013bae.0]
cmp eax, 0x12c
jg 0x14000cfb5
lea rdx, str.OutlookAddinStatus::GetOutlookAddinState__1_x_:_Could_not_read_LM_act._state._Error_2_x.
lea rcx, [rsp + 0x50]
call fcn.140014830
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000dab0]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000dac0]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000d950
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000dab0]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000dad0]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000d950
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140015030
mov rcx, rax
mov rax, qword [0x140060198]
test rax, rax
je 0x14000ce89
mov edx, 0x12c
call qword [case.0x140013bae.0]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000cecc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cff7
call fcn.14001f834
nop
cmp byte [rbp + 0x40], 0
je 0x14000cf08
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000cf04
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140013bae.0]
mov r8, rax
test rax, rax
je 0x14000cf04
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x140013bae.0]
mov byte [rbp + 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.140014570
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000cf51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cfe5
call fcn.14001f834
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000cfab
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cfe5
call fcn.14001f834
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call fcn.14000d700
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14001f810
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400293c8
nop
call fcn.1400293c8
nop
call fcn.1400293c8
nop
call fcn.1400293c8
int3