Function at 0x10026e25
Capabilities:
Copy file

Disassembly:
push 0xa14
mov eax, 0x101ce0a7
call fcn.10096f9a
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push str.CMailControlHelper::LogMail__________08x_
push str.maillog
push 0xffffffffffffffff
mov edi, 0x10265fbc
push edi
mov dword [ebp - 0x954], eax
call fcn.10024fa4
and dword [ebp - 0x968], 0
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10097040
xor eax, eax
push esi
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10097040
xor eax, eax
push esi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.10097040
xor eax, eax
push esi
mov word [ebp - 0x830], ax
xor esi, esi
lea eax, [ebp - 0x82e]
push esi
push eax
call fcn.10097040
add esp, 0x44
cmp dword [ebx], esi
je 0x100276ee
lea ecx, [ebp - 0x890]
call fcn.1002a731
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x954]
lea eax, [ebp - 0x890]
push eax
call fcn.1002a70f
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x95c]
push eax
call fcn.100e03d0
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x844]
call fcn.100056e5
test eax, eax
jne 0x10026f1e
and dword [ebx + 0x10], 0xfffffffe
mov dword [ebx + 8], esi
push 2
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x95c]
call fcn.10026a5a
add esp, 0x10
test eax, eax
je 0x100276bb
push 5
push 0x104
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x95c]
call fcn.10026a5a
add esp, 0x10
test eax, eax
je 0x100276bb
push 4
push 0x104
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x95c]
call fcn.10026a5a
add esp, 0x10
test eax, eax
je 0x100276bb
push 3
push 0x104
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0x95c]
call fcn.10026a5a
add esp, 0x10
test eax, eax
je 0x100276bb
mov ecx, dword [ebp - 0x954]
lea eax, [ebp - 0x954]
push eax
call fcn.10027a9e
mov byte [ebp - 4], 2
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb al, al
inc al
mov byte [ebp - 0x961], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x954]
call fcn.100cc680
cmp byte [ebp - 0x961], 0
je 0x10027003
push str.CMailControlHelper::LogMail_failed_2
jmp 0x100276c0
lea ecx, [ebp - 0x844]
call fcn.100056e5
push eax
push dword [ebx + 0x10]
push dword [ebx + 4]
push dword [ebx]
push str.CMailControlHelper::LogMail_1___lu____lu____08x____lu_
push str.maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
add esp, 0x20
push 0x101e3ae4
lea ecx, [ebp - 0x960]
call fcn.100cbee0
mov byte [ebp - 4], 3
cmp dword [ebx + 0xc], esi
je 0x10027083
push dword [ebp - 0x84c]
lea eax, [ebp - 0x960]
push 0x101ea8f8
push eax
call fcn.100cf610
push str.CMailControlHelper::LogMail__not_log_Body__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
push dword [ebp - 0x960]
lea eax, [ebp - 0x218]
push eax
call fcn.10026d59
add esp, 0x24
lea ecx, [ebp - 0xa20]
call fcn.10198c10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa20]
call fcn.10199070
test eax, eax
jne 0x100270e0
push str.CMailControlHelper::LogMail_failed_3
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa20]
call fcn.10198d30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x960]
call fcn.100cc680
jmp 0x100276d0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa20]
call fcn.1019a960
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa20]
call fcn.10198d30
cmp dword [ebx + 8], esi
je 0x10027190
push str.CMailControlHelper::LogMail__not_log_attach__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x958]
call fcn.100cbee0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x954]
call fcn.100cbee0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x958]
cmp dword [eax - 8], esi
je 0x10027432
mov ecx, dword [ebp - 0x954]
cmp dword [ecx - 8], esi
je 0x10027432
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x954]
call fcn.100cc680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x958]
call fcn.100cc680
lea ecx, [ebp - 0x844]
call fcn.100056e5
push eax
push dword [ebp - 0x850]
push dword [ebp - 0x854]
push dword [ebp - 0x858]
push dword [ebp - 0x85c]
push dword [ebp - 0x860]
push dword [ebp - 0x870]
push str.CMailControlHelper::LogMail_2___08x___s____s___s___s___s____08x_
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
push 0xbc
lea eax, [ebp - 0x94c]
push esi
push eax
mov dword [ebp - 0x950], esi
call fcn.10097040
push 0x10
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x8d0]
push eax
call fcn.100970c0
mov eax, dword [ebp - 0x870]
mov dword [ebp - 0x8c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8bc], eax
lea eax, [ebp - 0x8f8]
add esp, 0x44
push eax
call fcn.1000a45e
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x8e8], eax
push 0x27
lea eax, [ebx + 0x18]
push eax
lea eax, [ebp - 0x948]
push eax
call fcn.100975dc
mov eax, dword [ebx + 0x68]
add esp, 0x10
push esi
push esi
mov dword [ebp - 0x950], eax
push esi
lea eax, [ebp - 0x8e0]
push eax
mov ecx, 0x1025df78
call fcn.1001e57a
mov eax, dword [ebp - 0x860]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10027271
mov dword [ebp - 0x8b8], eax
mov eax, dword [ebp - 0x85c]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10027284
mov dword [ebp - 0x8b4], eax
mov eax, dword [ebp - 0x858]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10027297
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x854]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x100272aa
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp - 0x850]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x100272bd
mov dword [ebp - 0x8a8], eax
push esi
lea eax, [ebp - 0x970]
push eax
lea eax, [ebp - 0x420]
push esi
push eax
mov dword [ebp - 0x970], esi
mov dword [ebp - 0x974], esi
call fcn.10008c5a
push esi
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10008c5a
mov eax, dword [ebp - 0x960]
add esp, 0x20
cmp dword [ebx + 0xc], esi
jne 0x10027307
mov eax, dword [ebp - 0x84c]
mov eax, dword [eax - 8]
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x970]
mov dword [ebp - 0x8a0], eax
mov eax, dword [ebp - 0x974]
mov dword [ebp - 0x89c], eax
mov eax, dword [0x1020db10]
mov dword [ebp - 0x954], esi
mov dword [ebp - 0x96c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x958], esi
call fcn.100056e5
test eax, eax
jle 0x100273c0
push dword [ebp - 0x958]
lea ecx, [ebp - 0x844]
call fcn.10006ccc
mov eax, dword [eax + 8]
add dword [ebp - 0x954], eax
mov eax, dword [ebp - 0x96c]
cmp dword [eax - 8], esi
jle 0x10027387
push 0x101e3ae8
lea ecx, [ebp - 0x96c]
call fcn.100cd2d0
push dword [ebp - 0x958]
lea ecx, [ebp - 0x844]
call fcn.10006ccc
add eax, 0x14
push eax
lea ecx, [ebp - 0x96c]
call fcn.100cd330
inc dword [ebp - 0x958]
lea ecx, [ebp - 0x844]
call fcn.100056e5
cmp dword [ebp - 0x958], eax
jl 0x10027352
mov eax, dword [ebp - 0x954]
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x898], eax
call fcn.100056e5
mov dword [ebp - 0x894], eax
cmp eax, esi
jne 0x100273f1
cmp dword [ebp + 0x10], 2
jne 0x100273f1
mov dword [ebp - 0x894], 1
lea ecx, [ebp - 0x950]
call fcn.10026a2e
lea ecx, [ebp - 0x950]
sub eax, ecx
push eax
call fcn.100639c2
mov esi, eax
pop ecx
test esi, esi
jne 0x1002746a
push str.CMailControlHelper::LogMail_new_BYTE_10__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x96c]
jmp 0x10027460
push str.CMailControlHelper::LogMail_failed_60__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x954]
call fcn.100cc680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x958]
call fcn.100cc680
jmp 0x100270cc
lea ecx, [ebp - 0x950]
call fcn.10026a2e
lea ecx, [ebp - 0x950]
sub eax, ecx
push eax
push 0
push esi
mov dword [ebp - 0x968], eax
call fcn.10097040
push 0xc0
lea eax, [ebp - 0x950]
push eax
push esi
call fcn.100970c0
add esp, 0x18
cmp dword [ebp - 0x8b8], 0
je 0x100274c5
push dword [ebp - 0x8b8]
lea eax, [esi + 0xc0]
push dword [ebp - 0x860]
push eax
call fcn.100975dc
add esp, 0xc
cmp dword [ebp - 0x8b4], 0
je 0x100274f0
push dword [ebp - 0x8b4]
mov eax, dword [esi + 0x98]
push dword [ebp - 0x85c]
lea eax, [esi + eax*2 + 0xc2]
push eax
call fcn.100975dc
add esp, 0xc
cmp dword [ebp - 0x8b0], 0
je 0x10027521
push dword [ebp - 0x8b0]
mov eax, dword [esi + 0x9c]
add eax, dword [esi + 0x98]
push dword [ebp - 0x858]
lea eax, [esi + eax*2 + 0xc4]
push eax
call fcn.100975dc
add esp, 0xc
cmp dword [ebp - 0x8ac], 0
je 0x10027558
mov eax, dword [esi + 0xa0]
add eax, dword [esi + 0x9c]
push dword [ebp - 0x8ac]
add eax, dword [esi + 0x98]
push dword [ebp - 0x854]
lea eax, [esi + eax*2 + 0xc6]
push eax
call fcn.100975dc
add esp, 0xc
cmp dword [ebp - 0x8a8], 0
je 0x1002757d
push dword [ebp - 0x8a8]
mov ecx, esi
push dword [ebp - 0x850]
call fcn.100269fa
push eax
call fcn.100975dc
add esp, 0xc
mov ecx, esi
call fcn.100269fa
mov ecx, dword [esi + 0xa8]
and dword [ebp - 0x958], 0
lea eax, [eax + ecx*2 + 2]
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x954], eax
call fcn.100056e5
test eax, eax
jle 0x10027635
xor eax, eax
cmp dword [ebx + 8], eax
jne 0x100275c5
push eax
push eax
push dword [ebp - 0x954]
call fcn.1000bc79
add esp, 0xc
push dword [ebp - 0x958]
lea ecx, [ebp - 0x844]
call fcn.10006ccc
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x954]
push dword [ebp - 0x958]
mov dword [ecx + 0x10], eax
lea ecx, [ebp - 0x844]
call fcn.10006ccc
mov eax, dword [eax + 0x14]
push 0x103
push eax
mov eax, dword [ebp - 0x954]
add eax, 0x14
push eax
call fcn.100975dc
add dword [ebp - 0x954], 0x21c
add esp, 0xc
inc dword [ebp - 0x958]
lea ecx, [ebp - 0x844]
call fcn.100056e5
cmp dword [ebp - 0x958], eax
jl 0x100275ae
cmp dword [ebx + 0xc], 0
mov ecx, dword [ebp - 0x960]
jne 0x10027647
mov ecx, dword [ebp - 0x84c]
mov eax, dword [ecx - 8]
add eax, eax
push eax
push ecx
lea eax, [ebp - 0x628]
push eax
call fcn.1000a4a9
add esp, 0xc
push dword [ebp - 0x968]
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.1000a4a9
add esp, 0xc
mov dword [ebp - 0x968], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x96c]
call fcn.100cc680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x960]
call fcn.100cc680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x95c]
call fcn.100cc680
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.1002a7bb
jmp 0x10027728
push str.CMailControlHelper::LogMail_failed_1
push str.maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x95c]
call fcn.100cc680
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.1002a7bb
xor esi, esi
inc esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1000b000
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.1000b000
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.1000b000
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.1000b000
add esp, 0x20
push dword [ebp - 0x968]
push str.CMailControlHelper::LogMail_____d_
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10024fa4
mov eax, dword [ebp - 0x968]
add esp, 0x14
call fcn.1009701d
ret