Function at 0x10007a80
Capabilities:
Get process heap flags
Read file on windows

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x10f8
call fcn.1000c8b0
sub esp, eax
mov ebx, edx
mov eax, dword [esp + eax]
mov dword [ebp - 0x1068], 1
mov dword [ebp - 0x10b4], eax
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 0x10a4], 0
mov dword [ebp - 0x109c], 0
mov dword [ebp - 0x1098], 0
test byte [0x1000d050], 8
jne 0x10008340
lea eax, [ebp - 0x10ac]
mov dword [esp + 0xc], 0x62
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.mapi32.dll_MAPILogonEx
mov dword [ebp - 0x10b0], eax
sub esp, 0x14
test byte [0x1000d050], 8
jne 0x10008370
mov ecx, dword [ebp - 0x10b0]
mov esi, 3
test ecx, ecx
jne 0x10007d91
mov eax, dword [ebp - 0x10ac]
lea ecx, [ebp - 0x10a8]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
test eax, eax
je 0x10007da8
mov eax, dword [ebp - 0x10ac]
mov ecx, dword [ebp - 0x10a4]
mov edx, dword [eax]
test ecx, ecx
je 0x10008490
mov ecx, dword [ecx + 0xc]
lea esi, [ebp - 0x10a0]
lea edi, [ebp - 0x1090]
mov dword [esp + 0x14], 0x11
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0
mov esi, dword [ecx + 0xc]
mov dword [esp + 0xc], esi
mov ecx, dword [ecx + 8]
lea esi, [ebp - 0x1068]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x10a4]
sub esp, 0x1c
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
mov eax, dword [ebp - 0x10a0]
mov dword [ebp - 0x1064], 0x340d0003
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x1080]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
je 0x10007e58
and ebx, 0x40000
jne 0x10008458
mov eax, dword [ebp - 0x10a0]
lea ecx, [ebp - 0x1094]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x108c]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x4c]
sub esp, 0x18
test eax, eax
jne 0x10007cc7
mov eax, dword [ebp - 0x10a0]
lea ecx, [ebp - 0x109c]
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0x1088]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x1094]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x108c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x44]
mov eax, dword [ebp - 0x1094]
sub esp, 0x1c
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
mov dword [ebp - 0x1064], 0x36d70102
mov eax, dword [ebp - 0x109c]
test eax, eax
je 0x10007d08
mov edx, dword [eax]
lea ebx, [ebp - 0x1090]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
je 0x10007e80
test byte [0x1000d050], 8
jne 0x100084a0
mov eax, dword [ebp - 0x10a0]
lea ebx, [ebp - 0x1090]
mov dword [ebp - 0x1064], 0x35e20102
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
je 0x10007e80
mov eax, dword [ebp - 0x10ac]
mov esi, 2
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10ac]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call sym.mapi32.dll_MAPIUninitialize
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, dword [ebp - 0x10a8]
lea esi, [ebp - 0x1010]
mov dword [ebp - 0x1010], 2
mov dword [ebp - 0x100c], 0xfff0102
mov dword [ebp - 0x1008], 0x3400000b
mov ecx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ecx + 0x1c]
sub esp, 0xc
test eax, eax
jne 0x10007e3d
lea esi, [ebp - 0x10a4]
mov eax, dword [ebp - 0x10a8]
mov edx, dword [eax]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x4c]
sub esp, 0x10
test eax, eax
mov eax, dword [ebp - 0x10a4]
jne 0x10008f04
cmp dword [eax], 1
jne 0x10008f1e
mov edx, dword [eax + 0xc]
cmp word [edx + 0x18], 0
je 0x10008af8
mov eax, dword [ebp - 0x10a8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10007b74
mov eax, dword [ebp - 0x1090]
test byte [eax + 0xa], 4
je 0x10007c20
mov dword [ebp - 0x10b0], 1
jmp 0x10007c2c
mov eax, dword [ebp - 0x10a0]
mov edx, dword [ebp - 0x1090]
lea ebx, [ebp - 0x1098]
mov ecx, dword [eax]
mov dword [esp + 0x18], ebx
lea ebx, [ebp - 0x1088]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov ebx, dword [edx + 0xc]
mov dword [esp + 8], ebx
mov edx, dword [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x1098]
lea ecx, [ebp - 0x1084]
sub esp, 0x1c
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x4c]
sub esp, 0x10
test eax, eax
jne 0x100083a0
mov eax, dword [ebp - 0x1084]
lea ebx, [ebp - 0x1060]
mov dword [ebp - 0x1060], 0xe070003
mov dword [ebp - 0x1058], 0x28
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebp - 0x1090]
mov dword [ebp - 0x1060], 0xe0a0102
sub esp, 0x10
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1054], eax
mov eax, dword [ebp - 0x1084]
mov dword [ebp - 0x1058], edx
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebp - 0x10b4]
sub esp, 0x10
mov eax, dword [eax + 4]
mov dword [ebp - 0x10d0], eax
test eax, eax
je 0x10007fe2
mov edx, dword [ebp - 0x10b0]
test edx, edx
je 0x10008c98
mov dword [ebp - 0x1060], 0x37001f
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x10d0], 0
mov eax, dword [ebp - 0x1084]
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 0x10
mov edi, dword [ebp - 0x10b4]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10cc], eax
test eax, eax
je 0x100080ba
mov eax, dword [ebp - 0x1084]
lea esi, [ebp - 0x1010]
mov dword [ebp - 0x1010], 0
mov ecx, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [ebp - 0x10b0]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
lea edx, [esi + 0x1000001e]
mov dword [esp + 8], 0x100174a8
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x10cc], 0
sub esp, 0x18
test eax, eax
jne 0x100080ba
mov edx, dword [edi + 8]
mov eax, edx
test esi, esi
je 0x10008b10
cmp word [edx], 0
je 0x10008079
mov esi, esi
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x10008070
mov ecx, dword [ebp - 0x1010]
sub eax, edx
add eax, 2
mov ebx, dword [ecx]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [ebx + 0x10]
mov dword [ebp - 0x10cc], 0
sub esp, 0x10
mov eax, dword [ebp - 0x1010]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x10b4]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x100084d0
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x10d8], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x10c8], eax
mov eax, dword [ebp - 0x1084]
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x10ac]
mov esi, dword [ebp - 0x10d8]
mov ecx, dword [ebp - 0x1084]
sub esp, 8
mov edx, dword [eax]
mov dword [esp + 0xc], esi
mov esi, 2
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x54]
sub esp, 0x10
test eax, eax
jne 0x10008325
mov eax, dword [ebp - 0x1084]
lea esi, [ebp - 0x1090]
mov dword [ebp - 0x1050], 0
lea ebx, [ebp - 0x1050]
mov dword [ebp - 0x1010], 1
mov dword [ebp - 0x100c], 0xe170003
mov ecx, dword [eax]
mov dword [esp + 0x10], esi
lea esi, [ebp - 0x1010]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ecx + 0x14]
mov dword [ebp - 0x10b0], 0
sub esp, 0x14
test eax, eax
je 0x10008d40
mov eax, dword [ebp - 0x1084]
lea edi, [ebp - 0x1090]
mov dword [ebp - 0x100c], 0xe070003
mov ecx, dword [eax]
mov dword [esp + 0x10], edi
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ecx + 0x14]
sub esp, 0x14
test eax, eax
je 0x10008d20
mov eax, dword [ebp - 0x1084]
lea edx, [ebp - 0x1090]
mov dword [ebp - 0x100c], 0xff40003
mov ecx, dword [eax]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ecx + 0x14]
mov dword [ebp - 0x10b4], 0
sub esp, 0x14
test eax, eax
je 0x10008d60
mov eax, dword [ebp - 0x1084]
lea edx, [ebp - 0x1090]
mov dword [ebp - 0x100c], 0x1a001e
mov ecx, dword [eax]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ecx + 0x14]
sub esp, 0x14
test eax, eax
jne 0x10008320
mov ecx, dword [ebp - 0x1090]
mov eax, dword [ebp - 0x10ac]
mov esi, dword [ebp - 0x10b4]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov esi, dword [ebp - 0x10b0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x106c]
mov dword [esp + 0x20], esi
mov esi, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x1098]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x10a0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x50]
sub esp, 0x30
cmp eax, 0x80040113
je 0x10008325
xor esi, esi
test eax, eax
je 0x10008325
test byte [0x1000d050], 8
je 0x10008320
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ShowForm_failure:__lx_n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
lea esi, [esi]
lea edi, [edi]
mov esi, 2
mov eax, dword [ebp - 0x1084]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x100083c4
mov dword [esp + 0xc], str.Using_Extended_MAPI_wrapper_for_MAPISendMail_n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10007af2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.MAPILogonEx:__lx_n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10007b36
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, 2
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10d0], 0
mov dword [ebp - 0x10c8], eax
mov eax, dword [ebp - 0x1098]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x109c]
sub esp, 4
test eax, eax
je 0x100083ea
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x10a0]
mov ebx, dword fs:[0x18]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x10d0]
mov edi, dword [ebp - 0x10c8]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x10cc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x10ac]
sub esp, 0xc
mov edx, dword [eax]
jmp 0x10007d5f
test byte [0x1000d050], 4
jne 0x10008a50
mov eax, dword [ebp - 0x10a0]
mov esi, 0x1b
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x10ac]
sub esp, 4
mov edx, dword [eax]
jmp 0x10007d5f
mov esi, 2
jmp 0x10007d5f
mov dword [esp + 0xc], str.Unable_to_open_Drafts_folder__opening_Outbox_instead_n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10007d15
lea eax, [ebp - 0x106c]
xor esi, esi
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x10d8], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x10b8], esi
mov dword [ebp - 0x10c8], eax
jmp 0x10008534
test byte [0x1000d050], 8
jne 0x10008a20
mov eax, dword [ebp - 0x10c4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x10b4]
mov ebx, dword [ebp - 0x10b8]
cmp dword [eax + 0x28], ebx
jbe 0x100080e2
mov edi, dword [ebp - 0x10b8]
mov ebx, dword [ebp - 0x10b4]
mov dword [ebp - 0x1078], 0
lea esi, [edi + edi*2]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x10d4], edi
add edi, 1
shl esi, 3
mov dword [ebp - 0x10b8], edi
mov eax, dword [eax + esi + 0xc]
test eax, eax
je 0x1000851f
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [ebp - 0x10c4], eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x1000851f
mov eax, dword [ebx + 0x2c]
movzx edx, byte [0x1000d050]
add eax, esi
and edx, 8
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x10c0], ebx
test ebx, ebx
je 0x10008a80
test dl, dl
jne 0x10008760
mov eax, dword [ebp - 0x1084]
lea ecx, [ebp - 0x1078]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x107c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x40]
sub esp, 0x14
test eax, eax
jne 0x10008500
lea edx, [ebp - 0x104c]
mov ecx, 0xf
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x10b0]
mov dword [ebp - 0x1050], 0x37050003
mov dword [ebp - 0x1048], 1
test edi, edi
je 0x100089e8
mov eax, dword [ebp - 0x10c0]
xor edi, edi
mov dword [ebp - 0x1040], 0x3707001f
mov dword [ebp - 0x1030], 0x3704001f
mov dword [ebp - 0x1038], eax
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x1078]
lea esi, [ebp - 0x1050]
mov dword [ebp - 0x1020], 0x370b0003
mov dword [ebp - 0x1018], 0xffffffff
mov edx, dword [eax]
mov dword [ebp - 0x10c0], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 0x10
test eax, eax
jne 0x10008709
mov eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x1074]
mov dword [ebp - 0x1074], 0
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x100174a8
mov dword [esp + 4], 0x37010102
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x18
test eax, eax
je 0x10008d80
mov eax, dword [ebp - 0x10c4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x1078]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
call eax
sub esp, 0xc
jmp 0x1000851f
mov eax, dword [ebp - 0x10c0]
shr eax, 0x10
je 0x10008ce0
mov ebx, dword [ebp - 0x10c0]
mov dword [esp + 4], 0xffffffff
mov edi, 0x100104a6
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x10008886
cmp word [ebx], 0
je 0x10008ec2
mov ecx, ebx
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x100087a8
mov ebx, dword [ebp - 0x10c0]
mov ecx, 0x224c
mov word [ebp - 0x1010], cx
lea ecx, [ebp - 0x100e]
mov dword [ebp - 0x10bc], ebx
jmp 0x10008813
cmp ax, 9
je 0x10008b98
cmp ax, 0xa
jne 0x10008c2e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x10008858
lea ebx, [ebp - 0xeee]
cmp ecx, ebx
ja 0x10008858
mov edx, eax
add dword [ebp - 0x10bc], 2
mov eax, dword [ebp - 0x10bc]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10008b50
jbe 0x100087d8
cmp ax, 0x22
je 0x10008c80
cmp ax, 0x5c
jne 0x10008c21
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10008800
mov byte [ecx], 0x22
test eax, eax
jle 0x10008edb
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
lea ebx, [ebp - 0x1010]
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
mov edi, eax
mov eax, dword [ebp - 0x10b4]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + esi + 0xc]
test ebx, ebx
je 0x10008eb8
mov eax, ebx
shr eax, 0x10
je 0x10008cc0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x100104a6
sub esp, 8
test eax, eax
jne 0x100089a6
cmp word [ebx], 0
je 0x10008ee3
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x100088d8
mov esi, 0x224c
mov dword [ebp - 0x10bc], ebx
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], si
jmp 0x10008933
cmp ax, 9
je 0x10008b80
cmp ax, 0xa
jne 0x10008bb6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [ebp - 0xeee]
lea eax, [edx - 1]
cmp ecx, esi
ja 0x10008978
test edx, edx
jle 0x10008978
mov edx, eax
add dword [ebp - 0x10bc], 2
mov eax, dword [ebp - 0x10bc]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10008b68
jbe 0x10008900
cmp ax, 0x22
je 0x10008c10
cmp ax, 0x5c
jne 0x10008ba9
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10008920
mov byte [ecx], 0x22
test eax, eax
jle 0x10008efc
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
lea ebx, [ebp - 0x1010]
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x10d4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Attachment__u_path:__s__filename:__s_n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x100085dd
mov eax, dword [ebp - 0x10c0]
call sym._convert_from_unicode
mov dword [ebp - 0x1040], 0x3707001e
mov dword [ebp - 0x1038], eax
mov edi, eax
mov dword [ebp - 0x1030], 0x3704001e
mov dword [ebp - 0x1028], eax
jmp 0x10008673
mov dword [esp + 0xc], str.Unable_to_create_attachment_n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000850d
mov dword [esp + 0xc], str.No_Unicode_capable_mail_client__and_MAPI_FORCE_UNICODE_is_specified._MAPISendMail_failed._n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x10008465
mov eax, dword [eax + 0xc]
cmp word [eax], 0
mov dword [ebp - 0x10c0], eax
je 0x100085d5
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10008a98
mov edi, dword [ebp - 0x10c0]
sub eax, edi
sar eax, 1
sub eax, 1
mov dword [ebp - 0x10bc], eax
js 0x100085d5
mov eax, dword [ebp - 0x10b8]
lea ebx, [eax + eax]
movzx ecx, word [edi + ebx - 2]
cmp cx, 0x5c
sete al
cmp cx, 0x2f
sete cl
or al, cl
mov eax, dword [ebp - 0x10bc]
jne 0x10008eaa
lea esi, [esi]
sub eax, 1
cmp eax, 0xffffffff
jne 0x10008ae8
jmp 0x100085d5
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
sub esp, 4
jmp 0x10007df3
call sym._convert_from_unicode
mov dword [esp], eax
mov esi, eax
mov dword [ebp - 0x10cc], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov edx, dword [ebp - 0x1010]
add eax, 1
mov ecx, dword [edx]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edx
call dword [ecx + 0x10]
sub esp, 0x10
jmp 0x100080a9
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10008800
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10008920
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10008920
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10008800
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x10008d00
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefsendmail_extended_mapi]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefsendmail_extended_mapi]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefsendmail_extended_mapi]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefsendmail_extended_mapi]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10008920
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x10008920
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10008d10
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefsendmail_extended_mapi]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefsendmail_extended_mapi]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefsendmail_extended_mapi]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefsendmail_extended_mapi]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10008800
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10008800
mov eax, dword [ebp - 0x10d0]
call sym._convert_from_unicode
mov dword [ebp - 0x1060], 0x37001e
mov dword [ebp - 0x10d0], eax
mov dword [ebp - 0x1058], eax
jmp 0x10007fbd
movzx ebx, bx
mov dword [esp], 0x100104a0
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x100089a6
movzx eax, word [ebp - 0x10c0]
mov dword [esp], 0x100104a0
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edi, eax
jmp 0x10008886
mov byte [ecx], al
add ecx, 1
jmp 0x10008920
mov byte [ecx], al
add ecx, 1
jmp 0x10008800
mov eax, dword [ebp - 0x1090]
mov edi, dword [eax + 8]
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x100081db
mov eax, dword [ebp - 0x1090]
mov edi, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0x10b0], edi
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x1000819c
mov eax, dword [ebp - 0x1090]
mov ecx, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0x10b4], ecx
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x10008222
xor esi, esi
mov dword [ebp - 0x10d4], edi
lea ebx, [ebp - 0x1010]
mov edi, dword [ebp - 0x10c4]
mov dword [ebp - 0x10bc], esi
jmp 0x10008dd9
mov eax, dword [ebp - 0x1070]
test eax, eax
je 0x10008e07
mov edx, dword [ebp - 0x1074]
mov esi, dword [ebp - 0x10d8]
mov ecx, dword [edx]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [ecx + 0x10]
mov esi, dword [ebp - 0x1070]
add dword [ebp - 0x10bc], esi
sub esp, 0x10
lea eax, [ebp - 0x1070]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1000
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x10008da0
mov edi, dword [ebp - 0x10d4]
mov esi, dword [ebp - 0x10bc]
test byte [0x1000d050], 8
jne 0x10008f38
mov eax, dword [ebp - 0x1074]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebp - 0x1074]
sub esp, 8
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x1078]
mov dword [ebp - 0x1048], esi
mov dword [ebp - 0x1050], 0xe200003
mov esi, dword [ebp - 0x10c0]
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebp - 0x1078]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x10]
add dword [ebp - 0x107c], 1
sub esp, 8
jmp 0x10008709
add dword [ebp - 0x10c0], ebx
jmp 0x100085d5
mov edx, 0x100104b0
jmp 0x100089a6
mov eax, 0x224c
mov byte [ebp - 0x100e], 0x22
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], ax
lea eax, [ecx + 1]
jmp 0x10008873
mov ebx, 0x224c
mov byte [ebp - 0x100e], 0x22
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], bx
lea eax, [ecx + 1]
jmp 0x10008993
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
mov dword [ebp - 0x10a4], 0
sub esp, 4
jmp 0x10007e3d
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
mov dword [ebp - 0x10a4], 0
sub esp, 4
jmp 0x10007e3d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._ld_bytes_written_of_attachment_n
mov dword [esp + 8], 0x1001061c
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10008e20