Function at 0x10025cc1
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2ea3
mov eax, dword fs:[0]
push eax
mov eax, 0x120c
call fcn.10099630
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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 - 0x114c], eax
call fcn.10023e40
and dword [ebp - 0x1160], 0
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.100932c0
xor eax, eax
push esi
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.100932c0
xor eax, eax
push esi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.100932c0
xor eax, eax
push esi
mov word [ebp - 0x830], ax
xor esi, esi
lea eax, [ebp - 0x82e]
push esi
push eax
call fcn.100932c0
add esp, 0x44
cmp dword [ebx], esi
je 0x100265bb
lea ecx, [ebp - 0x888]
call fcn.10028b18
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x114c]
lea eax, [ebp - 0x888]
push eax
call fcn.10028af6
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x1154]
push eax
call fcn.100dae70
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x844]
call fcn.10004f3d
test eax, eax
jne 0x10025ddd
and dword [ebx + 0x10], 0xfffffffe
mov dword [ebx + 8], esi
push 2
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1154]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026588
push 5
push 0x104
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x1154]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026588
push 4
push 0x104
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x1154]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026588
push 7
push 0x104
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0x1154]
call fcn.100258f6
add esp, 0x10
test eax, eax
je 0x10026588
mov ecx, dword [ebp - 0x114c]
lea eax, [ebp - 0x114c]
push eax
call fcn.1002693c
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 - 0x1159], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114c]
call fcn.100c88e0
cmp byte [ebp - 0x1159], 0
je 0x10025ec2
push str.CMailControlHelper::LogMail_failed_2
jmp 0x1002658d
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 - 0x1158]
call fcn.100c8140
mov byte [ebp - 4], 3
cmp dword [ebx + 0xc], esi
je 0x10025f42
push dword [ebp - 0x84c]
lea eax, [ebp - 0x1158]
push 0x101df4b0
push eax
call fcn.100cb860
push str.CMailControlHelper::LogMail__not_log_Body__
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
push dword [ebp - 0x1158]
lea eax, [ebp - 0x218]
push eax
call fcn.10025bf5
add esp, 0x24
lea ecx, [ebp - 0x1218]
call fcn.1018ac00
mov byte [ebp - 4], 4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1218]
call fcn.1018b060
test eax, eax
jne 0x10025f9f
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 - 0x1218]
call fcn.1018ad20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1158]
call fcn.100c88e0
jmp 0x1002659d
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1218]
call fcn.1018c950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1218]
call fcn.1018ad20
cmp dword [ebx + 8], esi
je 0x1002604f
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 - 0x1150]
call fcn.100c8140
mov byte [ebp - 4], 5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x114c]
call fcn.100c8140
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1150]
cmp dword [eax - 8], esi
je 0x100262f1
mov ecx, dword [ebp - 0x114c]
cmp dword [ecx - 8], esi
je 0x100262f1
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114c]
call fcn.100c88e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1150]
call fcn.100c88e0
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 0x8bc
lea eax, [ebp - 0x1144]
push esi
push eax
mov dword [ebp - 0x1148], esi
call fcn.100932c0
push 0x10
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x8c8]
push eax
call fcn.10093340
mov eax, dword [ebp - 0x870]
mov dword [ebp - 0x8b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8b4], eax
lea eax, [ebp - 0x10f0]
add esp, 0x44
push eax
call fcn.1000980f
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x10e0], eax
push 0x27
lea eax, [ebx + 0x18]
push eax
lea eax, [ebp - 0x1140]
push eax
call fcn.1009385c
mov eax, dword [ebx + 0x68]
add esp, 0x10
push esi
push esi
mov dword [ebp - 0x1148], eax
push esi
lea eax, [ebp - 0x10d8]
push eax
mov ecx, 0x10250c98
call fcn.1001d415
mov eax, dword [ebp - 0x860]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026130
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x85c]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026143
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp - 0x858]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026156
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 0x854]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10026169
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x850]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x1002617c
mov dword [ebp - 0x8a0], eax
push esi
lea eax, [ebp - 0x1168]
push eax
lea eax, [ebp - 0x420]
push esi
push eax
mov dword [ebp - 0x1168], esi
mov dword [ebp - 0x116c], esi
call fcn.1000800b
push esi
lea eax, [ebp - 0x116c]
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1000800b
mov eax, dword [ebp - 0x1158]
add esp, 0x20
cmp dword [ebx + 0xc], esi
jne 0x100261c6
mov eax, dword [ebp - 0x84c]
mov eax, dword [eax - 8]
mov dword [ebp - 0x89c], eax
mov eax, dword [ebp - 0x1168]
mov dword [ebp - 0x898], eax
mov eax, dword [ebp - 0x116c]
mov dword [ebp - 0x894], eax
mov eax, dword [0x10200e98]
mov dword [ebp - 0x114c], esi
mov dword [ebp - 0x1164], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x1150], esi
call fcn.10004f3d
test eax, eax
jle 0x1002627f
push dword [ebp - 0x1150]
lea ecx, [ebp - 0x844]
call fcn.1000611f
mov eax, dword [eax + 8]
add dword [ebp - 0x114c], eax
mov eax, dword [ebp - 0x1164]
cmp dword [eax - 8], esi
jle 0x10026246
push 0x101d975c
lea ecx, [ebp - 0x1164]
call fcn.100c9530
push dword [ebp - 0x1150]
lea ecx, [ebp - 0x844]
call fcn.1000611f
add eax, 0x14
push eax
lea ecx, [ebp - 0x1164]
call fcn.100c9590
inc dword [ebp - 0x1150]
lea ecx, [ebp - 0x844]
call fcn.10004f3d
cmp dword [ebp - 0x1150], eax
jl 0x10026211
mov eax, dword [ebp - 0x114c]
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x890], eax
call fcn.10004f3d
mov dword [ebp - 0x88c], eax
cmp eax, esi
jne 0x100262b0
cmp dword [ebp + 0x10], 2
jne 0x100262b0
mov dword [ebp - 0x88c], 1
lea ecx, [ebp - 0x1148]
call fcn.100258ca
lea ecx, [ebp - 0x1148]
sub eax, ecx
push eax
call fcn.1005fc3e
mov esi, eax
pop ecx
test esi, esi
jne 0x10026329
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 - 0x1164]
jmp 0x1002631f
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 - 0x114c]
call fcn.100c88e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1150]
call fcn.100c88e0
jmp 0x10025f8b
lea ecx, [ebp - 0x1148]
call fcn.100258ca
lea ecx, [ebp - 0x1148]
sub eax, ecx
push eax
push 0
push esi
mov dword [ebp - 0x1160], eax
call fcn.100932c0
push 0x8c0
lea eax, [ebp - 0x1148]
push eax
push esi
call fcn.10093340
lea eax, [esi + 0x80]
push 1
push eax
call fcn.1005ea26
add esp, 0x20
cmp dword [ebp - 0x8b0], 0
je 0x10026392
push dword [ebp - 0x8b0]
lea eax, [esi + 0x8c0]
push dword [ebp - 0x860]
push eax
call fcn.1009385c
add esp, 0xc
cmp dword [ebp - 0x8ac], 0
je 0x100263bd
push dword [ebp - 0x8ac]
mov eax, dword [esi + 0x898]
push dword [ebp - 0x85c]
lea eax, [esi + eax*2 + 0x8c2]
push eax
call fcn.1009385c
add esp, 0xc
cmp dword [ebp - 0x8a8], 0
je 0x100263ee
push dword [ebp - 0x8a8]
mov eax, dword [esi + 0x89c]
add eax, dword [esi + 0x898]
push dword [ebp - 0x858]
lea eax, [esi + eax*2 + 0x8c4]
push eax
call fcn.1009385c
add esp, 0xc
cmp dword [ebp - 0x8a4], 0
je 0x10026425
mov eax, dword [esi + 0x8a0]
add eax, dword [esi + 0x89c]
push dword [ebp - 0x8a4]
add eax, dword [esi + 0x898]
push dword [ebp - 0x854]
lea eax, [esi + eax*2 + 0x8c6]
push eax
call fcn.1009385c
add esp, 0xc
cmp dword [ebp - 0x8a0], 0
je 0x1002644a
push dword [ebp - 0x8a0]
mov ecx, esi
push dword [ebp - 0x850]
call fcn.10025896
push eax
call fcn.1009385c
add esp, 0xc
mov ecx, esi
call fcn.10025896
mov ecx, dword [esi + 0x8a8]
and dword [ebp - 0x1150], 0
lea eax, [eax + ecx*2 + 2]
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x114c], eax
call fcn.10004f3d
test eax, eax
jle 0x10026502
xor eax, eax
cmp dword [ebx + 8], eax
jne 0x10026492
push eax
push eax
push dword [ebp - 0x114c]
call fcn.1000b041
add esp, 0xc
push dword [ebp - 0x1150]
lea ecx, [ebp - 0x844]
call fcn.1000611f
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x114c]
push dword [ebp - 0x1150]
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 - 0x114c]
add eax, 0x14
push eax
call fcn.1009385c
add dword [ebp - 0x114c], 0x21c
add esp, 0xc
inc dword [ebp - 0x1150]
lea ecx, [ebp - 0x844]
call fcn.10004f3d
cmp dword [ebp - 0x1150], eax
jl 0x1002647b
cmp dword [ebx + 0xc], 0
mov ecx, dword [ebp - 0x1158]
jne 0x10026514
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 - 0x1160]
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.1000985a
add esp, 0xc
mov dword [ebp - 0x1160], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1164]
call fcn.100c88e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1158]
call fcn.100c88e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1154]
call fcn.100c88e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x888]
call fcn.10028ba2
jmp 0x100265f5
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 - 0x1154]
call fcn.100c88e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x888]
call fcn.10028ba2
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 - 0x1160]
push str.CMailControlHelper::LogMail_____d_
push str.Maillog
push 0xffffffffffffffff
push edi
call fcn.10023e40
mov eax, dword [ebp - 0x1160]
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009319b
leave
ret