Function at 0x1005177d
Capabilities:
Contain obfuscated stackstrings
Delete file
Move file

Disassembly:
push 0x408
mov eax, 0x101d4432
call fcn.10096f9a
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
and dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp + 0x28]
push str.DecryptOrEncrypt_MailAttach_To_Temp_r_n
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp + 0x2c]
mov esi, str.OnItemSend
push esi
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp + 0x30]
push 0xffffffffffffffff
mov ebx, 0x10265f7c
push ebx
mov dword [ebp - 0x30c], edi
mov dword [ebp - 0x28c], eax
call fcn.10024f9f
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x384]
call fcn.1003b478
and dword [ebp - 4], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x348]
call fcn.10011598
mov byte [ebp - 4], 1
mov eax, dword [0x1020db10]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 2
call fcn.100e5ba0
push eax
lea eax, [ebp - 0x2b8]
push str._sOcularTSafeDocoutlookmail
push eax
call fcn.100cf610
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.100cbc80
mov byte [ebp - 4], 3
and dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x280], 0x80004005
cmp eax, 1
jne 0x10051870
mov eax, dword [edi + 4]
jmp 0x10051878
cmp eax, 2
jne 0x1005188b
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x2a0]
push edx
push eax
call dword [ecx + 0x30]
mov dword [ebp - 0x280], eax
cmp dword [edi + 0x10], 1
jne 0x100518a4
mov edi, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x314]
push ecx
push edi
call dword [eax + 0x1f4]
push dword [ebp - 0x314]
push dword [ebp - 0x280]
push str.CAddin::OnItemSend_3___lx____d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
xor edi, edi
add esp, 0x18
cmp dword [ebp - 0x280], edi
jge 0x10051920
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a0]
call fcn.1003fe14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c8]
call fcn.100cc680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b8]
call fcn.100cc680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x348]
call fcn.100115c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.1003b554
xor eax, eax
call fcn.1009701d
ret 0x2c
lea ecx, [ebp - 0x414]
call fcn.1002f572
mov byte [ebp - 4], 6
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x10]
call fcn.10032316
pop ecx
pop ecx
test eax, eax
jne 0x100519a7
xor esi, esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x414]
call fcn.1002f2dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a0]
call fcn.1003fe14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c8]
call fcn.100cc680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b8]
call fcn.100cc680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x348]
call fcn.100115c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.1003b554
mov eax, esi
jmp 0x10051918
push str.CAddin::OnItemSend_5
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [ebp - 0x2a8]
push edx
push eax
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x278]
call fcn.1002a72c
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28c]
cmp ecx, edi
je 0x10051c97
cmp dword [ebp + 0x18], edi
je 0x10051c97
lea eax, [ebp - 0x278]
push eax
call fcn.1002a70a
lea ecx, [ebp - 0x22c]
call fcn.100056e5
push eax
push dword [ebp - 0x2a8]
push str.get_attachment_object_count_1___d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
mov dword [ebp - 0x298], edi
xor edi, edi
inc edi
push edi
call fcn.10004251
add esp, 0x1c
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x298], eax
call fcn.1002f572
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3cc]
push eax
push dword [ebp + 0x10]
call fcn.10032316
pop ecx
pop ecx
test eax, eax
jne 0x10051a6e
push str.CMailSCIHandle::Run__no_apply_Policy
push str.MailSCI
push 3
push ebx
call fcn.10024f9f
add esp, 0x10
push edi
push dword [ebp - 0x2a8]
push str.get_attachment_object_count_2___d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
lea eax, [ebp - 0x3cc]
mov dword [ebp - 0x338], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x334], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x298]
add esp, 0x18
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2bc], edi
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x324], eax
call fcn.100d1fb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2ec]
call fcn.100d9ad0
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebp - 0x2d8]
call fcn.100d2020
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2ec]
call fcn.100d9af0
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x338]
push eax
push 0x100316e7
call fcn.1002b757
mov eax, dword [ebp - 0x2e8]
cmp dword [ebp - 0x2d4], eax
jne 0x10051c3e
cmp eax, edi
mov dword [ebp - 0x27c], edi
jle 0x10051c3e
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x27c]
mov edi, dword [eax + ecx*4]
lea ecx, [ebp - 0x22c]
call fcn.100056e5
cmp edi, eax
jae 0x10051c26
push edi
lea ecx, [ebp - 0x22c]
call fcn.100056fd
mov ecx, dword [ebp - 0x27c]
mov edi, eax
mov eax, dword [ebp - 0x2d8]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x280]
call fcn.100cbc80
mov byte [ebp - 4], 0xb
push dword [ebp - 0x27c]
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.1000bc42
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2dc]
push eax
call fcn.10005773
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28c]
call fcn.100cc680
mov ecx, dword [ebp - 0x2f0]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x280]
push edx
push eax
call fcn.100d25c0
mov ecx, dword [ebp - 0x2c4]
lea eax, [edi + 0x14]
push eax
call fcn.10005773
push dword [edi]
mov ecx, dword [ebp - 0x2c0]
call fcn.1001184f
mov dword [ebp - 0x2b4], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x280]
call fcn.100cc680
inc dword [ebp - 0x27c]
mov eax, dword [ebp - 0x27c]
cmp eax, dword [ebp - 0x2e8]
jl 0x10051b55
mov eax, dword [ebp - 0x2c0]
mov edi, dword [eax + 4]
lea ecx, [ebp - 0x22c]
call fcn.100056e5
push eax
push edi
push str.get_attachment_object_count____d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2ec]
call fcn.100d9ae0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2d8]
call fcn.100d1fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3cc]
call fcn.1002f2dc
jmp 0x10052445
mov ecx, dword [ebp - 0x2a8]
xor eax, eax
inc eax
inc ecx
cmp ecx, eax
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x27c], eax
jle 0x10052445
and dword [ebp - 0x288], 0
mov byte [ebp - 4], 0xe
push 3
pop eax
mov word [ebp - 0x330], ax
xor eax, eax
inc eax
mov word [ebp - 0x32e], ax
xor eax, eax
lea edi, [ebp - 0x32c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x288]
push edx
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x330]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x30]
test eax, eax
jl 0x10052418
push eax
push str.get_attachment_object_succeed___d
mov esi, str.OnItemSend
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
and dword [ebp - 0x284], 0
add esp, 0x14
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
lea edx, [ebp - 0x284]
push edx
push eax
call dword [ecx + 0x34]
mov edi, eax
test edi, edi
jl 0x10052408
push dword [ebp - 0x284]
lea ecx, [ebp - 0x294]
call fcn.100cbee0
mov byte [ebp - 4], 0x10
push dword [ebp - 0x284]
lea ecx, [ebp - 0x2a4]
call fcn.100cbee0
mov byte [ebp - 4], 0x11
push edi
push dword [ebp - 0x2a4]
push str.get_attachment_name__s__succeed__d
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
xor edi, edi
add esp, 0x18
cmp dword [ebp + 0x18], edi
je 0x10051f4a
push dword [ebp + 0x10]
push dword [ebp - 0x294]
call fcn.100328a7
pop ecx
pop ecx
test eax, eax
je 0x100523ea
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10097040
add esp, 0xc
push dword [ebp - 0x284]
lea ecx, [ebp - 0x31c]
call fcn.100cbee0
mov byte [ebp - 4], 0x13
push dword [eax]
mov edi, 0x103
push dword [ebp - 0x27c]
lea eax, [ebp - 0x218]
push dword [ebp - 0x2c8]
push str._s_d_s
push edi
push eax
call fcn.1009d2be
add esp, 0x18
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x31c]
call fcn.100cc680
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.100cbee0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x290]
call fcn.100cd9b0
call fcn.100f27c0
test eax, eax
je 0x10051e62
push str.SysWOW64
push str.system32
lea ecx, [ebp - 0x290]
call fcn.100ce5d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x340]
call fcn.100cbc80
mov byte [ebp - 4], 0x15
push dword [eax]
lea eax, [ebp - 0x218]
push 0x101e4ef8
push edi
push eax
call fcn.1009d2be
add esp, 0x10
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x340]
call fcn.100cc680
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x320]
call fcn.100cbc80
mov byte [ebp - 4], 0x16
push dword [eax]
push edi
push str.attachment_save_as__0x__s
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x18
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x320]
call fcn.100cc680
test edi, edi
jge 0x10052050
cmp dword [ebp - 0x2ac], 0
jne 0x10052048
push str.attachment____save_mail_and_try_again
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
mov eax, dword [ebp - 0x30c]
mov ecx, dword [eax + 0x10]
xor edx, edx
inc edx
add esp, 0x10
mov dword [ebp - 0x2ac], edx
cmp ecx, edx
jne 0x10051fd5
mov eax, dword [eax + 4]
jmp 0x10051fdd
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x10051db9
test eax, eax
jle 0x100523ea
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.100cbc80
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx - 8]
mov ecx, dword [ebp - 0x2b0]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea ecx, [ecx + edi*4]
mov ecx, dword [ecx]
push edx
push ecx
push eax
call fcn.10098323
add esp, 0xc
neg eax
sbb al, al
inc al
mov byte [ebp - 0x299], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2f4]
call fcn.100cc680
cmp byte [ebp - 0x299], 0
jne 0x10051db9
mov eax, dword [ebp - 0x2b0]
inc edi
cmp edi, dword [eax + 4]
jl 0x10051f63
jmp 0x100523ea
cmp ecx, 2
jne 0x10051fe8
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd8]
mov edi, eax
push edi
push str.attachment____save__0x
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
add esp, 0x14
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x300]
call fcn.100cbc80
mov byte [ebp - 4], 0x17
push dword [eax]
push edi
push str.attachment____save_as__0x__s
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x18
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x300]
call fcn.100cc680
test edi, edi
jl 0x100523db
push edi
push str.attachment_save_as_succeed__d
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x14
lea ecx, [ebp - 0x368]
call fcn.1002786c
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x358]
call fcn.1002786c
mov byte [ebp - 4], 0x19
and dword [ebp - 0x298], 0
lea ecx, [ebp - 0x2d4]
call fcn.1002c606
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x27c]
push dword [ebp - 0x284]
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2d4], eax
call fcn.100cbee0
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x2cc]
call fcn.100cc810
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x318]
call fcn.100cc680
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.100cc810
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x33c]
call fcn.100cbc80
mov edi, eax
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x308]
call fcn.100cbc80
mov byte [ebp - 4], 0x1d
push dword [edi]
push dword [eax]
push str.decryptMailDoc_szOrigName__s__szAttachment__s_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x18
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x308]
call fcn.100cc680
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x33c]
call fcn.100cc680
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x368]
call fcn.1002d7f4
cmp dword [ebp + 0x18], 0
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x358]
je 0x10052185
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x368]
push eax
call fcn.10032b4f
add esp, 0x18
jmp 0x1005219b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x368]
push eax
call fcn.100334a4
add esp, 0x14
push dword [ebp + 0x18]
mov edi, eax
push dword [ebp - 0x298]
push edi
push str.decryptMailDoc__d_bDecrypt__d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x1c
push 0
lea ecx, [ebp - 0x358]
call fcn.10028d01
push eax
lea ecx, [ebp - 0x2e8]
call fcn.1003ef06
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x280]
call fcn.100cbc80
mov byte [ebp - 4], 0x1f
test edi, edi
je 0x10052383
cmp dword [ebp - 0x298], 0
je 0x10052383
push 0x5c
lea ecx, [ebp - 0x280]
call fcn.100cd830
inc eax
push eax
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x280]
call fcn.100cedd0
mov byte [ebp - 4], 0x20
mov eax, dword [0x1020db10]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 0x21
push dword [ebp - 0x2e0]
lea eax, [ebp - 0x28c]
push dword [ebp - 0x27c]
push dword [ebp - 0x2bc]
push 0x101fb0fc
push eax
call fcn.100cf610
add esp, 0x14
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x310]
call fcn.100cbc80
mov byte [ebp - 4], 0x22
push dword [eax]
push str.MoveFile1_OrigName__s_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x14
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x310]
call fcn.100cc680
xor edi, edi
inc edi
push edi
push dword [ebp - 0x28c]
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
push str.MoveFile_2___lu_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.100cbee0
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x2dc]
push eax
call fcn.10005773
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2f8]
call fcn.100cc680
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.100cbc80
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x2f0]
push eax
call fcn.10005773
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2fc]
call fcn.100cc680
push dword [ebp - 0x284]
lea ecx, [ebp - 0x304]
call fcn.100cbee0
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x2c4]
push eax
call fcn.10005773
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x304]
call fcn.100cc680
push dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x2c0]
call fcn.1001184f
mov dword [ebp - 0x2b4], edi
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x28c]
call fcn.100cc680
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2bc]
call fcn.100cc680
jmp 0x10052390
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x280]
call fcn.100cc680
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2e8]
call fcn.10027906
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2d4]
call fcn.10027906
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x358]
call fcn.100298f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x368]
call fcn.100298f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x290]
call fcn.100cc680
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2a4]
call fcn.100cc680
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x294]
call fcn.100cc680
mov byte [ebp - 4], 0xe
push dword [ebp - 0x284]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x288]
call fcn.1003fe39
inc dword [ebp - 0x27c]
mov eax, dword [ebp - 0x2a8]
inc eax
cmp dword [ebp - 0x27c], eax
jl 0x10051cb5
mov esi, str.OnItemSend
cmp dword [ebp + 0x18], 0
je 0x1005245c
push dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2b0]
call fcn.100d2340
push dword [ebp - 0x2b4]
push str.DecryptOrEncrypteMailAttachToTemp_bNeedRebuild__d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10024f9f
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x278]
call fcn.1002a7b6
mov esi, dword [ebp - 0x2b4]
jmp 0x10051946