Function at 0x1002722f
Capabilities:
Copy file

Disassembly:
push 0xa10
mov eax, 0x101d080b
call fcn.10099872
cmp dword [0x10269fe8], 0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
je 0x10027269
push dword [ebp + 0x10]
push str.CMailControlHelper::LogMail__________08x_
push str.maillog
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x14
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.10099920
xor eax, eax
push esi
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10099920
xor eax, eax
push esi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.10099920
xor eax, eax
push esi
mov word [ebp - 0x830], ax
xor esi, esi
lea eax, [ebp - 0x82e]
push esi
push eax
call fcn.10099920
add esp, 0x30
cmp dword [edi], esi
je 0x10027b18
lea ecx, [ebp - 0x890]
call fcn.1002b07a
mov dword [ebp - 4], esi
lea eax, [ebp - 0x890]
push eax
mov ecx, ebx
call fcn.1002b058
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x958]
push eax
call fcn.100e2ca0
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x844]
call fcn.100056e5
test eax, eax
jne 0x10027329
and dword [edi + 0x10], 0xfffffffe
mov dword [edi + 8], esi
push 2
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x958]
call fcn.10026e5b
add esp, 0x10
test eax, eax
je 0x10027ad8
push 5
push esi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x958]
call fcn.10026e5b
add esp, 0x10
test eax, eax
je 0x10027ad8
push 4
push esi
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x958]
call fcn.10026e5b
add esp, 0x10
test eax, eax
je 0x10027ad8
push 3
push esi
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0x958]
call fcn.10026e5b
add esp, 0x10
test eax, eax
je 0x10027ad8
lea eax, [ebp - 0x964]
push eax
mov ecx, ebx
call fcn.10028159
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea ecx, [ebp - 0x218]
push ecx
push eax
call esi
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x964]
call fcn.100cef50
test bl, bl
je 0x10027406
cmp dword [0x10269fe8], 0
je 0x10027afa
push str.CMailControlHelper::LogMail_failed_2
jmp 0x10027ae6
cmp dword [0x10269fe8], 0
je 0x1002743f
lea ecx, [ebp - 0x844]
call fcn.100056e5
push eax
push dword [edi + 0x10]
mov ebx, 0x10269f7c
push dword [edi + 4]
push dword [edi]
push str.CMailControlHelper::LogMail_1___lu____lu____08x____lu_
push str.maillog
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x20
jmp 0x10027444
mov ebx, 0x10269f7c
push 0x101e6ae4
lea ecx, [ebp - 0x95c]
call fcn.100ce7b0
mov byte [ebp - 4], 3
cmp dword [edi + 0xc], 0
je 0x100274aa
push dword [ebp - 0x84c]
lea eax, [ebp - 0x95c]
push 0x101ed8f8
push eax
call fcn.100d1ed0
add esp, 0xc
cmp dword [0x10269fe8], 0
je 0x10027496
push str.CMailControlHelper::LogMail__not_log_Body__
push str.Maillog
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
push dword [ebp - 0x95c]
lea eax, [ebp - 0x218]
push eax
call fcn.10027163
pop ecx
pop ecx
lea ecx, [ebp - 0xa1c]
call fcn.1019b3b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa1c]
call fcn.1019b810
test eax, eax
jne 0x1002750f
cmp dword [0x10269fe8], eax
je 0x100274ec
push str.CMailControlHelper::LogMail_failed_3
push str.Maillog
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa1c]
call fcn.1019b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x95c]
call fcn.100cef50
jmp 0x10027afa
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa1c]
call fcn.1019d100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa1c]
call fcn.1019b4d0
cmp dword [edi + 8], 0
je 0x100275c7
cmp dword [0x10269fe8], 0
je 0x10027558
push str.CMailControlHelper::LogMail__not_log_attach__
push str.Maillog
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x964]
call fcn.100ce7b0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x954]
call fcn.100ce7b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x964]
xor edx, edx
cmp dword [ecx - 8], edx
je 0x1002786e
mov eax, dword [ebp - 0x954]
cmp dword [eax - 8], edx
je 0x1002786e
push edx
push eax
push ecx
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x954]
call fcn.100cef50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x964]
call fcn.100cef50
cmp dword [0x10269fe8], 0
je 0x10027615
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 ebx
call fcn.10025270
add esp, 0x2c
and dword [ebp - 0x950], 0
push 0xbc
lea eax, [ebp - 0x94c]
push 0
push eax
call fcn.10099920
push 0x10
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x8d0]
push eax
call fcn.100999a0
mov eax, dword [ebp - 0x870]
mov dword [ebp - 0x8c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8bc], eax
lea eax, [ebp - 0x8f8]
push eax
call fcn.1000a45e
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x8e8], eax
push 0x27
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x948]
push eax
call fcn.10099ebc
mov eax, dword [edi + 0x68]
add esp, 0x28
xor esi, esi
push esi
push esi
mov dword [ebp - 0x950], eax
push esi
lea eax, [ebp - 0x8e0]
push eax
mov ecx, 0x10261f38
call fcn.1001e846
mov eax, dword [ebp - 0x860]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x100276b5
mov dword [ebp - 0x8b8], eax
mov eax, dword [ebp - 0x85c]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x100276c8
mov dword [ebp - 0x8b4], eax
mov eax, dword [ebp - 0x858]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x100276db
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x854]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x100276ee
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp - 0x850]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10027701
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 - 0x96c], esi
call fcn.10008c5a
push esi
lea eax, [ebp - 0x96c]
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10008c5a
mov eax, dword [ebp - 0x95c]
add esp, 0x20
cmp dword [edi + 0xc], esi
jne 0x1002774b
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 - 0x96c]
mov dword [ebp - 0x89c], eax
mov eax, dword [0x10211078]
mov dword [ebp - 0x968], eax
mov byte [ebp - 4], 7
and dword [ebp - 0x954], 0
lea ecx, [ebp - 0x844]
call fcn.100056e5
test eax, eax
jle 0x100277fa
push dword [ebp - 0x954]
lea ecx, [ebp - 0x844]
call fcn.10006ccc
add esi, dword [eax + 8]
mov eax, dword [ebp - 0x968]
cmp dword [eax - 8], 0
jle 0x100277c1
push 0x101e6ae8
lea ecx, [ebp - 0x968]
call fcn.100cfba0
push dword [ebp - 0x954]
lea ecx, [ebp - 0x844]
call fcn.10006ccc
add eax, 0x14
push eax
lea ecx, [ebp - 0x968]
call fcn.100cfc00
inc dword [ebp - 0x954]
lea ecx, [ebp - 0x844]
call fcn.100056e5
cmp dword [ebp - 0x954], eax
jl 0x10027791
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x898], esi
call fcn.100056e5
mov dword [ebp - 0x894], eax
test eax, eax
jne 0x10027825
cmp dword [ebp + 0x10], 2
jne 0x10027825
mov dword [ebp - 0x894], 1
lea ecx, [ebp - 0x950]
call fcn.10026e2f
lea ecx, [ebp - 0x950]
sub eax, ecx
push eax
call fcn.10066294
mov esi, eax
pop ecx
test esi, esi
jne 0x100278ae
cmp dword [0x10269fe8], eax
je 0x10027862
push str.CMailControlHelper::LogMail_new_BYTE_10__
push str.Maillog
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x968]
jmp 0x100278a4
cmp dword [0x10269fe8], edx
je 0x1002788b
push str.CMailControlHelper::LogMail_failed_60__
push str.Maillog
push 0xffffffffffffffff
push ebx
call fcn.10025270
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x954]
call fcn.100cef50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x964]
call fcn.100cef50
jmp 0x100274fb
lea ecx, [ebp - 0x950]
call fcn.10026e2f
lea ecx, [ebp - 0x950]
sub eax, ecx
push eax
xor ebx, ebx
push ebx
push esi
mov dword [ebp - 0x960], eax
call fcn.10099920
push 0xc0
lea eax, [ebp - 0x950]
push eax
push esi
call fcn.100999a0
add esp, 0x18
cmp dword [ebp - 0x8b8], ebx
je 0x10027909
push dword [ebp - 0x8b8]
lea eax, [esi + 0xc0]
push dword [ebp - 0x860]
push eax
call fcn.10099ebc
add esp, 0xc
cmp dword [ebp - 0x8b4], ebx
je 0x10027933
push dword [ebp - 0x8b4]
mov eax, dword [esi + 0x98]
push dword [ebp - 0x85c]
lea eax, [esi + eax*2 + 0xc2]
push eax
call fcn.10099ebc
add esp, 0xc
cmp dword [ebp - 0x8b0], ebx
je 0x10027963
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.10099ebc
add esp, 0xc
cmp dword [ebp - 0x8ac], ebx
je 0x10027999
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.10099ebc
add esp, 0xc
cmp dword [ebp - 0x8a8], ebx
je 0x100279bd
push dword [ebp - 0x8a8]
mov ecx, esi
push dword [ebp - 0x850]
call fcn.10026dfb
push eax
call fcn.10099ebc
add esp, 0xc
mov ecx, esi
call fcn.10026dfb
mov ecx, dword [esi + 0xa8]
and dword [ebp - 0x954], 0
lea ebx, [eax + ecx*2 + 2]
lea ecx, [ebp - 0x844]
call fcn.100056e5
test eax, eax
jle 0x10027a52
xor eax, eax
cmp dword [edi + 8], eax
jne 0x100279f6
push eax
push eax
push ebx
call fcn.1000bc79
add esp, 0xc
push dword [ebp - 0x954]
lea ecx, [ebp - 0x844]
call fcn.10006ccc
mov eax, dword [eax + 8]
push dword [ebp - 0x954]
lea ecx, [ebp - 0x844]
mov dword [ebx + 0x10], eax
call fcn.10006ccc
mov eax, dword [eax + 0x14]
push 0x103
push eax
lea eax, [ebx + 0x14]
push eax
call fcn.10099ebc
add esp, 0xc
inc dword [ebp - 0x954]
lea ecx, [ebp - 0x844]
add ebx, 0x21c
call fcn.100056e5
cmp dword [ebp - 0x954], eax
jl 0x100279e4
cmp dword [edi + 0xc], 0
mov ecx, dword [ebp - 0x95c]
jne 0x10027a64
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 - 0x960]
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.1000a4a9
add esp, 0xc
mov dword [ebp - 0x960], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x968]
call fcn.100cef50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x95c]
call fcn.100cef50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x958]
call fcn.100cef50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.1002b104
jmp 0x10027b52
cmp dword [0x10269fe8], 0
je 0x10027afa
push str.CMailControlHelper::LogMail_failed_1
push str.maillog
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x958]
call fcn.100cef50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.1002b104
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
cmp dword [0x10269fe8], 0
je 0x10027b7a
push dword [ebp - 0x960]
push str.CMailControlHelper::LogMail_____d_
push str.Maillog
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x14
mov eax, dword [ebp - 0x960]
call fcn.100998f5
ret