Function at 0x5394b2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
lea esi, [ebp - 5]
call fcn.00447312
xor ebx, ebx
mov byte [ebp - 6], bl
call fcn.00538ecb
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
jne 0x5394e7
cmp byte [ebp - 5], bl
je 0x5394e0
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x539736
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MAPIInitialize
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x5394d5
mov eax, dword [edi]
push str.MAPIUninitialize
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x5394d5
mov eax, dword [edi]
push str.MAPIFreeBuffer
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x28], eax
je 0x5394d5
mov eax, dword [edi]
push str.MAPIAllocateBuffer
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x5394d5
mov eax, dword [edi]
push str.FreeProws_4
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x5394d5
push ebx
call dword [ebp - 0x24]
mov edi, dword [edi]
push str.MAPILogonEx
push edi
call esi
cmp eax, ebx
je 0x539725
lea ecx, [ebp - 0xc]
push ecx
push 0x60
push ebx
push ebx
push ebx
mov dword [ebp - 0xc], ebx
call eax
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x539725
lea edx, [ebp - 0x18]
push edx
push ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x5396ff
push 4
pop esi
lea edx, [ebp - 0x70]
mov dword [ebp - 0x54], edx
mov eax, 0x3400000b
push ebx
lea edx, [ebp - 0x60]
mov edi, 0xfff0102
push edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x68], 1
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edi
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push ebx
push 1
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5396ff
cmp dword [eax], ebx
je 0x5396fb
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 0x10], edi
jne 0x5396fb
lea edi, [ebp - 0x14]
push edi
push esi
push ebx
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], 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 - 0x14]
cmp eax, ebx
je 0x5396f8
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x3c]
push edx
push ebx
xor esi, esi
lea edx, [ebp - 0x44]
inc esi
push edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0x35e20102
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x5396eb
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x24]
push edi
lea edi, [ebp - 0x2c]
push edi
push esi
push ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
push dword [eax + 0xc]
mov edx, dword [ecx]
push dword [eax + 8]
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x5396d8
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
cmp dword [ebp - 0x10], ebx
je 0x5396d8
push dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x30]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00538eea
test al, al
je 0x5396cb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov byte [ebp - 6], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x5396d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x20]
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x5396eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x5396f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x539718
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x539725
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [ebp - 0x38]
cmp byte [ebp - 5], bl
je 0x539733
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 6]
pop edi
pop esi
pop ebx
leave
ret 0x14