Function at 0x14000a240
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x78
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rdx
mov rdi, rcx
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], 1
mov dword [rcx + 0x4c], esi
mov qword [rcx + 0x58], r8
add rcx, 0x60
call fcn.140007210
nop
lea rcx, str.mapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 0x10], rax
lea ecx, [rsi + 0x18]
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbp, rax
test rax, rax
je 0x14000a2eb
lea rdx, str.MAPIFreeBuffer
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.MAPIAllocateBuffer
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, vtable.MapiAllocator.0
mov qword [rbp], rcx
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rbx
jmp 0x14000a2ee
mov rbp, rsi
mov qword [rdi + 0x18], rbp
lea rdx, str.MAPIInitialize
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x28], rax
lea rdx, str.MAPIUninitialize
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x30], rax
lea rdx, str.MAPILogonEx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.MAPIAdminProfiles
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14000a44f
cmp qword [rdi + 0x30], 0
je 0x14000a44f
cmp qword [rdi + 0x38], 0
je 0x14000a44f
xor ecx, ecx
call rax
mov dword [rdi + 8], eax
test eax, eax
js 0x14000a456
mov dword [rsp + 0xc0], esi
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.parent
lea rcx, [rsp + 0x38]
call fcn.1400104c0
nop
mov r8, rax
lea rdx, [rsp + 0xc8]
lea rcx, [rdi + 0x60]
call fcn.14000f2d0
nop
mov rax, qword [rsp + 0x58]
mov rcx, rsi
mov qword [rsp + 0x58], rcx
test rax, rax
je 0x14000a3cd
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rsi
test rcx, rcx
je 0x14000a3ed
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rbx, qword [rsp + 0xc8]
cmp rbx, qword [rdi + 0x68]
je 0x14000a430
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [0x140017184]
lea rcx, [rsp + 0x38]
call fcn.1400104c0
lea rcx, [rbx + 0x48]
lea r8, [rsp + 0xc0]
mov rdx, rax
call fcn.140011c30
mov ecx, dword [rsp + 0xc0]
mov qword [rsp + 0x20], rdi
mov r9d, 0x63
xor r8d, r8d
xor edx, edx
call qword [rdi + 0x38]
mov dword [rdi + 8], eax
jmp 0x14000a456
mov dword [rdi + 8], 0x80040102
mov r8, qword [r12 + 8]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0xb0]
mov rcx, r12
call fcn.140004800
nop
mov rcx, qword [r12 + 8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rax, rdi
add rsp, 0x78
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret