Function at 0x579b6c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0x594
push ebx
xor ebx, ebx
cmp word [eax], bx
push esi
push edi
jne 0x579b93
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x579e2f
call fcn.00577dc7
mov eax, dword [eax]
cmp eax, ebx
je 0x579b85
push str.MAPISendMail
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x579b85
cmp dword [ebp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
jbe 0x579caa
push ebx
call fcn.005f858a
mov eax, dword [ebp + 0x20]
xor ecx, ecx
mov edx, 0x208
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f833c
push ebx
mov dword [esp + 0x28], eax
call fcn.005f858a
mov eax, dword [ebp + 0x20]
xor ecx, ecx
push 0x18
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f833c
mov dword [esp + 0x20], eax
xor eax, eax
add esp, 0x10
cmp dword [ebp + 0x20], ebx
mov dword [esp + 0x14], eax
jbe 0x579caa
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
add ecx, 8
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x579c8d
lea eax, [esp + 0x80]
call fcn.00401b1a
lea eax, [esp + 0x80]
add edi, 0x104
push eax
mov esi, 0x104
call fcn.004cbc9e
mov eax, dword [esp + 0x34]
push dword [eax]
mov edi, dword [esp + 0x24]
call fcn.004cbc9e
mov eax, dword [esp + 0x24]
or dword [eax], 0xffffffff
mov ecx, edi
mov dword [eax + 4], ecx
add ecx, esi
mov dword [eax - 8], ebx
mov dword [eax - 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
add dword [esp + 0x24], 0x18
inc eax
add edi, 0x208
cmp eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edi
jb 0x579c2c
push dword [ebp + 0x14]
mov esi, 0x104
lea edi, [esp + 0x49c]
call fcn.004cbc9e
push dword [ebp + 0x18]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00532356
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x579ceb
mov dword [esp + 0x14], 0x631a7e
mov eax, dword [ebp + 0x10]
lea esi, [esp + 0x288]
call fcn.00577d4a
cmp word [esp + 0x28c], bx
je 0x579deb
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x579df1
lea eax, [esp + 0x28c]
push eax
mov esi, 0x104
lea edi, [esp + 0x84]
call fcn.004cbc9e
xor esi, esi
mov eax, edi
inc esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
call fcn.00538682
neg al
mov ecx, edi
push esi
push str.Preparing_for_email_client._Check_to_see_if_it_requires_confirmation.
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4a0]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov eax, dword [ecx]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
call dword [eax + 0x20]
push ebx
push esi
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
call dword [esp + 0x2c]
neg eax
sbb al, al
inc al
lea esi, [esp + 0x288]
mov byte [esp + 0xf], al
call fcn.00577d6e
cmp word [esp + 0x28c], bx
jne 0x579d08
cmp byte [esp + 0xf], bl
je 0x579dfc
mov dword [esp + 0x18], ebx
jmp 0x579e04
mov esi, dword [ebp + 8]
mov dword [esi], 1
jmp 0x579e0f
mov dword [esp + 0x18], 2
mov esi, dword [ebp + 8]
lea eax, [esp + 0x18]
mov eax, dword [eax]
mov dword [esi], eax
push dword [esp + 0x28]
call fcn.005f858a
push dword [esp + 0x14]
call fcn.005f858a
push dword [esp + 0x24]
call fcn.005f858a
mov eax, esi
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c