Function at 0x10009100
Capabilities:
Access peb ldr_data
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.1000f948
sub esp, eax
mov ebx, edx
xor edx, edx
mov eax, dword [esp + eax]
mov dword [ebp - 0x1064], edx
mov dword [ebp - 0x10b0], eax
mov eax, 1
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 0x10a4], 0
mov dword [ebp - 0x109c], 0
mov dword [ebp - 0x1098], 0
test byte [0x10010050], 8
jne 0x100099a8
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 - 0x10b4], eax
sub esp, 0x14
test byte [0x10010050], 8
jne 0x100099d8
mov ecx, dword [ebp - 0x10b4]
mov esi, 3
test ecx, ecx
jne 0x100098af
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 0x100098c8
mov eax, dword [ebp - 0x10ac]
mov edx, dword [ebp - 0x10a4]
mov ecx, dword [eax]
test edx, edx
je 0x10009876
mov edx, dword [edx + 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 [edx + 0xc]
mov dword [esp + 0xc], esi
mov edx, dword [edx + 8]
lea esi, [ebp - 0x1068]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [ecx + 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 0x10009978
mov dword [ebp - 0x10b8], 0x1000001e
and ebx, 0x40000
jne 0x10009ac0
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 0x10009350
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 dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ecx, dword [ebp - 0x1094]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x108c]
mov dword [esp], eax
mov dword [esp + 4], ecx
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 0x1000938d
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 0x100093d7
test byte [0x10010050], 8
jne 0x10009af0
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
jne 0x10009870
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 0x10009a08
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 - 0x10b0]
sub esp, 0x10
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c8], eax
test eax, eax
je 0x10009539
mov edx, dword [ebp - 0x10b4]
test edx, edx
je 0x1000a380
mov dword [ebp - 0x1060], 0x37001f
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x10c8], 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 - 0x10b0]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10cc], eax
test eax, eax
je 0x10009612
mov eax, dword [ebp - 0x1084]
lea esi, [ebp - 0x1010]
mov dword [ebp - 0x1010], 0
mov ecx, dword [eax]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1001aa48
mov esi, dword [ebp - 0x10b8]
mov dword [esp], eax
mov dword [esp + 4], esi
call dword [ecx + 0x1c]
mov dword [ebp - 0x10cc], 0
sub esp, 0x18
test eax, eax
jne 0x10009612
mov eax, dword [ebp - 0x10b4]
mov ebx, dword [edi + 8]
test eax, eax
je 0x1000a200
cmp word [ebx], 0
je 0x1000a82d
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x100095c8
sub eax, ebx
add eax, 2
mov edx, dword [ebp - 0x1010]
mov ecx, dword [edx]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [ecx + 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 - 0x10b0]
mov edx, dword [eax + 0x28]
test edx, edx
jne 0x10009b20
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x10d4], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x10c4], eax
mov eax, dword [ebp - 0x1084]
mov esi, 2
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x10ac]
mov edi, dword [ebp - 0x10d4]
sub esp, 8
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov ecx, dword [ebp - 0x1084]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx + 0x54]
sub esp, 0x10
test eax, eax
jne 0x10009858
mov eax, 1
mov edx, 0xe170003
mov dword [ebp - 0x1050], 0
lea edi, [ebp - 0x1090]
mov dword [ebp - 0x1010], eax
mov eax, dword [ebp - 0x1084]
lea ebx, [ebp - 0x1050]
lea esi, [ebp - 0x1010]
mov dword [ebp - 0x100c], edx
mov ecx, dword [eax]
mov dword [esp + 0x10], edi
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 0x1000a590
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 0x1000a570
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 0x1000a5b0
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 0x10009850
mov ecx, dword [ebp - 0x1090]
mov eax, dword [ebp - 0x10ac]
mov esi, 1
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
mov ebx, dword [ebp - 0x10b4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov edi, dword [ebp - 0x10b0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x106c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x1098]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x10a0]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx + 0x50]
sub esp, 0x30
cmp eax, 0x80040113
je 0x10009858
xor esi, esi
test eax, eax
je 0x10009858
test byte [0x10010050], 8
jne 0x1000a800
lea esi, [esi]
mov esi, 2
lea esi, [esi]
mov eax, dword [ebp - 0x1084]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10009a2c
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, 2
mov edx, 0xfff0102
mov dword [ebp - 0x1008], 0x3400000b
lea esi, [ebp - 0x1010]
mov dword [ebp - 0x1010], eax
mov eax, dword [ebp - 0x10a8]
mov dword [ebp - 0x100c], edx
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 0x1000995f
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 0x1000a7cc
cmp dword [eax], 1
jne 0x1000a7e6
mov edx, dword [eax + 0xc]
cmp word [edx + 0x18], 0
je 0x1000a1e8
mov eax, dword [ebp - 0x10a8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x100091f3
mov eax, dword [ebp - 0x1090]
test byte [eax + 0xa], 4
je 0x1000929f
mov dword [ebp - 0x10b8], 0x1000001f
mov dword [ebp - 0x10b4], 1
jmp 0x100092b5
mov dword [esp + 0xc], str.Using_Extended_MAPI_wrapper_for_MAPISendMail_n
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10009171
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.MAPILogonEx:__lx_n
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x100091b5
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, 2
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10c8], 0
mov dword [ebp - 0x10c4], 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 0x10009a52
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 - 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
mov edi, dword [ebp - 0x10c4]
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
jmp 0x1000987b
test byte [0x10010050], 4
jne 0x1000a1b8
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
jmp 0x1000987b
mov dword [esp + 0xc], str.Unable_to_open_Drafts_folder__opening_Outbox_instead_n
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000939a
lea eax, [ebp - 0x106c]
xor edi, edi
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x10d4], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x10c4], eax
jmp 0x10009b78
test byte [0x10010050], 8
jne 0x1000a130
mov eax, dword [ebp - 0x10bc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x10b0]
sub esp, 4
mov edx, dword [eax + 0x28]
cmp edi, edx
jae 0x1000963a
mov eax, dword [ebp - 0x10b0]
lea ebx, [edi + edi*2]
mov dword [ebp - 0x10d0], edi
add edi, 1
mov dword [ebp - 0x1078], 0
shl ebx, 3
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ebx + 0xc]
test eax, eax
je 0x10009b70
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]
sub esp, 0x1c
cmp eax, 0xffffffff
mov dword [ebp - 0x10bc], eax
mov eax, dword [ebp - 0x10b0]
je 0x10009db5
mov edx, dword [eax + 0x2c]
movzx eax, byte [0x10010050]
add edx, ebx
and eax, 8
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x10c0], esi
test esi, esi
je 0x1000a160
test al, al
jne 0x10009dc0
mov eax, dword [ebp - 0x1084]
lea ebx, [ebp - 0x1078]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0x107c]
mov dword [esp + 0xc], ebx
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 0x10009b48
mov eax, dword [ebp - 0x10b4]
pxor xmm0, xmm0
mov dword [ebp - 0x1050], 0x37050003
movups xmmword [ebp - 0x104c], xmm0
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x1048], 1
movups xmmword [ebp - 0x103c], xmm0
movups xmmword [ebp - 0x1020], xmm0
test eax, eax
je 0x1000a050
mov dword [ebp - 0x1040], 0x3707001f
mov eax, dword [ebp - 0x10c0]
mov dword [ebp - 0x1030], 0x3704001f
mov dword [ebp - 0x1038], eax
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x10b8], 0
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 [esp + 0xc], 0
mov dword [ebp - 0x10d0], esi
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 0x10009d60
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], 0x1001aa48
mov dword [esp + 4], 0x37010102
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x18
test eax, eax
je 0x1000a630
mov eax, dword [ebp - 0x10bc]
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]
mov esi, dword [ebp - 0x10b8]
sub esp, 4
mov dword [esp + 8], esi
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 - 0x10c4]
call eax
mov eax, dword [ebp - 0x10b0]
sub esp, 0xc
mov edx, dword [eax + 0x28]
jmp 0x10009b70
mov eax, dword [ebp - 0x10c0]
shr eax, 0x10
je 0x1000a470
mov dword [esp + 4], 0xffffffff
mov ecx, dword [ebp - 0x10c0]
mov esi, 0x10013a26
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
mov edx, eax
test eax, eax
jne 0x10009eeb
mov ecx, dword [ebp - 0x10c0]
cmp word [ecx], 0
je 0x10009ebb
lea esi, cs:[esi]
mov eax, edx
lea edx, [edx + 1]
cmp word [ecx + eax*2 + 2], 0
jne 0x10009e10
mov ecx, dword [ebp - 0x10c0]
mov esi, 0x224c
mov dword [ebp - 0x10b8], edi
lea edx, [ebp - 0x100e]
mov word [ebp - 0x1010], si
mov dword [ebp - 0x10d8], ebx
mov esi, ecx
jmp 0x10009e87
cmp cx, 9
je 0x1000a350
cmp cx, 0xa
jne 0x1000a490
mov ebx, 0x6e5c
add edx, 2
mov word [edx - 2], bx
lea esi, cs:[esi]
sub eax, 1
jb 0x1000a788
lea ecx, [ebp - 0xeee]
cmp ecx, edx
jb 0x1000a600
movzx ecx, word [esi]
add esi, 2
cmp cx, 0xd
je 0x1000a368
jbe 0x10009e48
cmp cx, 0x22
je 0x1000a338
cmp cx, 0x5c
jne 0x1000a4e8
mov edi, 0x5c5c
add edx, 2
mov word [edx - 2], di
jmp 0x10009e70
mov byte [ebp - 0x100e], 0x22
mov eax, 0x224c
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100d]
lea esi, [esi]
mov byte [eax], 0
lea eax, [ebp - 0x1010]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov esi, eax
mov eax, dword [ebp - 0x10b0]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + ebx + 0xc]
test ebx, ebx
je 0x1000a760
mov eax, ebx
shr eax, 0x10
je 0x1000a458
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x10013a26
test edx, edx
jne 0x1000a011
cmp word [ebx], 0
je 0x10009fe6
lea esi, cs:[esi]
mov eax, edx
lea edx, [edx + 1]
cmp word [ebx + eax*2 + 2], 0
jne 0x10009f40
mov edx, 0x224c
mov dword [ebp - 0x10b8], ebx
mov word [ebp - 0x1010], dx
lea edx, [ebp - 0x100e]
mov dword [ebp - 0x10d8], esi
jmp 0x10009fa7
cmp cx, 9
je 0x1000a308
cmp cx, 0xa
jne 0x1000a518
mov ecx, 0x6e5c
add edx, 2
mov word [edx - 2], cx
sub eax, 1
jb 0x1000a770
lea ecx, [ebp - 0xeee]
cmp ecx, edx
jb 0x1000a5d0
add dword [ebp - 0x10b8], 2
mov ebx, dword [ebp - 0x10b8]
movzx ecx, word [ebx - 2]
cmp cx, 0xd
je 0x1000a320
jbe 0x10009f70
cmp cx, 0x22
je 0x1000a2f0
cmp cx, 0x5c
jne 0x1000a500
mov ebx, 0x5c5c
add edx, 2
mov word [edx - 2], bx
jmp 0x10009f90
mov ecx, 0x224c
mov byte [ebp - 0x100e], 0x22
lea eax, [ebp - 0x100d]
mov word [ebp - 0x1010], cx
nop
mov byte [eax], 0
lea eax, [ebp - 0x1010]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10d0]
mov dword [esp + 0xc], str.Attachment__u_path:__s__filename:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10009c1b
mov dword [esp + 0x1c], 0
mov esi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x10c0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call esi
sub esp, 0x20
mov ebx, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x10b8], eax
mov dword [esp + 0x14], ebx
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x10c0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call esi
mov dword [ebp - 0x1038], ebx
mov dword [ebp - 0x1040], 0x3707001e
sub esp, 0x20
mov dword [ebp - 0x1030], 0x3704001e
mov dword [ebp - 0x1028], ebx
jmp 0x10009cca
mov dword [esp + 0xc], str.Unable_to_create_attachment_n
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10009b55
mov esi, dword [edx + 0xc]
cmp word [esi], 0
mov dword [ebp - 0x10c0], esi
je 0x10009c13
mov edx, esi
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000a178
mov esi, dword [ebp - 0x10c0]
sub edx, esi
test edx, edx
jle 0x10009c13
lea ecx, [edi + edi]
movzx edx, word [esi + ecx - 2]
cmp dx, 0x5c
je 0x1000a1a9
cmp dx, 0x2f
jne 0x10009c13
add dword [ebp - 0x10c0], ecx
jmp 0x10009c13
mov dword [esp + 0xc], str.No_Unicode_capable_mail_client__and_MAPI_FORCE_UNICODE_is_specified._MAPISendMail_failed._n
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x10009acd
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
sub esp, 4
jmp 0x10009915
test ebx, ebx
je 0x1000a2b2
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x20
mov esi, eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x10cc], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x20
mov edi, dword [ebp - 0x10cc]
mov dword [esp], edi
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], edi
mov dword [esp], edx
call dword [ecx + 0x10]
sub esp, 0x10
jmp 0x10009601
movzx ebx, word [0x10013bb6]
add edx, 2
mov word [edx - 2], bx
jmp 0x10009f90
mov esi, 0x745c
add edx, 2
mov word [edx - 2], si
jmp 0x10009f90
movzx ebx, word [0x10013bb4]
add edx, 2
mov word [edx - 2], bx
jmp 0x10009f90
movzx edi, word [0x10013bb6]
add edx, 2
mov word [edx - 2], di
jmp 0x10009e70
mov ecx, 0x745c
add edx, 2
mov word [edx - 2], cx
jmp 0x10009e70
movzx edi, word [0x10013bb4]
add edx, 2
mov word [edx - 2], di
jmp 0x10009e70
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x10bc], edx
call edx
sub esp, 0x20
mov edi, eax
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
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x10c8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
mov edx, dword [ebp - 0x10bc]
call edx
mov dword [ebp - 0x1058], esi
mov dword [ebp - 0x1060], 0x37001e
sub esp, 0x20
mov dword [ebp - 0x10c8], esi
jmp 0x10009514
mov dword [esp + 4], ebx
mov dword [esp], 0x10013a20
call sym._wine_dbg_sprintf.constprop.0
jmp 0x1000a011
mov eax, dword [ebp - 0x10c0]
mov dword [esp], 0x10013a20
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov esi, eax
jmp 0x10009eeb
mov edi, ecx
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefsendmail_extended_mapi]
mov edi, ecx
shr di, 8
and edi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefsendmail_extended_mapi]
mov edi, ecx
and ecx, 0xf
shr di, 4
movzx ecx, byte [ecx + str.0123456789abcdefsendmail_extended_mapi]
and edi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefsendmail_extended_mapi]
mov byte [edx - 1], cl
mov byte [edx - 2], bl
jmp 0x10009e70
lea edi, [ecx - 0x20]
cmp di, 0x5e
ja 0x1000a490
mov byte [edx], cl
add edx, 1
jmp 0x10009e70
lea esi, [ecx - 0x20]
cmp si, 0x5e
ja 0x1000a518
mov byte [edx], cl
add edx, 1
jmp 0x10009f90
mov esi, ecx
mov byte [edx], 0x5c
add edx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefsendmail_extended_mapi]
mov esi, ecx
shr si, 8
and esi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefsendmail_extended_mapi]
mov esi, ecx
and ecx, 0xf
shr si, 4
movzx ecx, byte [ecx + str.0123456789abcdefsendmail_extended_mapi]
and esi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefsendmail_extended_mapi]
mov byte [edx - 1], cl
mov byte [edx - 2], bl
jmp 0x10009f90
mov eax, dword [ebp - 0x1090]
mov edi, dword [eax + 8]
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x10009735
mov eax, dword [ebp - 0x1090]
mov edi, dword [eax + 8]
mov dword [ebp - 0x10b0], edi
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x100096f6
mov eax, dword [ebp - 0x1090]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10b4], ecx
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x1000977c
mov byte [edx], 0x22
mov esi, dword [ebp - 0x10d8]
test eax, eax
je 0x1000a779
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
jmp 0x1000a000
mov edi, dword [ebp - 0x10b8]
mov ebx, dword [ebp - 0x10d8]
mov byte [edx], 0x22
test eax, eax
je 0x1000a797
mov esi, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], si
jmp 0x10009ed8
xor ebx, ebx
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x10d8], edi
lea esi, [ebp - 0x1070]
mov dword [ebp - 0x10c0], ebx
mov edi, eax
jmp 0x1000a689
mov eax, dword [ebp - 0x1070]
test eax, eax
je 0x1000a6b7
mov edx, dword [ebp - 0x1074]
mov ebx, dword [ebp - 0x10d4]
mov ecx, dword [edx]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], edx
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x1070]
add dword [ebp - 0x10c0], ecx
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x10bc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x1000a650
mov ebx, dword [ebp - 0x10c0]
mov edi, dword [ebp - 0x10d8]
test byte [0x10010050], 8
jne 0x1000a79f
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], ebx
mov dword [ebp - 0x1050], 0xe200003
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov ebx, dword [ebp - 0x10d0]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 8], ebx
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 0x10009d60
mov eax, 0x10013a30
jmp 0x1000a011
mov byte [edx], 0x22
mov esi, dword [ebp - 0x10d8]
lea eax, [edx + 1]
jmp 0x1000a000
mov edi, dword [ebp - 0x10b8]
mov ebx, dword [ebp - 0x10d8]
mov byte [edx], 0x22
lea eax, [edx + 1]
jmp 0x10009ed8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._ld_bytes_written_of_attachment_n
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000a6d0
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
mov dword [ebp - 0x10a4], 0
sub esp, 4
jmp 0x1000995f
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
mov dword [ebp - 0x10a4], 0
sub esp, 4
jmp 0x1000995f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ShowForm_failure:__lx_n
mov dword [esp + 8], 0x10013b9c
mov dword [esp + 4], 0x10010050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10009850
mov eax, 2
jmp 0x100095d6