Function at 0x5488e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov byte [esp + 0x12], bl
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 0x80010106
je 0x548905
mov byte [esp + 0xe], 1
mov eax, dword [0x736bd8]
cmp eax, ebx
mov byte [esp + 0xf], bl
jne 0x54893d
push str.MAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x736bd8], eax
jne 0x54893d
cmp byte [esp + 0xe], bl
je 0x548932
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MAPIInitialize
push eax
call esi
mov edi, eax
cmp edi, ebx
je 0x548926
mov eax, dword [0x736bd8]
push str.MAPIUninitialize
push eax
call esi
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x548926
mov ecx, dword [0x736bd8]
push str.MAPIFreeBuffer
push ecx
call esi
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x548926
mov edx, dword [0x736bd8]
push str.MAPIAllocateBuffer
push edx
call esi
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x548926
mov eax, dword [0x736bd8]
push str.FreeProws_4
push eax
call esi
cmp eax, ebx
mov dword [esp + 0x38], eax
je 0x548926
push ebx
call edi
mov ecx, dword [0x736bd8]
push str.MAPILogonEx
push ecx
call esi
cmp eax, ebx
je 0x548bff
lea edx, [esp + 0x10]
push edx
push 0x60
push ebx
push ebx
push ebx
mov dword [esp + 0x24], ebx
call eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x548bff
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x548bd0
lea edx, [esp + 0x68]
mov ecx, 0x3400000b
mov dword [esp + 0x64], edx
push ebx
mov esi, 4
lea edx, [esp + 0x5c]
mov edi, 0xfff0102
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov word [esp + 0x74], 1
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push ebx
push 1
push eax
mov eax, dword [ecx + 0x4c]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x548bd0
cmp dword [eax], ebx
je 0x548bcb
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 0x10], edi
jne 0x548bcb
mov eax, ecx
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x14]
push edi
push esi
mov dword [esp + 0x1c], ebx
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov edx, dword [ecx]
push ebx
push esi
push eax
push ebx
push ecx
mov ecx, dword [edx + 0x14]
call ecx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x548bc7
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
push ecx
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 0x35e20102
mov dword [esp + 0x30], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x548bb7
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x28]
push esi
lea esi, [esp + 0x34]
push esi
push 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ecx]
push ebx
push esi
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x548b9e
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov dword [esp + 0x24], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x4c]
push ebx
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x548b9e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x34]
call fcn.00548160
test al, al
je 0x548b8e
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push 1
push eax
call edx
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x548b9e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
push eax
call dword [esp + 0x30]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x548bb7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x548bc7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
push eax
call dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push ebx
push ebx
push ebx
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x548bef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x548bff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [esp + 0x3c]
cmp byte [esp + 0xe], bl
je 0x548c0f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14