Function at 0x10007d00
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.1000c208
sub esp, eax
mov ebx, edx
xor edx, edx
mov eax, dword [esp + eax]
mov dword [ebp - 0x1064], edx
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 0x10a4], 0
mov dword [ebp - 0x10b0], eax
mov eax, 1
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x109c], 0
mov dword [ebp - 0x1098], 0
test byte [0x1000d050], 8
jne 0x100085a0
mov dword [esp + 0xc], 0x62
lea eax, [ebp - 0x10ac]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.mapi32.dll_MAPILogonEx
sub esp, 0x14
mov dword [ebp - 0x10b4], eax
test byte [0x1000d050], 8
jne 0x100085d0
mov edi, dword [ebp - 0x10b4]
mov esi, 3
test edi, edi
jne 0x100084af
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 0x100084c8
mov eax, dword [ebp - 0x10ac]
mov edx, dword [ebp - 0x10a4]
mov ecx, dword [eax]
test edx, edx
je 0x10008476
mov edx, dword [edx + 0xc]
lea esi, [ebp - 0x10a0]
mov dword [esp + 0x14], 0x11
mov dword [esp + 0x18], esi
lea edi, [ebp - 0x1090]
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], eax
mov dword [esp + 8], edx
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 0x10008578
and ebx, 0x40000
jne 0x100086b8
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 0x10007f46
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 0x10007f83
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 0x10007fcd
test byte [0x1000d050], 8
jne 0x100086f0
mov dword [ebp - 0x1064], 0x35e20102
mov eax, dword [ebp - 0x10a0]
lea ebx, [ebp - 0x1090]
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 0x10008470
mov eax, dword [ebp - 0x10a0]
lea ebx, [ebp - 0x1098]
mov edx, dword [ebp - 0x1090]
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 0x10008600
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 - 0x1058], edx
mov dword [ebp - 0x1054], eax
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]
mov eax, dword [ebp - 0x10b0]
sub esp, 0x10
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c4], eax
test eax, eax
je 0x1000812f
mov ecx, dword [ebp - 0x10b4]
test ecx, ecx
je 0x10008b38
mov dword [ebp - 0x1060], 0x37001f
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x10c4], 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 - 0x10c0], eax
test eax, eax
je 0x1000820a
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], 0x10017368
mov ebx, dword [ebp - 0x10b4]
mov dword [esp], eax
lea edx, [ebx + 0x1000001e]
mov dword [esp + 4], edx
call dword [ecx + 0x1c]
mov dword [ebp - 0x10c0], 0
sub esp, 0x18
test eax, eax
jne 0x1000820a
mov edx, dword [edi + 8]
test ebx, ebx
je 0x10008af0
cmp word [edx], 0
je 0x10008d80
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x100081c0
sub eax, edx
add eax, 2
mov ecx, dword [ebp - 0x1010]
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 - 0x10c0], 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 0x10008720
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x10cc], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x10bc], 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 - 0x10cc]
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 0x10008450
lea edi, [ebp - 0x1090]
mov eax, 1
mov edx, 0xe170003
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x1010], eax
mov eax, dword [ebp - 0x1084]
lea ebx, [ebp - 0x1050]
mov dword [ebp - 0x100c], edx
lea esi, [ebp - 0x1010]
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 0x10008b60
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 0x10008ba0
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 0x10008b80
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 0x10008448
mov ecx, dword [ebp - 0x1090]
mov esi, 1
mov eax, dword [ebp - 0x10ac]
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 + 0x18], 0
mov dword [esp + 0x20], edi
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], eax
mov dword [esp + 8], ecx
call dword [edx + 0x50]
sub esp, 0x30
cmp eax, 0x80040113
je 0x10008450
xor esi, esi
test eax, eax
je 0x10008450
test byte [0x1000d050], 8
jne 0x10008d53
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 0x10008624
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
lea esi, [ebp - 0x1010]
mov eax, 2
mov edx, 0xfff0102
mov dword [ebp - 0x1008], 0x3400000b
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 0x1000855f
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 0x10008d1f
cmp dword [eax], 1
jne 0x10008d39
mov edx, dword [eax + 0xc]
cmp word [edx + 0x18], 0
je 0x10008ad8
mov eax, dword [ebp - 0x10a8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10007df3
mov eax, dword [ebp - 0x1090]
test byte [eax + 0xa], 4
je 0x10007e9f
mov dword [ebp - 0x10b4], 1
jmp 0x10007eab
mov dword [esp + 0xc], str.Using_Extended_MAPI_wrapper_for_MAPISendMail_n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call fcn.10007ca0
jmp 0x10007d71
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.MAPILogonEx:__lx_n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call fcn.10007ca0
jmp 0x10007db5
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, 2
mov dword [ebp - 0x10c0], 0
mov dword [ebp - 0x10c4], 0
mov dword [ebp - 0x10bc], 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 0x1000864a
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 - 0x10c4]
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edi, dword [ebp - 0x10bc]
call edi
mov eax, dword [ebp - 0x10c0]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
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 0x1000847b
test byte [0x1000d050], 4
jne 0x10008aa8
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 0x1000847b
mov dword [esp + 0xc], str.Unable_to_open_Drafts_folder__opening_Outbox_instead_n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call fcn.10007ca0
jmp 0x10007f90
lea eax, [ebp - 0x106c]
xor ebx, ebx
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x10cc], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x10bc], eax
jmp 0x10008776
test byte [0x1000d050], 8
jne 0x10008a30
mov eax, dword [ebp - 0x10b8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x10b0]
cmp ebx, dword [eax + 0x28]
jae 0x10008232
mov eax, dword [ebp - 0x10b0]
mov esi, ebx
mov dword [ebp - 0x1078], 0
lea ecx, [ebx + ebx*2]
add ebx, 1
lea edi, [ecx*8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + edi + 0xc]
test eax, eax
je 0x10008767
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
mov dword [ebp - 0x10b8], eax
cmp eax, 0xffffffff
je 0x10008767
mov ecx, dword [ebp - 0x10b0]
mov eax, dword [ecx + 0x2c]
add eax, edi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x10008a60
test byte [0x1000d050], 8
jne 0x10008990
mov eax, dword [ebp - 0x1084]
mov dword [ebp - 0x10c8], edx
lea esi, [ebp - 0x1078]
mov ecx, dword [eax]
mov dword [esp + 0x10], esi
lea esi, [ebp - 0x107c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x10c8]
sub esp, 0x14
test eax, eax
jne 0x10008748
lea esi, [ebp - 0x104c]
mov ecx, 0xf
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10b4]
mov dword [ebp - 0x1050], 0x37050003
mov dword [ebp - 0x1048], 1
test eax, eax
je 0x10008a00
mov dword [ebp - 0x1040], 0x3707001f
xor edi, edi
mov dword [ebp - 0x1038], edx
mov dword [ebp - 0x1030], 0x3704001f
mov dword [ebp - 0x1028], edx
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 0x1000893c
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], 0x10017368
mov dword [esp + 4], 0x37010102
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x18
test eax, eax
je 0x10008bc0
mov eax, dword [ebp - 0x10b8]
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 - 0x10bc]
call eax
sub esp, 0xc
jmp 0x10008767
mov eax, edx
mov dword [ebp - 0x10d0], edx
call fcn.10007a10
mov ecx, dword [ebp - 0x10b0]
mov dword [ebp - 0x10c8], eax
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + edi + 0xc]
call fcn.10007a10
mov edi, dword [ebp - 0x10c8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Attachment__u_path:__s__filename:__s_n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 0x18], edi
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call fcn.10007ca0
mov edx, dword [ebp - 0x10d0]
jmp 0x1000880a
mov eax, edx
call fcn.10007850
mov dword [ebp - 0x1040], 0x3707001e
mov edi, eax
mov dword [ebp - 0x1038], eax
mov dword [ebp - 0x1030], 0x3704001e
mov dword [ebp - 0x1028], eax
jmp 0x100088a6
mov dword [esp + 0xc], str.Unable_to_create_attachment_n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call fcn.10007ca0
jmp 0x10008755
mov edx, dword [eax + 0xc]
cmp word [edx], 0
je 0x100087fd
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x10008a70
sub eax, edx
sar eax, 1
sub eax, 1
js 0x100087fd
lea ecx, [ebx + ebx]
movzx eax, word [edx + ecx - 2]
cmp ax, 0x5c
je 0x10008a9e
cmp ax, 0x2f
jne 0x100087fd
add edx, ecx
jmp 0x100087fd
mov dword [esp + 0xc], str.No_Unicode_capable_mail_client__and_MAPI_FORCE_UNICODE_is_specified._MAPISendMail_failed._n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 4], 0x1000d050
mov dword [esp], 2
call fcn.10007ca0
jmp 0x100086c5
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
sub esp, 4
jmp 0x10008515
mov eax, edx
call fcn.10007850
mov edi, eax
mov dword [ebp - 0x10c0], eax
mov dword [esp], 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], edi
mov dword [esp], edx
call dword [ecx + 0x10]
sub esp, 0x10
jmp 0x100081f9
mov eax, dword [ebp - 0x10c4]
call fcn.10007850
mov dword [ebp - 0x1060], 0x37001e
mov dword [ebp - 0x10c4], eax
mov dword [ebp - 0x1058], eax
jmp 0x1000810a
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 0x100082ee
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 0x10008374
mov eax, dword [ebp - 0x1090]
mov edi, dword [eax + 8]
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
sub esp, 4
jmp 0x1000832d
mov dword [ebp - 0x10d4], edi
mov edi, dword [ebp - 0x10b8]
lea eax, [ebp - 0x1010]
xor esi, esi
mov dword [ebp - 0x10d8], ebx
mov dword [ebp - 0x10c8], edi
mov edi, eax
jmp 0x10008c1b
mov eax, dword [ebp - 0x1070]
test eax, eax
je 0x10008c4f
mov edx, dword [ebp - 0x1074]
mov ebx, dword [ebp - 0x10cc]
mov ecx, dword [edx]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], edx
call dword [ecx + 0x10]
add esi, dword [ebp - 0x1070]
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], edi
mov eax, dword [ebp - 0x10c8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x10008be8
mov edi, dword [ebp - 0x10d4]
mov ebx, dword [ebp - 0x10d8]
test byte [0x1000d050], 8
jne 0x10008cf2
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
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov esi, dword [ebp - 0x10d0]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 8], esi
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 0x1000893c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._ld_bytes_written_of_attachment_n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call fcn.10007ca0
jmp 0x10008c68
mov dword [esp], eax
call sym.mapi32.dll_MAPIFreeBuffer
mov dword [ebp - 0x10a4], 0
sub esp, 4
jmp 0x1000855f
mov dword [esp], eax
call sym.mapi32.dll_FreeProws_4
mov dword [ebp - 0x10a4], 0
sub esp, 4
jmp 0x1000855f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ShowForm_failure:__lx_n
mov dword [esp + 8], 0x100104fc
mov dword [esp + 4], 0x1000d050
mov dword [esp], 3
call fcn.10007ca0
jmp 0x10008448
mov eax, 2
jmp 0x100081ce