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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14003b010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x98], rcx
xor r15d, r15d
lea r13, vtable.MapiAllocator.0
mov r12d, 4
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002c3b8]
test eax, eax
jne 0x140008180
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov ecx, 0x80
call fcn.1400118c4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x30], rax
call fcn.14000dd80
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.14000dd80
cmp qword [rax + 0x38], 0
jne 0x1400079e9
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002c3b8]
test eax, eax
jne 0x1400079e9
call fcn.14000dd80
lea rdx, [rax + 0x70]
lea rcx, [rax + 0x58]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
call fcn.14000dd80
cmp qword [rax + 0x38], 0
je 0x1400079b0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002c3b8]
test eax, eax
jne 0x1400080f0
call fcn.14000dd80
mov r14, rax
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000f40c
mov rcx, r14
call fcn.14000f7ac
lea rcx, [rbx + 0x90]
lea rdx, [r14 + 0x30]
call fcn.1400038c0
mov rdi, qword [r14 + 0x30]
mov r8, qword [rdi + 8]
lea rdx, [r14 + 0x30]
lea rcx, [r14 + 0x30]
call fcn.140003ff0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [r14 + 0x38], r15
lea rcx, [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_WakeConditionVariable]
call fcn.14000dd80
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp dword [rbx + 0x68], 0
jne 0x140007b50
lea rcx, str.mapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x30], rax
mov ecx, 0x18
call fcn.1400118c4
mov rsi, rax
lea rdx, str.MAPIFreeBuffer
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.MAPIAllocateBuffer
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi], r13
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov qword [rbx + 0x38], rsi
lea rdx, str.MAPIInitialize
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
lea rdx, str.MAPIUninitialize
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
lea rdx, str.MAPILogonEx
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
lea rdx, str.MAPIAdminProfiles
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x60], rax
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x140007b50
cmp qword [rbx + 0x50], 0
je 0x140007b50
cmp qword [rbx + 0x58], 0
je 0x140007b50
xor ecx, ecx
call qword [0x14002c3b8]
mov dword [rbx + 0x28], eax
test eax, eax
js 0x140007b50
mov dword [rbx + 0x68], 1
mov rcx, rbx
call fcn.140008270
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xa8], r15d
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], r15
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r15
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.14000f40c
nop
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.1400084d0
mov rsi, rax
lea rax, [rsp + 0x30]
cmp rax, rsi
je 0x140007c1e
mov rdi, qword [rsp + 0x30]
mov r8, qword [rdi + 8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003ff0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [rsp + 0x38], r15
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x38], rax
mov qword [rsi + 8], rcx
mov r8, qword [rsp + 0xd8]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xd8]
call fcn.140003ff0
mov edx, 0x80
mov rcx, qword [rsp + 0xd8]
call fcn.140011900
nop
jmp 0x140007c6c
mov edi, dword [rbx + 0x28]
mov dword [rsp + 0x110], r15d
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], r15
mov qword [rsp + 0x130], r15
mov qword [rsp + 0x138], r15
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, [0x1400354ac]
lea rcx, [rsp + 0xa8]
call fcn.14000eed8
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140010be4
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.error
lea rcx, [rsp + 0xa8]
call fcn.14000eed8
nop
mov r8, rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140003c60
mov rcx, qword [rax]
add rcx, 0x50
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x110]
call fcn.14000f40c
nop
mov rax, qword [rsp + 0xc8]
mov rcx, r15
mov qword [rsp + 0xc8], rcx
test rax, rax
je 0x140007d42
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0xc8]
mov edx, 2
call fcn.140011900
mov rax, qword [rsp + 0xb8]
mov rcx, r15
mov qword [rsp + 0xb8], rcx
test rax, rax
je 0x140007d74
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0xb8]
mov edx, 1
call fcn.140011900
call fcn.14000dd80
lea rcx, [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.14000dd80
cmp qword [rax + 0x48], 0
je 0x140007dc8
nop dword [rax]
call fcn.14000dd80
lea rdx, [rax + 0x98]
lea rcx, [rax + 0x60]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
call fcn.14000dd80
cmp qword [rax + 0x48], 0
jne 0x140007da0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0xf0], rax
mov ecx, 0x80
call fcn.1400118c4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x48], rax
movzx r8d, byte [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140003f40
mov qword [rsp + 0xf0], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0xf8], rax
call fcn.14000dd80
mov rdi, rax
lea rcx, [rax + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1400038c0
lea rcx, [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_WakeConditionVariable]
nop
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140003ff0
mov edx, 0x80
mov rcx, qword [rsp + 0x48]
call fcn.140011900
call fcn.14000dd80
lea rcx, [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, qword [rsp + 0x130]
mov rcx, r15
mov qword [rsp + 0x130], rcx
test rax, rax
je 0x140007ec3
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0x130]
mov edx, 2
call fcn.140011900
mov rax, qword [rsp + 0x120]
mov rcx, r15
mov qword [rsp + 0x120], rcx
test rax, rax
je 0x140007ef5
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0x120]
mov edx, 1
call fcn.140011900
mov edx, r12d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14003d300], eax
jle 0x140008056
lea rcx, [0x14003d300]
call fcn.140011ac8
cmp dword [0x14003d300], 0xffffffff
jne 0x140008056
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], 0xf
mov byte [rsp + 0x110], 0
mov r8d, 0x17
lea rdx, str.SOFTWAREPoliciesAdobe
lea rcx, [rsp + 0x110]
call fcn.14000df70
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x5c], 4
lea rdx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rdx, qword [rsp + 0x110]
lea rax, [rsp + 0xa0]
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 0x140007ff7
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ResetOutlookConnection
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x58], 1
sete dil
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x140008043
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000803e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400081b5
call fcn.140011900
mov byte [0x14003d304], dil
lea rcx, [0x14003d300]
call fcn.140011a68
cmp byte [0x14003d304], 0
je 0x140008068
mov rcx, rbx
call fcn.1400081c0
nop
mov r8, qword [rsp + 0x30]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003ff0
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call fcn.140011900
nop
mov rax, qword [rsp + 0x88]
mov rcx, r15
mov qword [rsp + 0x88], rcx
test rax, rax
je 0x1400080b8
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0x88]
mov edx, 2
call fcn.140011900
mov rax, qword [rsp + 0x78]
mov rcx, r15
mov qword [rsp + 0x78], rcx
test rax, rax
je 0x1400080e1
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0x78]
mov edx, 1
call fcn.140011900
jmp 0x140007920
call fcn.14000dd80
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov r8, qword [rsp + 0x30]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003ff0
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call fcn.140011900
nop
mov rax, qword [rsp + 0x88]
mov rcx, r15
mov qword [rsp + 0x88], rcx
test rax, rax
je 0x140008150
mov rcx, rax
call fcn.140011900
mov rcx, qword [rsp + 0x88]
mov edx, 2
call fcn.140011900
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], r15
test rcx, rcx
je 0x140008173
call fcn.140011900
mov r15, qword [rsp + 0x78]
mov edx, 1
mov rcx, r15
call fcn.140011900
mov rcx, rbx
call fcn.1400081c0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400118a0
lea r11, [rsp + 0x150]
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.14001669c
nop
int3