Function at 0x1400082b0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x118
mov rbx, rcx
xor r15d, r15d
mov dword [rax - 0xb8], r15d
mov qword [rax - 0xb0], r15
mov qword [rax - 0xa8], r15
mov qword [rax - 0xa0], r15
mov qword [rax - 0x98], r15
mov qword [rax - 0x90], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov ecx, 0x80
call fcn.140013960
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x30], rax
lea r12, vtable.MapiAllocator.0
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x1400303a8]
test eax, eax
jne 0x14000888e
mov dword [rsp + 0x158], 0x80
call fcn.14000fa60
lea r9, [rax + 0x50]
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov edx, 0xffffffff
xor ecx, ecx
lea r8d, [rcx + 1]
call qword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
test eax, eax
jne 0x140008606
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x1400303a8]
test eax, eax
jne 0x140008606
call fcn.14000fa60
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.14000fa60
mov r14, rax
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400112dc
mov rcx, r14
call fcn.140011678
lea rcx, [rbx + 0x90]
lea rdx, [r14 + 0x30]
call fcn.140003e60
mov rdi, qword [r14 + 0x30]
mov r8, qword [rdi + 8]
lea rdx, [r14 + 0x30]
lea rcx, [r14 + 0x30]
call fcn.140004760
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [r14 + 0x38], r15
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [r14 + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.14000fa60
lea rcx, [rax + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp dword [rbx + 0x68], 0
jne 0x140008505
lea rcx, str.mapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x30], rax
mov ecx, 0x18
call fcn.140013960
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], r12
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 0x140008505
cmp qword [rbx + 0x50], 0
je 0x140008505
cmp qword [rbx + 0x58], 0
je 0x140008505
xor ecx, ecx
call qword [0x1400303a8]
mov dword [rbx + 0x28], eax
test eax, eax
js 0x140008505
mov dword [rbx + 0x68], 1
mov rcx, rbx
call fcn.1400089f0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1400112dc
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.140008c20
mov rsi, rax
lea rax, [rsp + 0x30]
cmp rax, rsi
je 0x1400085be
mov rdi, qword [rsp + 0x30]
mov r8, qword [rdi + 8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140004760
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 + 0x80]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x80]
call fcn.140004760
mov edx, 0x80
mov rcx, qword [rsp + 0x80]
call fcn.14001399c
nop
jmp 0x140008606
call fcn.14000fa60
lea r9, [rax + 0x58]
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov edx, 0xffffffff
xor ecx, ecx
lea r8d, [rcx + 1]
call qword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
test eax, eax
jne 0x140008330
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x1400303a8]
test eax, eax
jne 0x140008330
mov edi, dword [rbx + 0x28]
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, [0x140039604]
lea rcx, [rsp + 0xd0]
call fcn.140010d5c
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140012a88
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.error
lea rcx, [rsp + 0xd0]
call fcn.140010d5c
nop
mov r8, rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140004170
mov rcx, qword [rax]
add rcx, 0x50
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
call fcn.1400112dc
nop
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xf0], r15
test rcx, rcx
je 0x140008714
call fcn.14001399c
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140008714
mov edx, 2
call fcn.14001399c
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0xe0], r15
test rcx, rcx
je 0x140008745
call fcn.14001399c
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140008745
mov edx, 1
call fcn.14001399c
call fcn.14000fa60
lea rcx, [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov ecx, 0x80
call fcn.140013960
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400044e0
mov qword [rsp + 0xc8], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x168], rax
call fcn.14000fa60
mov rdi, rax
lea rcx, [rax + 0x40]
lea rdx, [rsp + 0x40]
call fcn.140003e60
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140004760
mov edx, 0x80
mov rcx, qword [rsp + 0x40]
call fcn.14001399c
call fcn.14000fa60
lea rcx, [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x70], r15
test rcx, rcx
je 0x140008859
call fcn.14001399c
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140008859
mov edx, 2
call fcn.14001399c
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], r15
test rcx, rcx
je 0x140008330
call fcn.14001399c
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140008330
mov edx, 1
call fcn.14001399c
jmp 0x140008330
mov rcx, rbx
call fcn.140008940
nop
mov r8, qword [rsp + 0x30]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140004760
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call fcn.14001399c
nop
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xb0], r15
test rcx, rcx
je 0x1400088f0
call fcn.14001399c
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400088f0
mov edx, 2
call fcn.14001399c
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], r15
test rcx, rcx
je 0x140008921
call fcn.14001399c
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140008921
mov edx, 1
call fcn.14001399c
add rsp, 0x118
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret