Function at 0x1400085c0
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14003c008]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rdi, rcx
mov qword [rsp + 0xa0], rcx
xor r14d, r14d
lea r13, vtable.MapiAllocator.0
mov r12d, 4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
test eax, eax
jne 0x140008eb1
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
call fcn.1400044c0
mov qword [rsp + 0x38], rax
call fcn.14000e6f0
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.14000e6f0
cmp qword [rax + 0x38], 0
jne 0x1400086b2
nop word [rax + rax]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
test eax, eax
jne 0x1400086b2
call fcn.14000e6f0
lea rdx, [rax + 0x70]
lea rcx, [rax + 0x58]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
call fcn.14000e6f0
cmp qword [rax + 0x38], 0
je 0x140008680
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
test eax, eax
jne 0x140008e26
lea r15, [rdi + 0x90]
call fcn.14000e6f0
mov rbx, rax
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000fe60
mov rcx, rbx
call fcn.1400100f0
lea rsi, [rbx + 0x30]
cmp r15, rsi
je 0x140008710
mov rcx, r15
call fcn.140004420
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
mov rcx, r15
call fcn.140004550
mov rcx, rsi
call fcn.140004420
lea rcx, [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_WakeConditionVariable]
call fcn.14000e6f0
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp dword [rdi + 0x68], 0
jne 0x140008810
lea rcx, str.mapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 0x30], rax
mov ecx, 0x18
call fcn.1400127c4
mov rsi, rax
mov qword [rsp + 0x50], rax
lea rdx, str.MAPIFreeBuffer
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.MAPIAllocateBuffer
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi], r13
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rbx
mov qword [rdi + 0x38], rsi
lea rdx, str.MAPIInitialize
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
lea rdx, str.MAPIUninitialize
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
lea rdx, str.MAPILogonEx
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x58], rax
lea rdx, str.MAPIAdminProfiles
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x60], rax
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x140008810
cmp qword [rdi + 0x50], 0
je 0x140008810
cmp qword [rdi + 0x58], 0
je 0x140008810
xor ecx, ecx
call rax
mov dword [rdi + 0x28], eax
test eax, eax
js 0x140008810
mov dword [rdi + 0x68], 1
mov rcx, rdi
call fcn.140008f80
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0xb0], r14d
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], r14
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.14000fe60
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xe8]
mov rcx, rdi
call fcn.1400091e0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x1400088c0
lea rcx, [rsp + 0x38]
call fcn.140004420
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rcx
mov qword [rbx], rdx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x40], rax
mov qword [rbx + 8], rcx
lea rcx, [rsp + 0xe8]
call fcn.140004420
mov edx, 0x80
mov rcx, qword [rsp + 0xe8]
call fcn.140012800
nop
jmp 0x1400088fa
mov ebx, dword [rdi + 0x28]
mov dword [rsp + 0x108], r14d
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], r14
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x128], r14
mov qword [rsp + 0x130], r14
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, [0x14003514c]
lea rcx, [rsp + 0xb0]
call fcn.14000f830
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.1400117f0
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.error
lea rcx, [rsp + 0xb0]
call fcn.14000f830
mov r15, rax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rbx + 8]
cmp byte [rsi + 0x19], 0
jne 0x1400089d7
nop dword [rax + rax]
lea rcx, [rsi + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
call fcn.140010170
test ax, ax
jns 0x1400089ad
mov rsi, qword [rsi + 0x10]
jmp 0x1400089b3
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x140008990
cmp rbx, qword [rsp + 0x38]
je 0x1400089d7
lea rdx, [rbx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call fcn.140010170
test ax, ax
jns 0x140008a11
mov qword [rsp + 0x50], r15
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400048b0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x38]
call fcn.140004950
mov rbx, qword [rsp + 0xe0]
lea rcx, [rbx + 0x50]
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x108]
call fcn.14000fe60
nop
mov rax, qword [rsp + 0xd0]
mov rcx, r14
mov qword [rsp + 0xd0], rcx
test rax, rax
je 0x140008a52
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0xd0]
mov edx, 2
call fcn.140012800
mov rax, qword [rsp + 0xc0]
mov rcx, r14
mov qword [rsp + 0xc0], rcx
test rax, rax
je 0x140008a84
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0xc0]
mov edx, 1
call fcn.140012800
call fcn.14000e6f0
lea rcx, [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.14000e6f0
cmp qword [rax + 0x48], 0
je 0x140008ad8
nop dword [rax]
call fcn.14000e6f0
lea rdx, [rax + 0x98]
lea rcx, [rax + 0x60]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
call fcn.14000e6f0
cmp qword [rax + 0x48], 0
jne 0x140008ab0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140006800
lea rax, [rsp + 0x60]
mov qword [rsp + 0x100], rax
call fcn.14000e6f0
mov rsi, rax
lea rbx, [rax + 0x40]
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x140008b2f
mov rcx, rbx
call fcn.140004420
movzx r8d, byte [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140004550
lea rcx, [rsi + 0x68]
call qword [sym.imp.KERNEL32.dll_WakeConditionVariable]
nop
lea rcx, [rsp + 0x60]
call fcn.140004420
mov edx, 0x80
mov rcx, qword [rsp + 0x60]
call fcn.140012800
call fcn.14000e6f0
lea rcx, [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, qword [rsp + 0x128]
mov rcx, r14
mov qword [rsp + 0x128], rcx
test rax, rax
je 0x140008b8e
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0x128]
mov edx, 2
call fcn.140012800
mov rax, qword [rsp + 0x118]
mov rcx, r14
mov qword [rsp + 0x118], rcx
test rax, rax
je 0x140008bc0
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0x118]
mov edx, 1
call fcn.140012800
mov edx, r12d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14003e1c0], eax
jle 0x140008d1f
lea rcx, [0x14003e1c0]
call fcn.140012a08
cmp dword [0x14003e1c0], 0xffffffff
jne 0x140008d1f
mov qword [rsp + 0x118], r14
mov qword [rsp + 0x120], 0xf
mov byte [rsp + 0x108], 0
mov r8d, 0x17
lea rdx, str.SOFTWAREPoliciesAdobe
lea rcx, [rsp + 0x108]
call fcn.14000e9f0
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x58], 4
lea rdx, [rsp + 0x108]
cmp qword [rsp + 0x120], 0x10
cmovae rdx, qword [rsp + 0x108]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140008cc2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ResetOutlookConnection
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x48], 1
sete bl
mov rdx, qword [rsp + 0x120]
cmp rdx, 0x10
jb 0x140008d0d
inc rdx
mov rcx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ee6
call fcn.140012800
mov byte [0x14003e1c4], bl
lea rcx, [0x14003e1c0]
call fcn.1400129a8
cmp byte [0x14003e1c4], 0
je 0x140008da3
cmp dword [rdi + 0x40], 0
je 0x140008d45
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140008d45
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + 0x38], r14
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x140008d6d
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x78], r14
cmp qword [rdi + 0x48], 0
je 0x140008d90
mov rax, qword [rdi + 0x50]
test rax, rax
je 0x140008d90
cmp qword [rdi + 0x58], 0
je 0x140008d90
cmp dword [rdi + 0x68], 0
je 0x140008d90
mov dword [rdi + 0x68], r14d
call rax
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140008da3
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rdi + 0x30], r14
lea rcx, [rsp + 0x38]
call fcn.140004420
mov edx, 0x80
mov rcx, qword [rsp + 0x38]
call fcn.140012800
nop
mov rax, qword [rsp + 0x90]
mov rcx, r14
mov qword [rsp + 0x90], rcx
test rax, rax
je 0x140008de5
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0x90]
mov edx, 2
call fcn.140012800
mov rax, qword [rsp + 0x80]
mov rcx, r14
mov qword [rsp + 0x80], rcx
test rax, rax
je 0x140008e17
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0x80]
mov edx, 1
call fcn.140012800
jmp 0x140008610
call fcn.14000e6f0
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x38]
call fcn.140004420
mov edx, 0x80
mov rcx, qword [rsp + 0x38]
call fcn.140012800
nop
mov rax, qword [rsp + 0x90]
mov rcx, r14
mov qword [rsp + 0x90], rcx
test rax, rax
je 0x140008e78
mov rcx, rax
call fcn.140012800
mov rcx, qword [rsp + 0x90]
mov edx, 2
call fcn.140012800
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x80], r14
test rcx, rcx
je 0x140008ea4
call fcn.140012800
mov r14, qword [rsp + 0x80]
mov edx, 1
mov rcx, r14
call fcn.140012800
mov rcx, rdi
call fcn.140008ef0
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400127a0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140016b64
nop
int3