Function at 0x10053aa1
Capabilities:
Delete file
Move file

Disassembly:
push 0x418
mov eax, 0x101d6d16
call fcn.10099872
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
and dword [ebp - 0x2a8], 0
cmp dword [0x10269fe8], 0
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x350], esi
mov dword [ebp - 0x280], eax
mov edi, str.OnItemSend
mov ebx, 0x10269f7c
je 0x10053b1a
push str.DecryptOrEncrypt_MailAttach_To_Temp_r_n
push edi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x394]
call fcn.1003d08f
and dword [ebp - 4], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x35c]
call fcn.10011739
mov byte [ebp - 4], 1
mov eax, dword [0x10211078]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 2
call fcn.100e8470
push eax
lea eax, [ebp - 0x2b4]
push str._sOcularTSafeDocoutlookmail
push eax
call fcn.100d1ed0
add esp, 0xc
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.100ce550
mov byte [ebp - 4], 3
and dword [ebp - 0x2a4], 0
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x27c], 0x80004005
cmp eax, 1
jne 0x10053b9d
mov eax, dword [esi + 4]
jmp 0x10053ba5
cmp eax, 2
jne 0x10053bb8
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x2a4]
push edx
push eax
call dword [ecx + 0x30]
mov dword [ebp - 0x27c], eax
cmp dword [esi + 0x10], 1
jne 0x10053bd1
mov esi, dword [esi + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x314]
push ecx
push esi
call dword [eax + 0x1f4]
cmp dword [0x10269fe8], 0
je 0x10053bf7
push dword [ebp - 0x314]
push dword [ebp - 0x27c]
push str.CAddin::OnItemSend_3___lx____d_
push edi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x18
cmp dword [ebp - 0x27c], 0
jge 0x10053c55
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a4]
call fcn.10041a95
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2dc]
call fcn.100cef50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.100cef50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x35c]
call fcn.10011765
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x394]
call fcn.1003d16b
xor eax, eax
call fcn.100998f5
ret 0x2c
lea ecx, [ebp - 0x424]
call fcn.10030b8a
mov byte [ebp - 4], 6
lea eax, [ebp - 0x424]
push eax
push dword [ebp + 0x10]
call fcn.10033abb
pop ecx
xor esi, esi
pop ecx
test eax, eax
jne 0x10053cdc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x424]
call fcn.100308e4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a4]
call fcn.10041a95
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2dc]
call fcn.100cef50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.100cef50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x35c]
call fcn.10011765
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x394]
call fcn.1003d16b
mov eax, esi
jmp 0x10053c4d
cmp dword [0x10269fe8], esi
je 0x10053cf5
push str.CAddin::OnItemSend_5
push edi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax]
lea edx, [ebp - 0x2b0]
push edx
push eax
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x278]
call fcn.1002b07a
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x280]
cmp ecx, esi
je 0x1005416b
cmp dword [ebp + 0x18], esi
je 0x1005416b
lea eax, [ebp - 0x278]
push eax
call fcn.1002b058
cmp dword [0x10269fe8], esi
je 0x10053d65
lea ecx, [ebp - 0x22c]
call fcn.100056e5
push eax
push dword [ebp - 0x2b0]
push str.get_attachment_object_count_1___d___d_
push edi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x18
and dword [ebp - 0x298], 0
xor esi, esi
inc esi
push esi
call fcn.10004251
pop ecx
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 0x298], eax
call fcn.10030b8a
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3dc]
push eax
push dword [ebp + 0x10]
call fcn.10033abb
pop ecx
pop ecx
test eax, eax
jne 0x10053dbd
cmp dword [0x10269fe8], eax
je 0x10053dde
push str.CMailSCIHandle::Run__no_apply_Policy
push str.MailSCI
push 3
push ebx
call fcn.10025270
add esp, 0x10
cmp dword [0x10269fe8], 0
je 0x10053dde
push esi
push dword [ebp - 0x2b0]
push str.get_attachment_object_count_2___d___d_
push edi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x18
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2c8], esi
call fcn.10028376
mov byte [ebp - 4], 9
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x378], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x374], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x27c]
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x360], eax
call fcn.100d4870
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c4]
call fcn.100dc390
mov byte [ebp - 4], 0xb
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebp - 0x2d8]
call fcn.100d48e0
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c4]
call fcn.100dc3b0
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x378]
push eax
push 0x10032de4
call fcn.1002c077
cmp dword [ebp - 0x2c0], edi
jle 0x10053ef3
mov eax, dword [ebp - 0x2c4]
mov esi, dword [eax + edi*4]
lea ecx, [ebp - 0x22c]
call fcn.100056e5
cmp esi, eax
jae 0x10053eea
push esi
lea ecx, [ebp - 0x22c]
call fcn.100056fd
mov ecx, dword [ebp - 0x29c]
add eax, 0x14
push eax
call fcn.10005773
inc edi
cmp edi, dword [ebp - 0x2c0]
jl 0x10053eb7
lea ecx, [ebp - 0x304]
call fcn.100d4870
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x338]
call fcn.100d4870
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2f0]
call fcn.100dc390
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x304]
push eax
push 0
call fcn.1002c808
test eax, eax
je 0x10053fc3
mov eax, dword [ebp - 0x2ec]
cmp dword [ebp - 0x300], eax
jne 0x10053fc3
xor esi, esi
test eax, eax
jle 0x10053fc3
xor eax, eax
cmp dword [ebp - 0x2c0], eax
jle 0x10053f85
mov ecx, dword [ebp - 0x2f0]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ebp - 0x2c4]
cmp ecx, dword [edx + eax*4]
je 0x1005414e
inc eax
cmp eax, dword [ebp - 0x2c0]
jl 0x10053f6d
mov eax, dword [ebp - 0x304]
lea eax, [eax + esi*4]
push eax
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2d8]
call fcn.100d4e80
mov eax, dword [ebp - 0x2f0]
push dword [eax + esi*4]
lea ecx, [ebp - 0x2c4]
push dword [ebp - 0x2c0]
call fcn.100dc5d0
inc esi
cmp esi, dword [ebp - 0x2ec]
jl 0x10053f5a
mov eax, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2d4], eax
jne 0x100540ac
xor edi, edi
test eax, eax
jle 0x100540ac
mov eax, dword [ebp - 0x2c4]
mov esi, dword [eax + edi*4]
lea ecx, [ebp - 0x22c]
call fcn.100056e5
cmp esi, eax
jae 0x1005409f
push esi
lea ecx, [ebp - 0x22c]
call fcn.100056fd
mov esi, eax
mov eax, dword [ebp - 0x2d8]
lea eax, [eax + edi*4]
push eax
lea ecx, [ebp - 0x29c]
call fcn.100ce550
mov byte [ebp - 4], 0xf
push edi
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.1000bc42
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x30c]
push eax
call fcn.10005773
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x280]
call fcn.100cef50
mov ecx, dword [ebp - 0x308]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x29c]
push edx
push eax
call fcn.100d4e80
mov ecx, dword [ebp - 0x2f4]
lea eax, [esi + 0x14]
push eax
call fcn.10005773
push dword [esi]
mov ecx, dword [ebp - 0x2e0]
call fcn.100119f0
mov dword [ebp - 0x2a8], 1
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x29c]
call fcn.100cef50
inc edi
cmp edi, dword [ebp - 0x2c0]
jl 0x10053fdf
cmp dword [0x10269fe8], 0
je 0x100540e0
mov eax, dword [ebp - 0x2e0]
mov esi, dword [eax + 4]
lea ecx, [ebp - 0x22c]
call fcn.100056e5
push eax
push esi
push str.get_attachment_object_count____d___d_
push str.OnItemSend
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x18
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2f0]
call fcn.100dc3a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x338]
call fcn.100d4880
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x304]
call fcn.100d4880
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c4]
call fcn.100dc3a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2d8]
call fcn.100d4880
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x27c]
call fcn.100cef50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3dc]
call fcn.100308e4
jmp 0x100549c0
mov ecx, dword [ebp - 0x304]
lea ecx, [ecx + esi*4]
push ecx
mov ecx, dword [ebp - 0x2d8]
lea ecx, [ecx + eax*4]
call fcn.100cf0e0
jmp 0x10053fba
mov ecx, dword [ebp - 0x2b0]
xor eax, eax
inc eax
inc ecx
cmp ecx, eax
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x294], eax
jle 0x100549c0
and dword [ebp - 0x288], 0
mov byte [ebp - 4], 0x12
push 3
pop eax
mov word [ebp - 0x338], ax
xor eax, eax
inc eax
mov word [ebp - 0x336], ax
xor eax, eax
lea edi, [ebp - 0x334]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x294]
lea edx, [ebp - 0x288]
push edx
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x338]
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 0x10054998
xor esi, esi
cmp dword [0x10269fe8], esi
je 0x10054209
push eax
push str.get_attachment_object_succeed___d
push str.OnItemSend
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x14
mov dword [ebp - 0x284], esi
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
lea edx, [ebp - 0x284]
push edx
push eax
call dword [ecx + 0x34]
mov edi, eax
cmp edi, esi
jl 0x10054988
push dword [ebp - 0x284]
lea ecx, [ebp - 0x290]
call fcn.100ce7b0
mov byte [ebp - 4], 0x14
push dword [ebp - 0x284]
lea ecx, [ebp - 0x2a0]
call fcn.100ce7b0
mov byte [ebp - 4], 0x15
cmp dword [0x10269fe8], esi
je 0x1005427e
push edi
push dword [ebp - 0x2a0]
push str.get_attachment_name__s__succeed__d
push str.OnItemSend
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x18
cmp dword [ebp + 0x18], esi
je 0x10054404
push dword [ebp + 0x10]
push dword [ebp - 0x290]
call fcn.100340cc
pop ecx
pop ecx
test eax, eax
je 0x1005496a
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.10099920
add esp, 0xc
push dword [ebp - 0x284]
lea ecx, [ebp - 0x310]
call fcn.100ce7b0
mov byte [ebp - 4], 0x17
push dword [eax]
mov esi, 0x103
push dword [ebp - 0x294]
lea eax, [ebp - 0x218]
push dword [ebp - 0x2dc]
push str._s_d_s
push esi
push eax
call fcn.1009fb9e
add esp, 0x18
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x310]
call fcn.100cef50
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x28c]
call fcn.100ce7b0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28c]
call fcn.100d0280
call fcn.100f5090
test eax, eax
je 0x1005434a
push str.SysWOW64
push str.system32
lea ecx, [ebp - 0x28c]
call fcn.100d0e90
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.10099920
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x31c]
call fcn.100ce550
mov byte [ebp - 4], 0x19
push dword [eax]
lea eax, [ebp - 0x218]
push 0x101e7ef8
push esi
push eax
call fcn.1009fb9e
add esp, 0x10
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x31c]
call fcn.100cef50
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
cmp dword [0x10269fe8], ebx
je 0x100544c2
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x324]
call fcn.100ce550
mov byte [ebp - 4], 0x1a
push dword [eax]
mov esi, str.OnItemSend
push edi
push str.attachment_save_as__0x__s
push esi
push 0xffffffffffffffff
mov ebx, 0x10269f7c
push ebx
call fcn.10025270
add esp, 0x18
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x324]
call fcn.100cef50
jmp 0x100544cc
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 4]
cmp eax, esi
je 0x1005429f
jle 0x1005447b
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x354]
call fcn.100ce550
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx - 8]
mov ecx, dword [ebp - 0x29c]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea ecx, [ecx + esi*4]
mov ecx, dword [ecx]
push edx
push ecx
push eax
call fcn.1009ac03
add esp, 0xc
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x354]
call fcn.100cef50
test bl, bl
jne 0x1005429f
mov eax, dword [ebp - 0x29c]
inc esi
cmp esi, dword [eax + 4]
jl 0x10054417
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.100cef50
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x290]
call fcn.100cef50
mov byte [ebp - 4], 0x12
push dword [ebp - 0x284]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x288]
call fcn.10041aba
mov ebx, 0x10269f7c
jmp 0x100549a7
mov ebx, 0x10269f7c
mov esi, str.OnItemSend
test edi, edi
jge 0x100545a3
cmp dword [ebp - 0x2c8], 0
jne 0x1005459b
cmp dword [0x10269fe8], 0
je 0x100544fb
push str.attachment____save_mail_and_try_again
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
mov eax, dword [ebp - 0x350]
mov ecx, dword [eax + 0x10]
xor edx, edx
inc edx
mov dword [ebp - 0x2c8], edx
cmp ecx, edx
jne 0x10054516
mov eax, dword [eax + 4]
jmp 0x1005451e
cmp ecx, 2
jne 0x10054529
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd8]
mov edi, eax
cmp dword [0x10269fe8], 0
je 0x10054544
push edi
push str.attachment____save__0x
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x14
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0x54]
cmp dword [0x10269fe8], 0
mov edi, eax
je 0x1005459b
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x344]
call fcn.100ce550
mov byte [ebp - 4], 0x1b
push dword [eax]
push edi
push str.attachment____save_as__0x__s
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x18
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x344]
call fcn.100cef50
test edi, edi
jl 0x1005495b
cmp dword [0x10269fe8], 0
je 0x100545be
push edi
push str.attachment_save_as_succeed__d
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x14
lea ecx, [ebp - 0x2f0]
call fcn.10027f02
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x304]
call fcn.10027f02
mov byte [ebp - 4], 0x1d
and dword [ebp - 0x298], 0
lea ecx, [ebp - 0x2d4]
call fcn.1002da95
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x294]
push dword [ebp - 0x284]
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2d4], eax
call fcn.100ce7b0
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x2cc]
call fcn.100cf0e0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x318]
call fcn.100cef50
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.100cf0e0
cmp dword [0x10269fe8], 0
je 0x100546aa
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x320]
call fcn.100ce550
mov edi, eax
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x348]
call fcn.100ce550
mov byte [ebp - 4], 0x21
push dword [edi]
push dword [eax]
push str.decryptMailDoc_szOrigName__s__szAttachment__s_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x18
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x348]
call fcn.100cef50
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x320]
call fcn.100cef50
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.1002eccf
cmp dword [ebp + 0x18], 0
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x304]
je 0x100546ea
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.100343a6
add esp, 0x18
jmp 0x10054700
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.10034d2c
add esp, 0x14
cmp dword [0x10269fe8], 0
mov edi, eax
je 0x10054726
push dword [ebp + 0x18]
push dword [ebp - 0x298]
push edi
push str.decryptMailDoc__d_bDecrypt__d___d_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x1c
push 0
lea ecx, [ebp - 0x304]
call fcn.100294b5
push eax
lea ecx, [ebp - 0x2c0]
call fcn.10040b60
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x27c]
call fcn.100ce550
mov byte [ebp - 4], 0x23
test edi, edi
je 0x10054903
cmp dword [ebp - 0x298], 0
je 0x10054903
push 0x5c
lea ecx, [ebp - 0x27c]
call fcn.100d0100
inc eax
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x27c]
call fcn.100d1690
mov byte [ebp - 4], 0x24
mov eax, dword [0x10211078]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0x25
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x280]
push dword [ebp - 0x294]
push dword [ebp - 0x2ac]
push 0x101fe60c
push eax
call fcn.100d1ed0
add esp, 0x14
cmp dword [0x10269fe8], 0
je 0x10054809
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x34c]
call fcn.100ce550
mov byte [ebp - 4], 0x26
push dword [eax]
push str.MoveFile1_OrigName__s_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x14
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x34c]
call fcn.100cef50
xor edi, edi
inc edi
push edi
push dword [ebp - 0x280]
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x10269fe8], 0
je 0x1005483a
push eax
push str.MoveFile_2___lu_
push esi
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x328]
call fcn.100ce7b0
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x30c]
push eax
call fcn.10005773
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x328]
call fcn.100cef50
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x340]
call fcn.100ce550
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x308]
push eax
call fcn.10005773
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x340]
call fcn.100cef50
push dword [ebp - 0x284]
lea ecx, [ebp - 0x33c]
call fcn.100ce7b0
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp - 0x2f4]
push eax
call fcn.10005773
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x33c]
call fcn.100cef50
push dword [ebp - 0x294]
mov ecx, dword [ebp - 0x2e0]
call fcn.100119f0
mov dword [ebp - 0x2a8], edi
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x280]
call fcn.100cef50
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2ac]
call fcn.100cef50
jmp 0x10054910
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x27c]
call fcn.100cef50
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x2c0]
call fcn.10027fa8
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2d4]
call fcn.10027fa8
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x304]
call fcn.1002a131
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2f0]
call fcn.1002a131
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28c]
call fcn.100cef50
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.100cef50
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x290]
call fcn.100cef50
mov byte [ebp - 4], 0x12
push dword [ebp - 0x284]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x288]
call fcn.10041aba
inc dword [ebp - 0x294]
mov eax, dword [ebp - 0x2b0]
inc eax
cmp dword [ebp - 0x294], eax
jl 0x10054189
cmp dword [0x10269fe8], 0
je 0x100549e4
push dword [ebp - 0x2a8]
push str.DecryptOrEncrypteMailAttachToTemp_bNeedRebuild__d_
push str.OnItemSend
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x278]
call fcn.1002b104
mov esi, dword [ebp - 0x2a8]
jmp 0x10053c7b