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

Disassembly:
push 0x400
mov eax, 0x101c8de6
call fcn.10093213
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
and dword [ebp - 0x29c], 0
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp + 0x28]
push str.DecryptOrEncrypt_MailAttach_To_Temp_r_n
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp + 0x2c]
mov esi, str.OnItemSend
push esi
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp + 0x30]
push 0xffffffffffffffff
mov ebx, 0x10258cdc
push ebx
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x284], eax
call fcn.10023e40
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x37c]
call fcn.10039609
and dword [ebp - 4], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x340]
call fcn.100104a4
mov byte [ebp - 4], 1
mov eax, dword [0x10200e98]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 2
call fcn.100df440
push eax
lea eax, [ebp - 0x2ac]
push str._sOcularTSafeDocoutlookmail
push eax
call fcn.100cb860
add esp, 0xc
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.100c7ee0
mov byte [ebp - 4], 3
and dword [ebp - 0x298], 0
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x278], 0x80004005
cmp eax, 1
jne 0x1004df4a
mov eax, dword [edi + 4]
jmp 0x1004df52
cmp eax, 2
jne 0x1004df65
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x298]
push edx
push eax
call dword [ecx + 0x30]
mov dword [ebp - 0x278], eax
cmp dword [edi + 0x10], 1
jne 0x1004df7e
mov edi, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x30c]
push ecx
push edi
call dword [eax + 0x1f4]
push dword [ebp - 0x30c]
push dword [ebp - 0x278]
push str.CAddin::OnItemSend_3___lx____d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
xor edi, edi
add esp, 0x18
cmp dword [ebp - 0x278], edi
jge 0x1004dffa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.1003de0a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
call fcn.100c88e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
call fcn.100c88e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x340]
call fcn.100104d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x37c]
call fcn.100396e5
xor eax, eax
call fcn.10093296
ret 0x2c
lea ecx, [ebp - 0x40c]
call fcn.1002dd16
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 0x10]
call fcn.100305bd
pop ecx
pop ecx
test eax, eax
jne 0x1004e081
xor esi, esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40c]
call fcn.1002da80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.1003de0a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
call fcn.100c88e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
call fcn.100c88e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x340]
call fcn.100104d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x37c]
call fcn.100396e5
mov eax, esi
jmp 0x1004dff2
push str.CAddin::OnItemSend_5
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [ebp - 0x2a4]
push edx
push eax
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x270]
call fcn.10028b18
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x284]
cmp ecx, edi
je 0x1004e37b
cmp dword [ebp + 0x18], edi
je 0x1004e37b
lea eax, [ebp - 0x270]
push eax
call fcn.10028af6
lea ecx, [ebp - 0x22c]
call fcn.10004f3d
push eax
push dword [ebp - 0x2a4]
push str.get_attachment_object_count_1___d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
mov dword [ebp - 0x290], edi
xor edi, edi
inc edi
push edi
call fcn.10003aa9
add esp, 0x1c
lea ecx, [ebp - 0x3c4]
mov dword [ebp - 0x290], eax
call fcn.1002dd16
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3c4]
push eax
push dword [ebp + 0x10]
call fcn.100305bd
pop ecx
pop ecx
test eax, eax
jne 0x1004e148
push str.CMailSCIHandle::Run__no_apply_Policy
push str.MailSCI
push 3
push ebx
call fcn.10023e40
add esp, 0x10
push edi
push dword [ebp - 0x2a4]
push str.get_attachment_object_count_2___d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x330], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x32c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x290]
add esp, 0x18
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2b4], edi
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x31c], eax
call fcn.100ce200
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2e4]
call fcn.100d4570
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebp - 0x2d0]
call fcn.100ce270
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2e4]
call fcn.100d4590
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x330]
push eax
push 0x1002fbc8
call fcn.1002a139
mov eax, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], eax
jne 0x1004e322
cmp eax, edi
mov dword [ebp - 0x274], edi
jle 0x1004e322
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x274]
mov edi, dword [eax + ecx*4]
lea ecx, [ebp - 0x22c]
call fcn.10004f3d
cmp edi, eax
jae 0x1004e30a
push edi
lea ecx, [ebp - 0x22c]
call fcn.10004f55
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x2d0]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x278]
call fcn.100c7ee0
mov byte [ebp - 4], 0xb
push dword [ebp - 0x274]
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.1000aff3
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2e8]
push eax
call fcn.1000b02a
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x284]
call fcn.100c88e0
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x278]
push edx
push eax
call fcn.100ce810
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2c0]
add eax, 0x14
push eax
call fcn.1000b02a
mov ecx, dword [ebp - 0x2bc]
inc edi
push edi
call fcn.10010765
mov dword [ebp - 0x29c], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x278]
call fcn.100c88e0
inc dword [ebp - 0x274]
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x2e0]
jl 0x1004e22f
mov eax, dword [ebp - 0x2bc]
mov edi, dword [eax + 4]
lea ecx, [ebp - 0x22c]
call fcn.10004f3d
push eax
push edi
push str.get_attachment_object_count____d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2e4]
call fcn.100d4580
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2d0]
call fcn.100ce210
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c4]
call fcn.1002da80
jmp 0x1004eb29
mov ecx, dword [ebp - 0x2a4]
xor eax, eax
inc eax
inc ecx
cmp ecx, eax
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x274], eax
jle 0x1004eb29
and dword [ebp - 0x280], 0
mov byte [ebp - 4], 0xe
push 3
pop eax
mov word [ebp - 0x328], ax
xor eax, eax
inc eax
mov word [ebp - 0x326], ax
xor eax, eax
lea edi, [ebp - 0x324]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x280]
push edx
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x328]
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 0x1004eafc
push eax
push str.get_attachment_object_succeed___d
mov esi, str.OnItemSend
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
and dword [ebp - 0x27c], 0
add esp, 0x14
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax]
lea edx, [ebp - 0x27c]
push edx
push eax
call dword [ecx + 0x34]
mov edi, eax
test edi, edi
jl 0x1004eaec
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x28c]
call fcn.100c8140
mov byte [ebp - 4], 0x10
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x2a0]
call fcn.100c8140
mov byte [ebp - 4], 0x11
push edi
push dword [ebp - 0x2a0]
push str.get_attachment_name__s__succeed__d
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
xor edi, edi
add esp, 0x18
cmp dword [ebp + 0x18], edi
je 0x1004e62e
push dword [ebp + 0x10]
push dword [ebp - 0x28c]
call fcn.10030b50
pop ecx
pop ecx
test eax, eax
je 0x1004eace
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.100932c0
add esp, 0xc
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x314]
call fcn.100c8140
mov byte [ebp - 4], 0x13
push dword [eax]
mov edi, 0x103
push dword [ebp - 0x274]
lea eax, [ebp - 0x218]
push dword [ebp - 0x2b8]
push str._s_d_s
push edi
push eax
call fcn.1009953e
add esp, 0x18
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x314]
call fcn.100c88e0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x288]
call fcn.100c8140
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x288]
call fcn.100c9c10
call fcn.100eb920
test eax, eax
je 0x1004e546
push str.SysWOW64
push str.system32
lea ecx, [ebp - 0x288]
call fcn.100ca820
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100932c0
add esp, 0xc
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x338]
call fcn.100c7ee0
mov byte [ebp - 4], 0x15
push dword [eax]
lea eax, [ebp - 0x218]
push 0x101d9dd4
push edi
push eax
call fcn.1009953e
add esp, 0x10
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x338]
call fcn.100c88e0
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x318]
call fcn.100c7ee0
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.10023e40
add esp, 0x18
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x318]
call fcn.100c88e0
test edi, edi
jge 0x1004e734
cmp dword [ebp - 0x2a8], 0
jne 0x1004e72c
push str.attachment____save_mail_and_try_again
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
mov eax, dword [ebp - 0x304]
mov ecx, dword [eax + 0x10]
xor edx, edx
inc edx
add esp, 0x10
mov dword [ebp - 0x2a8], edx
cmp ecx, edx
jne 0x1004e6b9
mov eax, dword [eax + 4]
jmp 0x1004e6c1
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x1004e49d
test eax, eax
jle 0x1004eace
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.100c7ee0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x28c]
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.100944b3
add esp, 0xc
neg eax
sbb al, al
inc al
mov byte [ebp - 0x291], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2ec]
call fcn.100c88e0
cmp byte [ebp - 0x291], 0
jne 0x1004e49d
mov eax, dword [ebp - 0x2b0]
inc edi
cmp edi, dword [eax + 4]
jl 0x1004e647
jmp 0x1004eace
cmp ecx, 2
jne 0x1004e6cc
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.10023e40
mov eax, dword [ebp - 0x280]
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 - 0x288]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.100c7ee0
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.10023e40
add esp, 0x18
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2f8]
call fcn.100c88e0
test edi, edi
jl 0x1004eabf
push edi
push str.attachment_save_as_succeed__d
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
add esp, 0x14
lea ecx, [ebp - 0x360]
call fcn.1002670f
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x350]
call fcn.1002670f
mov byte [ebp - 4], 0x19
and dword [ebp - 0x290], 0
lea ecx, [ebp - 0x2cc]
call fcn.1002adaa
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x274]
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2cc], eax
call fcn.100c8140
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x2c4]
call fcn.100c8a70
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x310]
call fcn.100c88e0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.100c8a70
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x334]
call fcn.100c7ee0
mov edi, eax
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x300]
call fcn.100c7ee0
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.10023e40
add esp, 0x18
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x300]
call fcn.100c88e0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x334]
call fcn.100c88e0
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x360]
call fcn.1002bf98
cmp dword [ebp + 0x18], 0
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x350]
je 0x1004e869
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.10030df8
add esp, 0x18
jmp 0x1004e87f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.10031652
add esp, 0x14
push dword [ebp + 0x18]
mov edi, eax
push dword [ebp - 0x290]
push edi
push str.decryptMailDoc__d_bDecrypt__d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
add esp, 0x1c
push 0
lea ecx, [ebp - 0x350]
call fcn.1002782d
push eax
lea ecx, [ebp - 0x2e0]
call fcn.1003cff9
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x278]
call fcn.100c7ee0
mov byte [ebp - 4], 0x1f
test edi, edi
je 0x1004ea67
cmp dword [ebp - 0x290], 0
je 0x1004ea67
push 0x5c
lea ecx, [ebp - 0x278]
call fcn.100c9a90
inc eax
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x278]
call fcn.100cb020
mov byte [ebp - 4], 0x20
mov eax, dword [0x10200e98]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0x21
push dword [ebp - 0x2d8]
lea eax, [ebp - 0x284]
push dword [ebp - 0x274]
push dword [ebp - 0x2b4]
push 0x101ee594
push eax
call fcn.100cb860
add esp, 0x14
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x308]
call fcn.100c7ee0
mov byte [ebp - 4], 0x22
push dword [eax]
push str.MoveFile1_OrigName__s_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
add esp, 0x14
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x308]
call fcn.100c88e0
xor edi, edi
inc edi
push edi
push dword [ebp - 0x284]
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
push str.MoveFile_2___lu_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.100c8140
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x2e8]
push eax
call fcn.1000b02a
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2f0]
call fcn.100c88e0
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.100c7ee0
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x2d4]
push eax
call fcn.1000b02a
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2f4]
call fcn.100c88e0
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x2fc]
call fcn.100c8140
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x2c0]
push eax
call fcn.1000b02a
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2fc]
call fcn.100c88e0
push dword [ebp - 0x274]
mov ecx, dword [ebp - 0x2bc]
call fcn.10010765
mov dword [ebp - 0x29c], edi
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x284]
call fcn.100c88e0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2b4]
call fcn.100c88e0
jmp 0x1004ea74
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x278]
call fcn.100c88e0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2e0]
call fcn.100267a9
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2cc]
call fcn.100267a9
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x350]
call fcn.10027daa
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x360]
call fcn.10027daa
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x288]
call fcn.100c88e0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2a0]
call fcn.100c88e0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28c]
call fcn.100c88e0
mov byte [ebp - 4], 0xe
push dword [ebp - 0x27c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x280]
call fcn.1003de2f
inc dword [ebp - 0x274]
mov eax, dword [ebp - 0x2a4]
inc eax
cmp dword [ebp - 0x274], eax
jl 0x1004e399
mov esi, str.OnItemSend
cmp dword [ebp + 0x18], 0
je 0x1004eb40
push dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2b0]
call fcn.100ce590
push dword [ebp - 0x29c]
push str.DecryptOrEncrypteMailAttachToTemp_bNeedRebuild__d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10023e40
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x270]
call fcn.10028ba2
mov esi, dword [ebp - 0x29c]
jmp 0x1004e020