Function at 0x5783aa
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
lea esi, [ebp - 1]
call fcn.004cc098
xor ebx, ebx
mov byte [ebp - 2], bl
call fcn.00577dc7
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
jne 0x5783df
cmp byte [ebp - 1], bl
je 0x5783d8
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x57862e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MAPIInitialize
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x5783cd
mov eax, dword [edi]
push str.MAPIUninitialize
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x5783cd
mov eax, dword [edi]
push str.MAPIFreeBuffer
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x5783cd
mov eax, dword [edi]
push str.MAPIAllocateBuffer
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x5783cd
mov eax, dword [edi]
push str.FreeProws_4
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x5783cd
push ebx
call dword [ebp - 0x20]
mov edi, dword [edi]
push str.MAPILogonEx
push edi
call esi
cmp eax, ebx
je 0x57861d
lea ecx, [ebp - 8]
push ecx
push 0x60
push ebx
push ebx
push ebx
mov dword [ebp - 8], ebx
call eax
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x57861d
lea edx, [ebp - 0x14]
push edx
push ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x5785f7
push 4
pop esi
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x50], edx
mov eax, 0x3400000b
push ebx
lea edx, [ebp - 0x5c]
mov edi, 0xfff0102
push edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x64], 1
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x4c]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push ebx
push 1
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x5785f7
cmp dword [eax], ebx
je 0x5785f3
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 0x10], edi
jne 0x5785f3
lea edi, [ebp - 0x10]
push edi
push esi
push ebx
mov eax, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
push dword [eax + 0x1c]
mov edx, dword [ecx]
push dword [eax + 0x18]
push ebx
push ecx
call dword [edx + 0x14]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x5785f0
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x38]
push edx
push ebx
xor esi, esi
lea edx, [ebp - 0x40]
inc esi
push edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0x35e20102
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5785e3
mov ecx, dword [ebp - 0x10]
lea edi, [ebp - 0x20]
push edi
lea edi, [ebp - 0x28]
push edi
push esi
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
push dword [eax + 0xc]
mov edx, dword [ecx]
push dword [eax + 8]
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x5785d0
lea edx, [ebp - 0xc]
push edx
push ebx
push ebx
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
cmp dword [ebp - 0xc], ebx
je 0x5785d0
push dword [ebp - 0x24]
mov eax, dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.00577de6
test al, al
je 0x5785c3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov byte [ebp - 2], 1
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x5785d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x1c]
call dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x5785e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x5785f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x578610
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x57861d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [ebp - 0x34]
cmp byte [ebp - 1], bl
je 0x57862b
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 2]
pop edi
pop esi
pop ebx
leave
ret 0x14