Function at 0x10025cc1
Capabilities:
Copy file

Disassembly:
push 0xa0c
mov eax, 0x101c2ea3
call fcn.100931c2
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, 0x10258cdc
push edi
mov dword [ebp - 0x94c], eax
call fcn.10023e40
and dword [ebp - 0x960], 0
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10093270
xor eax, eax
push esi
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10093270
xor eax, eax
push esi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.10093270
xor eax, eax
push esi
mov word [ebp - 0x830], ax
xor esi, esi
lea eax, [ebp - 0x82e]
push esi
push eax
call fcn.10093270
add esp, 0x44
cmp dword [ebx], esi
je 0x1002658a
lea ecx, [ebp - 0x888]
call fcn.10028ad3
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x94c]
lea eax, [ebp - 0x888]
push eax
call fcn.10028ab1
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x954]
push eax
call fcn.100dae40
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x844]
call fcn.10004f3d
test eax, eax
jne 0x10025dba
and dword [ebx + 0x10], 0xfffffffe
mov dword [ebx + 8], esi
push 2
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x954]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026557
push 5
push 0x104
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x954]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026557
push 4
push 0x104
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x954]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026557
push 3
push 0x104
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0x954]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026557
mov ecx, dword [ebp - 0x94c]
lea eax, [ebp - 0x94c]
push eax
call fcn.100268f7
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 - 0x959], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94c]
call fcn.100c88b0
cmp byte [ebp - 0x959], 0
je 0x10025e9f
push str.CMailControlHelper::LogMail_failed_2
jmp 0x1002655c
lea ecx, [ebp - 0x844]
call fcn.10004f3d
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.10023e40
add esp, 0x20
push 0x101d9c6c
lea ecx, [ebp - 0x958]
call fcn.100c8110
mov byte [ebp - 4], 3
cmp dword [ebx + 0xc], esi
je 0x10025f1f
push dword [ebp - 0x84c]
lea eax, [ebp - 0x958]
push 0x101df4b0
push eax
call fcn.100cb830
push str.CMailControlHelper::LogMail__not_log_Body__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
push dword [ebp - 0x958]
lea eax, [ebp - 0x218]
push eax
call fcn.10025bf5
add esp, 0x24
lea ecx, [ebp - 0xa18]
call fcn.1018ac00
mov byte [ebp - 4], 4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa18]
call fcn.1018b060
test eax, eax
jne 0x10025f7c
push str.CMailControlHelper::LogMail_failed_3
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa18]
call fcn.1018ad20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x958]
call fcn.100c88b0
jmp 0x1002656c
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa18]
call fcn.1018c950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa18]
call fcn.1018ad20
cmp dword [ebx + 8], esi
je 0x1002602c
push str.CMailControlHelper::LogMail__not_log_attach__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x950]
call fcn.100c8110
mov byte [ebp - 4], 5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x94c]
call fcn.100c8110
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x950]
cmp dword [eax - 8], esi
je 0x100262ce
mov ecx, dword [ebp - 0x94c]
cmp dword [ecx - 8], esi
je 0x100262ce
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94c]
call fcn.100c88b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x950]
call fcn.100c88b0
lea ecx, [ebp - 0x844]
call fcn.10004f3d
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.10023e40
push 0xbc
lea eax, [ebp - 0x944]
push esi
push eax
mov dword [ebp - 0x948], esi
call fcn.10093270
push 0x10
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x8c8]
push eax
call fcn.100932f0
mov eax, dword [ebp - 0x870]
mov dword [ebp - 0x8b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8b4], eax
lea eax, [ebp - 0x8f0]
add esp, 0x44
push eax
call fcn.1000980f
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x8e0], eax
push 0x27
lea eax, [ebx + 0x18]
push eax
lea eax, [ebp - 0x940]
push eax
call fcn.1009380c
mov eax, dword [ebx + 0x68]
add esp, 0x10
push esi
push esi
mov dword [ebp - 0x948], eax
push esi
lea eax, [ebp - 0x8d8]
push eax
mov ecx, 0x10250c98
call fcn.1001d415
mov eax, dword [ebp - 0x860]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x1002610d
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x85c]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026120
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp - 0x858]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026133
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 0x854]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026146
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x850]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026159
mov dword [ebp - 0x8a0], eax
push esi
lea eax, [ebp - 0x968]
push eax
lea eax, [ebp - 0x420]
push esi
push eax
mov dword [ebp - 0x968], esi
mov dword [ebp - 0x96c], esi
call fcn.1000800b
push esi
lea eax, [ebp - 0x96c]
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1000800b
mov eax, dword [ebp - 0x958]
add esp, 0x20
cmp dword [ebx + 0xc], esi
jne 0x100261a3
mov eax, dword [ebp - 0x84c]
mov eax, dword [eax - 8]
mov dword [ebp - 0x89c], eax
mov eax, dword [ebp - 0x968]
mov dword [ebp - 0x898], eax
mov eax, dword [ebp - 0x96c]
mov dword [ebp - 0x894], eax
mov eax, dword [0x10200e98]
mov dword [ebp - 0x94c], esi
mov dword [ebp - 0x964], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x950], esi
call fcn.10004f3d
test eax, eax
jle 0x1002625c
push dword [ebp - 0x950]
lea ecx, [ebp - 0x844]
call fcn.1000611f
mov eax, dword [eax + 8]
add dword [ebp - 0x94c], eax
mov eax, dword [ebp - 0x964]
cmp dword [eax - 8], esi
jle 0x10026223
push 0x101d975c
lea ecx, [ebp - 0x964]
call fcn.100c9500
push dword [ebp - 0x950]
lea ecx, [ebp - 0x844]
call fcn.1000611f
add eax, 0x14
push eax
lea ecx, [ebp - 0x964]
call fcn.100c9560
inc dword [ebp - 0x950]
lea ecx, [ebp - 0x844]
call fcn.10004f3d
cmp dword [ebp - 0x950], eax
jl 0x100261ee
mov eax, dword [ebp - 0x94c]
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x890], eax
call fcn.10004f3d
mov dword [ebp - 0x88c], eax
cmp eax, esi
jne 0x1002628d
cmp dword [ebp + 0x10], 2
jne 0x1002628d
mov dword [ebp - 0x88c], 1
lea ecx, [ebp - 0x948]
call fcn.100258ca
lea ecx, [ebp - 0x948]
sub eax, ecx
push eax
call fcn.1005fbec
mov esi, eax
pop ecx
test esi, esi
jne 0x10026306
push str.CMailControlHelper::LogMail_new_BYTE_10__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x964]
jmp 0x100262fc
push str.CMailControlHelper::LogMail_failed_60__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94c]
call fcn.100c88b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x950]
call fcn.100c88b0
jmp 0x10025f68
lea ecx, [ebp - 0x948]
call fcn.100258ca
lea ecx, [ebp - 0x948]
sub eax, ecx
push eax
push 0
push esi
mov dword [ebp - 0x960], eax
call fcn.10093270
push 0xc0
lea eax, [ebp - 0x948]
push eax
push esi
call fcn.100932f0
add esp, 0x18
cmp dword [ebp - 0x8b0], 0
je 0x10026361
push dword [ebp - 0x8b0]
lea eax, [esi + 0xc0]
push dword [ebp - 0x860]
push eax
call fcn.1009380c
add esp, 0xc
cmp dword [ebp - 0x8ac], 0
je 0x1002638c
push dword [ebp - 0x8ac]
mov eax, dword [esi + 0x98]
push dword [ebp - 0x85c]
lea eax, [esi + eax*2 + 0xc2]
push eax
call fcn.1009380c
add esp, 0xc
cmp dword [ebp - 0x8a8], 0
je 0x100263bd
push dword [ebp - 0x8a8]
mov eax, dword [esi + 0x9c]
add eax, dword [esi + 0x98]
push dword [ebp - 0x858]
lea eax, [esi + eax*2 + 0xc4]
push eax
call fcn.1009380c
add esp, 0xc
cmp dword [ebp - 0x8a4], 0
je 0x100263f4
mov eax, dword [esi + 0xa0]
add eax, dword [esi + 0x9c]
push dword [ebp - 0x8a4]
add eax, dword [esi + 0x98]
push dword [ebp - 0x854]
lea eax, [esi + eax*2 + 0xc6]
push eax
call fcn.1009380c
add esp, 0xc
cmp dword [ebp - 0x8a0], 0
je 0x10026419
push dword [ebp - 0x8a0]
mov ecx, esi
push dword [ebp - 0x850]
call fcn.10025896
push eax
call fcn.1009380c
add esp, 0xc
mov ecx, esi
call fcn.10025896
mov ecx, dword [esi + 0xa8]
and dword [ebp - 0x950], 0
lea eax, [eax + ecx*2 + 2]
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x94c], eax
call fcn.10004f3d
test eax, eax
jle 0x100264d1
xor eax, eax
cmp dword [ebx + 8], eax
jne 0x10026461
push eax
push eax
push dword [ebp - 0x94c]
call fcn.1000b041
add esp, 0xc
push dword [ebp - 0x950]
lea ecx, [ebp - 0x844]
call fcn.1000611f
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x94c]
push dword [ebp - 0x950]
mov dword [ecx + 0x10], eax
lea ecx, [ebp - 0x844]
call fcn.1000611f
mov eax, dword [eax + 0x14]
push 0x103
push eax
mov eax, dword [ebp - 0x94c]
add eax, 0x14
push eax
call fcn.1009380c
add dword [ebp - 0x94c], 0x21c
add esp, 0xc
inc dword [ebp - 0x950]
lea ecx, [ebp - 0x844]
call fcn.10004f3d
cmp dword [ebp - 0x950], eax
jl 0x1002644a
cmp dword [ebx + 0xc], 0
mov ecx, dword [ebp - 0x958]
jne 0x100264e3
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.1000985a
add esp, 0xc
push dword [ebp - 0x960]
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.1000985a
add esp, 0xc
mov dword [ebp - 0x960], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x964]
call fcn.100c88b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x958]
call fcn.100c88b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x954]
call fcn.100c88b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x888]
call fcn.10028b5d
jmp 0x100265c4
push str.CMailControlHelper::LogMail_failed_1
push str.maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x954]
call fcn.100c88b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x888]
call fcn.10028b5d
xor esi, esi
inc esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1000a3b1
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.1000a3b1
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.1000a3b1
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.1000a3b1
add esp, 0x20
push dword [ebp - 0x960]
push str.CMailControlHelper::LogMail_____d_
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
mov eax, dword [ebp - 0x960]
add esp, 0x14
call fcn.10093245
ret