Function at 0x14000c160
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 [0x14005f020]
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, [0x14005fd20]
mov rdx, rbx
cmp qword [0x14005fd38], 8
cmovae rdx, qword [0x14005fd20]
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 0x14000c3fb
cmp qword [0x14005fd38], 8
cmovae rbx, qword [0x14005fd20]
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 0x14000c3fb
lea ebx, [rdi + 1]
mov rax, qword [0x1400622b0]
test rax, rax
je 0x14000c230
call qword [case.0x1400132ae.0]
cmp eax, 0x46
jg 0x14000c63f
lea rdx, str.OutlookAddinStatus::GetOutlookAddinState__1_x_:_Could_not_open_LM_act._key._Error_2_x.
lea rcx, [rsp + 0x50]
call fcn.140013f30
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000d130]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000d140]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000cfd0
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000d130]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000d150]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000cfd0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140014750
mov rcx, rax
mov rax, qword [0x1400622a8]
test rax, rax
je 0x14000c2c6
mov edx, 0x46
call qword [case.0x1400132ae.0]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000c309
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c303
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c66b
call fcn.14001f130
nop
cmp byte [rbp + 0x40], 0
je 0x14000c345
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000c341
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400132ae.0]
mov r8, rax
test rax, rax
je 0x14000c341
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x1400132ae.0]
mov byte [rbp + 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.140013c70
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000c38e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c389
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c671
call fcn.14001f130
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c3ec
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c671
call fcn.14001f130
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call fcn.14000cd80
jmp 0x14000c63f
mov dword [rbp + 0x74], 4
lea rdx, [0x14005fd40]
cmp qword [0x14005fd58], 8
cmovae rdx, qword [0x14005fd40]
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 0x14000c451
movzx ebx, byte [rbp + 0x78]
and ebx, 1
add ebx, 2
jmp 0x14000c635
mov ebx, 0xffffffff
mov rax, qword [0x1400622b0]
test rax, rax
je 0x14000c473
call qword [case.0x1400132ae.0]
cmp eax, 0x12c
jg 0x14000c635
lea rdx, str.OutlookAddinStatus::GetOutlookAddinState__1_x_:_Could_not_read_LM_act._state._Error_2_x.
lea rcx, [rsp + 0x50]
call fcn.140013f30
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000d130]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000d140]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000cfd0
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000d130]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000d150]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000cfd0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140014750
mov rcx, rax
mov rax, qword [0x1400622a8]
test rax, rax
je 0x14000c509
mov edx, 0x12c
call qword [case.0x1400132ae.0]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000c54c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c546
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c677
call fcn.14001f130
nop
cmp byte [rbp + 0x40], 0
je 0x14000c588
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000c584
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400132ae.0]
mov r8, rax
test rax, rax
je 0x14000c584
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x1400132ae.0]
mov byte [rbp + 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.140013c70
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000c5d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c5cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c665
call fcn.14001f130
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c62b
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c665
call fcn.14001f130
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call fcn.14000cd80
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.14001f110
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14002ad18
nop
call fcn.14002ad18
nop
call fcn.14002ad18
nop
call fcn.14002ad18
int3