Function at 0x14000d480
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 [0x140060030]
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, [0x140060d40]
mov rdx, rbx
cmp qword [0x140060d58], 8
cmovae rdx, qword [0x140060d40]
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 0x14000d71b
cmp qword [0x140060d58], 8
cmovae rbx, qword [0x140060d40]
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 0x14000d71b
lea ebx, [rdi + 1]
mov rax, qword [0x140063160]
test rax, rax
je 0x14000d550
call qword [0x1400453a0]
cmp eax, 0x46
jg 0x14000d95f
lea rdx, str.OutlookAddinStatus::GetOutlookAddinState__1_x_:_Could_not_open_LM_act._key._Error_2_x.
lea rcx, [rsp + 0x50]
call fcn.1400153d0
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000e460]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000e470]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000e2f0
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000e460]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000e480]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000e2f0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140015bd0
mov rcx, rax
mov rax, qword [0x140063158]
test rax, rax
je 0x14000d5e6
mov edx, 0x46
call qword [0x1400453a0]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000d629
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d623
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d98b
call fcn.140020a20
nop
cmp byte [rbp + 0x40], 0
je 0x14000d665
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000d661
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400453a0]
mov r8, rax
test rax, rax
je 0x14000d661
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [0x1400453a0]
mov byte [rbp + 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.140015110
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000d6ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d6a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d991
call fcn.140020a20
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000d70c
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d6f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d991
call fcn.140020a20
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call fcn.14000e0a0
jmp 0x14000d95f
mov dword [rbp + 0x74], 4
lea rdx, [0x140060d60]
cmp qword [0x140060d78], 8
cmovae rdx, qword [0x140060d60]
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 0x14000d771
movzx ebx, byte [rbp + 0x78]
and ebx, 1
add ebx, 2
jmp 0x14000d955
mov ebx, 0xffffffff
mov rax, qword [0x140063160]
test rax, rax
je 0x14000d793
call qword [0x1400453a0]
cmp eax, 0x12c
jg 0x14000d955
lea rdx, str.OutlookAddinStatus::GetOutlookAddinState__1_x_:_Could_not_read_LM_act._state._Error_2_x.
lea rcx, [rsp + 0x50]
call fcn.1400153d0
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000e460]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000e470]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000e2f0
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [fcn.14000e460]
mov qword [rsp + 0x38], rcx
lea rcx, [0x14000e480]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000e2f0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140015bd0
mov rcx, rax
mov rax, qword [0x140063158]
test rax, rax
je 0x14000d829
mov edx, 0x12c
call qword [0x1400453a0]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000d86c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d997
call fcn.140020a20
nop
cmp byte [rbp + 0x40], 0
je 0x14000d8a8
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000d8a4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400453a0]
mov r8, rax
test rax, rax
je 0x14000d8a4
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [0x1400453a0]
mov byte [rbp + 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.140015110
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000d8f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d8ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d985
call fcn.140020a20
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000d94b
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d985
call fcn.140020a20
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call fcn.14000e0a0
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.140020a00
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14002c9f4
nop
call fcn.14002c9f4
nop
call fcn.14002c9f4
nop
call fcn.14002c9f4
int3