Function at 0x46cf30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x54]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.CSIPLMapi.0
mov esi, esp
push 0
push str.MAPI
push str.MAIL
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
je 0x46cfa0
mov esi, esp
push 0
push 0
push 0
push 0
push str.MAPI32.DLL
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
cmp esi, esp
call fcn.005e0cbc
test eax, eax
je 0x46cfa0
mov dword [ebp - 0xc], 1
jmp 0x46cfa7
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x46d0f5
mov esi, esp
push str.MAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.005e0cbc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x46d0f3
mov esi, esp
push str.MAPILogon
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov esi, esp
push str.MAPILogoff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov esi, esp
push str.MAPISendMail
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov esi, esp
push str.MAPISendDocuments
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov esi, esp
push str.MAPIResolveName
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov esi, esp
push str.MAPIFreeBuffer
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x46d0d1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x46d0d1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
je 0x46d0d1
mov edx, dword [ebp - 4]
cmp dword [edx + 0x20], 0
je 0x46d0d1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x46d0f3
mov ecx, 1
test ecx, ecx
je 0x46d0e3
mov dword [ebp - 0x10], 0
jmp 0x46d0f3
push str.Failed_to_get_one_of_the_functions_pointer_in_MAPI32.DLL_n
call fcn.00404d9f
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x46d117
mov edx, 1
test edx, edx
je 0x46d107
mov dword [ebp - 0x14], 0
jmp 0x46d117
push str.Mapi_is_not_installed_on_this_computer_n
call fcn.00404d9f
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
add esp, 0x54
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret