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

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x180057b40]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1800074fc
cmp qword [rsp + 0x48], rbp
jne 0x1800135db
lea rcx, [rsp + 0x48]
call fcn.1800088c8
nop
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rax
lea rdx, str.OutlookMC.COMAddin
lea rcx, [rsp + 0x80]
call fcn.180004fdc
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180008cc0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.180004fdc
nop
mov dword [rsp + 0x20], 0xa
mov r9d, 5
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180012dc0
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, ebp
jne 0x180013849
mov word [rsp + 0xa0], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xa2]
call fcn.180026db0
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x60], ebp
xor eax, eax
mov dword [rsp + 0x64], eax
mov esi, ebp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x18001383d
mov qword [rsp + 0x58], rbp
lea rcx, [0x180057958]
mov rax, qword [0x180057958]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa0]
call fcn.180025b30
mov r8d, eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.1800035d0
lea rcx, str.SoftwareMicrosoftOfficeOutlookAddins_
call fcn.180025b30
mov r8d, eax
lea rdx, str.SoftwareMicrosoftOfficeOutlookAddins_
lea rcx, [rsp + 0x68]
call fcn.180006e70
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180006e70
lea r11, [rsp + 0x58]
mov qword [rsp + 0x20], r11
mov r9d, 0xf003f
xor r8d, r8d
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, ebp
jne 0x1800137c2
mov dword [rsp + 0x70], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.LoadBehavior
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x40], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
call fcn.180026db0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
cmp eax, ebp
jg 0x1800137fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add esi, 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xa0]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1800136d9
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
cmp eax, ebp
jg 0x18001386b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, rbp
je 0x18001387b
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180026cf0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret