Function at 0x1400077e0
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 [0x14003c010]
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 [0x14002d3b8]
test eax, eax
jne 0x140008090
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.140011f04
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.14000dc90
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.14000dc90
cmp qword [rax + 0x38], 0
jne 0x1400078f9
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002d3b8]
test eax, eax
jne 0x1400078f9
call fcn.14000dc90
lea rdx, [rax + 0x70]
lea rcx, [rax + 0x58]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
call fcn.14000dc90
cmp qword [rax + 0x38], 0
je 0x1400078c0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002d3b8]
test eax, eax
jne 0x140008000
call fcn.14000dc90
mov r14, rax
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000f3d0
mov rcx, r14
call fcn.14000f770
lea rcx, [rbx + 0x90]
lea rdx, [r14 + 0x30]
call fcn.1400037f0
mov rdi, qword [r14 + 0x30]
mov r8, qword [rdi + 8]
lea rdx, [r14 + 0x30]
lea rcx, [r14 + 0x30]
call fcn.140003f00
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.14000dc90
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp dword [rbx + 0x68], 0
jne 0x140007a60
lea rcx, str.mapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x30], rax
mov ecx, 0x18
call fcn.140011f04
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 0x140007a60
cmp qword [rbx + 0x50], 0
je 0x140007a60
cmp qword [rbx + 0x58], 0
je 0x140007a60
xor ecx, ecx
call qword [0x14002d3b8]
mov dword [rbx + 0x28], eax
test eax, eax
js 0x140007a60
mov dword [rbx + 0x68], 1
mov rcx, rbx
call fcn.140008180
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.14000f3d0
nop
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.1400083e0
mov rsi, rax
lea rax, [rsp + 0x30]
cmp rax, rsi
je 0x140007b2e
mov rdi, qword [rsp + 0x30]
mov r8, qword [rdi + 8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003f00
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.140003f00
mov edx, 0x80
mov rcx, qword [rsp + 0xd8]
call fcn.140011f40
nop
jmp 0x140007b7c
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, [0x1400365ac]
lea rcx, [rsp + 0xa8]
call fcn.14000eb50
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140010f80
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.error
lea rcx, [rsp + 0xa8]
call fcn.14000eb50
nop
mov r8, rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140003b70
mov rcx, qword [rax]
add rcx, 0x50
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x110]
call fcn.14000f3d0
nop
mov rax, qword [rsp + 0xc8]
mov rcx, r15
mov qword [rsp + 0xc8], rcx
test rax, rax
je 0x140007c52
mov rcx, rax
call fcn.140011f40
mov rcx, qword [rsp + 0xc8]
mov edx, 2
call fcn.140011f40
mov rax, qword [rsp + 0xb8]
mov rcx, r15
mov qword [rsp + 0xb8], rcx
test rax, rax
je 0x140007c84
mov rcx, rax
call fcn.140011f40
mov rcx, qword [rsp + 0xb8]
mov edx, 1
call fcn.140011f40
call fcn.14000dc90
lea rcx, [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.14000dc90
cmp qword [rax + 0x48], 0
je 0x140007cd8
nop dword [rax]
call fcn.14000dc90
lea rdx, [rax + 0x98]
lea rcx, [rax + 0x60]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
call fcn.14000dc90
cmp qword [rax + 0x48], 0
jne 0x140007cb0
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.140011f04
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.140003e50
mov qword [rsp + 0xf0], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0xf8], rax
call fcn.14000dc90
mov rdi, rax
lea rcx, [rax + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1400037f0
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.140003f00
mov edx, 0x80
mov rcx, qword [rsp + 0x48]
call fcn.140011f40
call fcn.14000dc90
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 0x140007dd3
mov rcx, rax
call fcn.140011f40
mov rcx, qword [rsp + 0x130]
mov edx, 2
call fcn.140011f40
mov rax, qword [rsp + 0x120]
mov rcx, r15
mov qword [rsp + 0x120], rcx
test rax, rax
je 0x140007e05
mov rcx, rax
call fcn.140011f40
mov rcx, qword [rsp + 0x120]
mov edx, 1
call fcn.140011f40
mov edx, r12d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14003e2f0], eax
jle 0x140007f66
lea rcx, [0x14003e2f0]
call fcn.140012108
cmp dword [0x14003e2f0], 0xffffffff
jne 0x140007f66
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.14000de60
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 0x140007f07
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 0x140007f53
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400080c5
call fcn.140011f40
mov byte [0x14003e2f4], dil
lea rcx, [0x14003e2f0]
call fcn.1400120a8
cmp byte [0x14003e2f4], 0
je 0x140007f78
mov rcx, rbx
call fcn.1400080d0
nop
mov r8, qword [rsp + 0x30]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003f00
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call fcn.140011f40
nop
mov rax, qword [rsp + 0x88]
mov rcx, r15
mov qword [rsp + 0x88], rcx
test rax, rax
je 0x140007fc8
mov rcx, rax
call fcn.140011f40
mov rcx, qword [rsp + 0x88]
mov edx, 2
call fcn.140011f40
mov rax, qword [rsp + 0x78]
mov rcx, r15
mov qword [rsp + 0x78], rcx
test rax, rax
je 0x140007ff1
mov rcx, rax
call fcn.140011f40
mov rcx, qword [rsp + 0x78]
mov edx, 1
call fcn.140011f40
jmp 0x140007830
call fcn.14000dc90
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.140003f00
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call fcn.140011f40
nop
mov rax, qword [rsp + 0x88]
mov rcx, r15
mov qword [rsp + 0x88], rcx
test rax, rax
je 0x140008060
mov rcx, rax
call fcn.140011f40
mov rcx, qword [rsp + 0x88]
mov edx, 2
call fcn.140011f40
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], r15
test rcx, rcx
je 0x140008083
call fcn.140011f40
mov r15, qword [rsp + 0x78]
mov edx, 1
mov rcx, r15
call fcn.140011f40
mov rcx, rbx
call fcn.1400080d0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140011ee0
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.140016cdc
nop
int3