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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x1108
call fcn.70a4cc60
sub esp, eax
mov ebx, edx
mov eax, dword [esp + eax]
mov dword [ebp - 0x1070], 1
mov dword [ebp - 0x10bc], eax
mov dword [ebp - 0x106c], 0
mov dword [ebp - 0x10b4], 0
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 0x10a4], 0
mov dword [ebp - 0x10a0], 0
test byte [0x70a4d050], 8
jne 0x70a48c50
lea eax, [ebp - 0x10b4]
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 - 0x10c0], eax
sub esp, 0x14
test byte [0x70a4d050], 8
jne 0x70a48c20
mov edi, dword [ebp - 0x10c0]
mov esi, 3
test edi, edi
jne 0x70a48676
mov eax, dword [ebp - 0x10b4]
lea ecx, [ebp - 0x10b0]
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 0x70a48688
mov edx, dword [ebp - 0x10ac]
test edx, edx
je 0x70a48637
mov edx, dword [edx + 0xc]
mov eax, dword [ebp - 0x10b4]
lea esi, [ebp - 0x10a8]
lea edi, [ebp - 0x1098]
mov ecx, dword [eax]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x11
mov dword [esp + 0x10], 0
mov esi, dword [edx + 0xc]
mov dword [esp + 0xc], esi
mov edx, dword [edx + 8]
lea esi, [ebp - 0x1070]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10ac]
sub esp, 0x1c
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
mov eax, dword [ebp - 0x10a8]
mov dword [ebp - 0x106c], 0x340d0003
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x1088]
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 0x70a48738
and ebx, 0x40000
jne 0x70a48d30
mov eax, dword [ebp - 0x10a8]
lea ecx, [ebp - 0x109c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x1094]
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 0x70a485ac
mov eax, dword [ebp - 0x10a8]
lea ecx, [ebp - 0x10a4]
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0x1090]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x109c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x1094]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x44]
mov eax, dword [ebp - 0x109c]
sub esp, 0x1c
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
mov dword [ebp - 0x106c], 0x36d70102
mov eax, dword [ebp - 0x10a4]
test eax, eax
je 0x70a485ed
mov edx, dword [eax]
lea ebx, [ebp - 0x1098]
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 0x70a48760
test byte [0x70a4d050], 8
jne 0x70a48d60
mov eax, dword [ebp - 0x10a8]
lea ebx, [ebp - 0x1098]
mov dword [ebp - 0x106c], 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 0x70a48760
mov esi, 2
mov eax, dword [ebp - 0x10b4]
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 - 0x10b4]
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
ret
mov eax, dword [ebp - 0x10b0]
lea esi, [ebp - 0x1018]
mov dword [ebp - 0x1018], 2
mov dword [ebp - 0x1014], 0xfff0102
mov dword [ebp - 0x1010], 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 0x70a4871d
lea esi, [ebp - 0x10ac]
mov eax, dword [ebp - 0x10b0]
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 - 0x10ac]
jne 0x70a49392
cmp dword [eax], 1
jne 0x70a493ac
mov edx, dword [eax + 0xc]
cmp word [edx + 0x18], 0
je 0x70a49170
mov eax, dword [ebp - 0x10b0]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x70a48459
mov eax, dword [ebp - 0x1098]
test byte [eax + 0xa], 4
je 0x70a48505
mov dword [ebp - 0x10c0], 1
jmp 0x70a48511
mov eax, dword [ebp - 0x10a8]
mov edx, dword [ebp - 0x1098]
lea ebx, [ebp - 0x10a0]
mov ecx, dword [eax]
mov dword [esp + 0x18], ebx
lea ebx, [ebp - 0x1090]
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 - 0x10a0]
lea ecx, [ebp - 0x108c]
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 0x70a48c80
mov eax, dword [ebp - 0x108c]
lea ebx, [ebp - 0x1068]
mov dword [ebp - 0x1068], 0xe070003
mov dword [ebp - 0x1060], 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 - 0x1098]
mov dword [ebp - 0x1068], 0xe0a0102
sub esp, 0x10
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x105c], eax
mov eax, dword [ebp - 0x108c]
mov dword [ebp - 0x1060], 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 - 0x10bc]
sub esp, 0x10
mov eax, dword [eax + 4]
mov dword [ebp - 0x10d4], eax
test eax, eax
je 0x70a488c2
mov ecx, dword [ebp - 0x10c0]
test ecx, ecx
je 0x70a491c0
mov dword [ebp - 0x1068], 0x37001f
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x10d4], 0
mov eax, dword [ebp - 0x108c]
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 - 0x10bc]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10cc], eax
test eax, eax
je 0x70a4899a
mov eax, dword [ebp - 0x108c]
lea esi, [ebp - 0x1018]
mov dword [ebp - 0x1018], 0
mov ecx, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [ebp - 0x10c0]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
lea edx, [esi + 0x1000001e]
mov dword [esp + 8], 0x70a57588
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 0x70a4899a
mov edx, dword [edi + 8]
mov eax, edx
test esi, esi
je 0x70a49180
cmp word [edx], 0
je 0x70a48959
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x70a48950
mov ecx, dword [ebp - 0x1018]
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 - 0x1018]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x10bc]
mov edx, dword [eax + 0x28]
test edx, edx
jne 0x70a48d90
lea eax, [ebp - 0x1074]
mov dword [ebp - 0x10d8], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x10c8], eax
mov eax, dword [ebp - 0x108c]
mov esi, 2
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x10b4]
mov edi, dword [ebp - 0x10d8]
mov ecx, dword [ebp - 0x108c]
sub esp, 8
mov edx, dword [eax]
mov dword [esp + 0xc], edi
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 0x70a48c05
mov eax, dword [ebp - 0x108c]
lea edi, [ebp - 0x1098]
mov dword [ebp - 0x1058], 0
lea ebx, [ebp - 0x1058]
mov dword [ebp - 0x1018], 1
lea esi, [ebp - 0x1018]
mov dword [ebp - 0x1014], 0xe170003
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 - 0x10bc], 0
sub esp, 0x14
test eax, eax
je 0x70a49230
mov eax, dword [ebp - 0x108c]
lea edi, [ebp - 0x1098]
mov dword [ebp - 0x1014], 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 0x70a49210
mov eax, dword [ebp - 0x108c]
lea edx, [ebp - 0x1098]
mov dword [ebp - 0x1014], 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 - 0x10c0], 0
sub esp, 0x14
test eax, eax
je 0x70a491f0
mov eax, dword [ebp - 0x108c]
lea edx, [ebp - 0x1098]
mov dword [ebp - 0x1014], 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 0x70a48c00
mov ecx, dword [ebp - 0x1098]
mov eax, dword [ebp - 0x10b4]
mov esi, 1
mov ebx, dword [ebp - 0x10c0]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov dword [esp + 0x24], edi
mov edi, dword [ebp - 0x10bc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x1074]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x10a0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x10a8]
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 0x70a48c05
xor esi, esi
test eax, eax
je 0x70a48c05
test byte [0x70a4d050], 8
je 0x70a48c00
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ShowForm_failure:__lx_n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
lea esi, [esi]
lea esi, [esi]
mov esi, 2
mov eax, dword [ebp - 0x108c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x70a48ca4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.MAPILogonEx:__lx_n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x70a4841b
mov dword [esp + 0xc], str.Using_Extended_MAPI_wrapper_for_MAPISendMail_n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x70a483d7
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, 2
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10d4], 0
mov dword [ebp - 0x10c8], eax
mov eax, dword [ebp - 0x10a0]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x10a4]
sub esp, 4
test eax, eax
je 0x70a48cca
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x10a8]
mov ebx, dword fs:[0x18]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x10d4]
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
sub esp, 0xc
jmp 0x70a4863c
test byte [0x70a4d050], 4
jne 0x70a490c8
mov eax, dword [ebp - 0x10a8]
mov esi, 0x1b
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x70a4863c
mov dword [esp + 0xc], str.Unable_to_open_Drafts_folder__opening_Outbox_instead_n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x70a485fa
lea eax, [ebp - 0x1074]
xor ebx, ebx
mov dword [ebp - 0x1084], 0
mov dword [ebp - 0x10d8], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, ebx
mov dword [ebp - 0x10c8], eax
jmp 0x70a48dee
test byte [0x70a4d050], 8
jne 0x70a49098
mov eax, dword [ebp - 0x10c4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x10bc]
cmp dword [eax + 0x28], esi
jbe 0x70a489c2
mov eax, dword [ebp - 0x10bc]
lea ebx, [esi + esi*2]
mov edi, esi
inc esi
mov dword [ebp - 0x1080], 0
shl ebx, 3
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ebx + 0xc]
test eax, eax
je 0x70a48ddf
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 0x70a48ddf
mov ecx, dword [ebp - 0x10bc]
mov eax, dword [ecx + 0x2c]
add eax, ebx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10d0], ecx
test ecx, ecx
je 0x70a490f8
test byte [0x70a4d050], 8
jne 0x70a49000
mov eax, dword [ebp - 0x108c]
lea ecx, [ebp - 0x1084]
lea edi, [ebp - 0x1080]
mov edx, dword [eax]
mov dword [esp + 0x10], edi
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 0x70a48dc0
lea edx, [ebp - 0x1054]
mov ecx, 0xf
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10c0]
mov dword [ebp - 0x1058], 0x37050003
mov dword [ebp - 0x1050], 1
test eax, eax
je 0x70a49060
mov eax, dword [ebp - 0x10d0]
xor edi, edi
mov dword [ebp - 0x1048], 0x3707001f
mov dword [ebp - 0x1038], 0x3704001f
mov dword [ebp - 0x1040], eax
mov dword [ebp - 0x1030], eax
mov eax, dword [ebp - 0x1080]
lea ebx, [ebp - 0x1058]
mov dword [ebp - 0x1028], 0x370b0003
mov dword [ebp - 0x1020], 0xffffffff
mov edx, dword [eax]
mov dword [ebp - 0x10dc], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 0x10
test eax, eax
jne 0x70a48fae
mov eax, dword [ebp - 0x1080]
lea ecx, [ebp - 0x107c]
mov dword [ebp - 0x107c], 0
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x70a57588
mov dword [esp + 4], 0x37010102
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x18
test eax, eax
je 0x70a49250
mov eax, dword [ebp - 0x10c4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x1080]
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 0x70a48ddf
mov eax, dword [ebp - 0x10d0]
call sym._wine_dbgstr_wn.constprop.0_1
mov ecx, dword [ebp - 0x10bc]
mov dword [ebp - 0x10dc], eax
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + ebx + 0xc]
call sym._wine_dbgstr_wn.constprop.0_1
mov ebx, dword [ebp - 0x10dc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], str.Attachment__u_path:__s__filename:__s_n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x70a48e82
mov eax, dword [ebp - 0x10d0]
call sym._convert_from_unicode
mov dword [ebp - 0x1048], 0x3707001e
mov dword [ebp - 0x1040], eax
mov edi, eax
mov dword [ebp - 0x1038], 0x3704001e
mov dword [ebp - 0x1030], eax
jmp 0x70a48f18
mov dword [esp + 0xc], str.Unable_to_create_attachment_n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x70a48dcd
mov dword [esp + 0xc], str.No_Unicode_capable_mail_client__and_MAPI_FORCE_UNICODE_is_specified._MAPISendMail_failed._n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x70a48d3d
mov eax, dword [eax + 0xc]
cmp word [eax], 0
mov dword [ebp - 0x10d0], eax
je 0x70a48e75
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x70a49110
mov ecx, dword [ebp - 0x10d0]
sub eax, ecx
sar eax, 1
dec eax
mov dword [ebp - 0x10e0], eax
js 0x70a48e75
lea edx, [esi + esi]
movzx ecx, word [ecx + edx - 2]
cmp cx, 0x5c
sete byte [ebp - 0x10dc]
cmp cx, 0x2f
movzx eax, byte [ebp - 0x10dc]
sete cl
or al, cl
mov eax, dword [ebp - 0x10e0]
jne 0x70a49387
nop
sub eax, 1
jae 0x70a49160
jmp 0x70a48e75
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
sub esp, 4
jmp 0x70a486d3
call sym._convert_from_unicode
mov dword [esp], eax
mov edi, eax
mov dword [ebp - 0x10cc], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov edx, dword [ebp - 0x1018]
inc eax
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 0x70a48989
mov eax, dword [ebp - 0x10d4]
call sym._convert_from_unicode
mov dword [ebp - 0x1068], 0x37001e
mov dword [ebp - 0x10d4], eax
mov dword [ebp - 0x1060], eax
jmp 0x70a4889d
mov eax, dword [ebp - 0x1098]
mov ecx, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0x10c0], ecx
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x70a48b02
mov eax, dword [ebp - 0x1098]
mov edi, dword [eax + 8]
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x70a48abb
mov eax, dword [ebp - 0x1098]
mov edi, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0x10bc], edi
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x70a48a7c
xor ebx, ebx
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x10e0], edi
mov dword [ebp - 0x10e4], esi
mov edi, eax
mov esi, dword [ebp - 0x10c4]
mov dword [ebp - 0x10d0], ebx
jmp 0x70a492b1
mov eax, dword [ebp - 0x1078]
test eax, eax
je 0x70a492df
mov edx, dword [ebp - 0x107c]
mov ebx, dword [ebp - 0x10d8]
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 ebx, dword [ebp - 0x1078]
add dword [ebp - 0x10d0], ebx
sub esp, 0x10
lea eax, [ebp - 0x1078]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x70a49278
mov edi, dword [ebp - 0x10e0]
mov ebx, dword [ebp - 0x10d0]
mov esi, dword [ebp - 0x10e4]
test byte [0x70a4d050], 8
jne 0x70a493c6
mov eax, dword [ebp - 0x107c]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebp - 0x107c]
sub esp, 8
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x1080]
mov dword [ebp - 0x1050], ebx
mov dword [ebp - 0x1058], 0xe200003
mov ebx, dword [ebp - 0x10dc]
sub esp, 4
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 - 0x1080]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x10]
inc dword [ebp - 0x1084]
sub esp, 8
jmp 0x70a48fae
add dword [ebp - 0x10d0], edx
jmp 0x70a48e75
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
mov dword [ebp - 0x10ac], 0
sub esp, 4
jmp 0x70a4871d
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
mov dword [ebp - 0x10ac], 0
sub esp, 4
jmp 0x70a4871d
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._ld_bytes_written_of_attachment_n
mov dword [esp + 8], 0x70a5073c
mov dword [esp + 4], 0x70a4d050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x70a492fe