Function at 0x10023fa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x1025c5e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.10011760
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], edi
call fcn.100a2390
test eax, eax
jne 0x10024026
cmp dword [0x1030ceb0], edi
je 0x10023ffa
push str.HandleMailSCIFile_Create_Thread_handle_failed___
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x1c], 0x1026bb48
call fcn.100a22e0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [0x1030ceb0]
cmp eax, edi
je 0x10024065
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
push eax
push ecx
push edx
push str.HandleMailSCIFile__m_dwClientTimeOut:_d__m_dwServerTimeOut:_d__m_dwTickLastSendToServer:0x_08x_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x1c
mov eax, dword [esi + 0x1e4]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call ebx
cmp eax, 0x102
jne 0x10024141
lea ecx, [esp + 0x24]
call fcn.100a2590
test eax, eax
je 0x1002411f
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
sub eax, edx
cmp eax, ecx
jbe 0x100240de
test edi, edi
jne 0x100240de
mov eax, dword [0x1030ceb0]
mov edi, 1
test eax, eax
je 0x100240d0
mov ecx, dword [esi + 0x64]
push ecx
push str.HandleMailSCIFile_time_out__m_bSendOffline__d_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x100240de
mov ecx, esi
call fcn.10024f20
mov eax, dword [esi + 0x80]
test eax, eax
je 0x10024107
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x10024107
call ebp
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
sub eax, edx
cmp eax, ecx
jbe 0x10024107
mov ecx, esi
call fcn.10024ae0
mov edx, dword [esi + 0x1e4]
push 0x64
push edx
call ebx
cmp eax, 0x102
je 0x10024081
jmp 0x10024141
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x10024141
push str.HandleMailSCIFile_Thread_no_running
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esi + 0x1f0]
push eax
call fcn.1005b960
push eax
lea ecx, [esi + 0x154]
mov byte [esp + 0x60], 1
call fcn.10090d80
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.10090bf0
mov eax, dword [esp + 0x4c]
pop ebp
cmp eax, 5
mov edi, eax
pop ebx
ja 0x1002431d
cmp eax, 4
jae 0x10024277
cmp eax, 3
ja case.default.0x10024193
jmp dword [eax*4 + 0x1002450c]
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x100241c0
mov ecx, dword [esi + 0x64]
push ecx
push str.HandleMailSCIFile_send_success__m_bSendOffline__d_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
lea ecx, [esi + 4]
call fcn.1000ad70
test eax, eax
je 0x1002420d
mov eax, dword [0x102bfc08]
mov cl, byte [0x102bfc0c]
mov edx, dword [str.250_OK_r_n]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], cl
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], edx
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [esi + 0x60]
push edx
push eax
call fcn.10033570
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1002422d
mov ecx, esi
call fcn.10024aa0
test eax, eax
je 0x1002422d
push 0x3e8
push 2
mov ecx, esi
call fcn.100263a0
mov esi, 1
jmp 0x100244dd
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1002425f
mov ecx, dword [esi + 0x64]
push ecx
push 3
push str.HandleMailSCIFile_delay_send_No.2__dwError__lu___m_bSendOffline__d_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x18
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1002426d
mov ecx, esi
call fcn.10025f20
mov esi, 1
jmp 0x100244dd
mov ecx, dword [0x1030ceb0]
test ecx, ecx
je 0x1002429f
mov edx, dword [esi + 0x64]
push edx
push eax
push str.HandleMailSCIFile_send_fail__dwError__lu__m_bSendOffline__d_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x18
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x100242f2
mov eax, dword [0x1026e878]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
push str.554_Transaction_failed_r_n
push ecx
mov byte [esp + 0x5c], 3
call fcn.1008e670
mov eax, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0xc]
mov ecx, dword [eax - 8]
push edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x60]
push eax
call fcn.10033570
lea ecx, [esp + 8]
mov byte [esp + 0x54], 0
call fcn.1008b870
jmp 0x100244db
cmp edi, 5
je 0x1002430d
mov eax, dword [esi + 0x60]
test eax, eax
je 0x100244db
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x100244db
push 3
push 1
mov ecx, esi
call fcn.100262c0
jmp 0x100244db
cmp eax, 6
jb case.default.0x10024193
cmp eax, 7
jbe case.0x10024193.1
cmp eax, 0xffffffff
jne case.default.0x10024193
mov ecx, dword [0x1030ceb0]
test ecx, ecx
je 0x1002435c
mov ecx, dword [esi + 0x64]
push ecx
push eax
push str.HandleMailSCIFile_do_not_send__dwError__lu__m_bSendOffline__d_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x18
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10024451
mov edx, dword [0x1026e878]
mov dword [esp + 8], edx
cmp edi, 2
mov byte [esp + 0x54], 2
je 0x10024412
cmp edi, 0xffffffff
je 0x10024412
cmp edi, 1
jne 0x100243a0
push str.554_Can_not_send_email_with_sensitive_content_r_n
lea ecx, [esp + 0xc]
call fcn.1008bad0
jmp 0x10024425
cmp edi, 6
jne 0x100243d9
push str.Mail_whitelist_policy_exception.Please_try_Again.
lea eax, [esp + 0xc]
push str.554__S_r_n
push eax
call fcn.1008e670
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x54]
add esp, 0xc
push eax
push 3
push 0
push ecx
push str.Mail_whitelist_policy_exception.Please_try_Again.
mov ecx, 0x102f70c8
call fcn.10018fe0
jmp 0x10024425
cmp edi, 7
jne 0x10024425
push str.Mail_whitelist_policy_exception.Encrypted_File_failed_to_decrypt.
lea ecx, [esp + 0xc]
push str.554__S_r_n
push ecx
call fcn.1008e670
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x54]
add esp, 0xc
push eax
push 3
push 0
push ecx
push str.Mail_whitelist_policy_exception.Encrypted_File_failed_to_decrypt.
mov ecx, 0x102f70c8
call fcn.10018fe0
jmp 0x10024425
push edi
lea edx, [esp + 0xc]
push str.554_internal_error__code_0x_x__r_n
push edx
call fcn.1008e670
add esp, 0xc
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esi + 0x60]
call fcn.10033570
lea ecx, [esp + 8]
mov byte [esp + 0x54], 0
call fcn.1008b870
jmp 0x100244db
cmp edi, 1
jne 0x10024466
push 0x3e8
push 0xc
mov ecx, esi
call fcn.100262c0
jmp 0x100244db
cmp edi, 6
jne 0x10024488
mov eax, dword [esi + 0x6c]
mov esi, dword [esi + 0x54]
push eax
push 3
push 0
push esi
push str.Mail_whitelist_policy_exception.Please_try_Again.
mov ecx, 0x102f70c8
call fcn.10018fe0
jmp 0x100244db
cmp edi, 7
jne 0x100244aa
mov eax, dword [esi + 0x6c]
mov esi, dword [esi + 0x54]
push eax
push 3
push 0
push esi
push str.Mail_whitelist_policy_exception.Encrypted_File_failed_to_decrypt.
mov ecx, 0x102f70c8
call fcn.10018fe0
jmp 0x100244db
push 3
push 4
mov ecx, esi
call fcn.100262c0
jmp 0x100244db
mov ecx, dword [0x1030ceb0]
test ecx, ecx
je 0x100244db
push eax
push str.HandleMailSCIFile_default__dwError__lu_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
xor esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x1c], 0x1026bb48
call fcn.100a22e0
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret