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

Disassembly:
push 0xffffffffffffffff
push 0x1025a660
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.100113c0
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], edi
call fcn.100a0430
test eax, eax
jne 0x10023c76
cmp dword [0x1030aa70], edi
je 0x10023c4a
push str.HandleMailSCIFile_Create_Thread_handle_failed___
push str.SmtpMail
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x1c], 0x10269b48
call fcn.100a0380
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 [0x1030aa70]
cmp eax, edi
je 0x10023cb5
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 0x1030a1dc
call fcn.100a4680
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 0x10023d91
lea ecx, [esp + 0x24]
call fcn.100a0630
test eax, eax
je 0x10023d6f
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
sub eax, edx
cmp eax, ecx
jbe 0x10023d2e
test edi, edi
jne 0x10023d2e
mov eax, dword [0x1030aa70]
mov edi, 1
test eax, eax
je 0x10023d20
mov ecx, dword [esi + 0x64]
push ecx
push str.HandleMailSCIFile_time_out__m_bSendOffline__d_
push str.SmtpMail
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10023d2e
mov ecx, esi
call fcn.10024b70
mov eax, dword [esi + 0x80]
test eax, eax
je 0x10023d57
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x10023d57
call ebp
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
sub eax, edx
cmp eax, ecx
jbe 0x10023d57
mov ecx, esi
call fcn.10024730
mov edx, dword [esi + 0x1e4]
push 0x64
push edx
call ebx
cmp eax, 0x102
je 0x10023cd1
jmp 0x10023d91
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10023d91
push str.HandleMailSCIFile_Thread_no_running
push str.SmtpMail
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esi + 0x1f0]
push eax
call fcn.1005af10
push eax
lea ecx, [esi + 0x154]
mov byte [esp + 0x60], 1
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.1008ec90
mov eax, dword [esp + 0x4c]
pop ebp
cmp eax, 5
mov edi, eax
pop ebx
ja 0x10023f6d
cmp eax, 4
jae 0x10023ec7
cmp eax, 3
ja case.default.0x10023de3
jmp dword [eax*4 + 0x1002415c]
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10023e10
mov ecx, dword [esi + 0x64]
push ecx
push str.HandleMailSCIFile_send_success__m_bSendOffline__d_
push str.SmtpMail
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea ecx, [esi + 4]
call fcn.1000ad70
test eax, eax
je 0x10023e5d
mov eax, dword [0x102bdb78]
mov cl, byte [0x102bdb7c]
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.100331c0
mov eax, dword [esi + 0x64]
test eax, eax
je 0x10023e7d
mov ecx, esi
call fcn.100246f0
test eax, eax
je 0x10023e7d
push 0x3e8
push 2
mov ecx, esi
call fcn.10025ff0
mov esi, 1
jmp 0x1002412d
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10023eaf
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 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov eax, dword [esi + 0x64]
test eax, eax
je 0x10023ebd
mov ecx, esi
call fcn.10025b70
mov esi, 1
jmp 0x1002412d
mov ecx, dword [0x1030aa70]
test ecx, ecx
je 0x10023eef
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 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10023f42
mov eax, dword [0x1026c878]
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.1008c710
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.100331c0
lea ecx, [esp + 8]
mov byte [esp + 0x54], 0
call fcn.10089910
jmp 0x1002412b
cmp edi, 5
je 0x10023f5d
mov eax, dword [esi + 0x60]
test eax, eax
je 0x1002412b
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x1002412b
push 3
push 1
mov ecx, esi
call fcn.10025f10
jmp 0x1002412b
cmp eax, 6
jb case.default.0x10023de3
cmp eax, 7
jbe case.0x10023de3.1
cmp eax, 0xffffffff
jne case.default.0x10023de3
mov ecx, dword [0x1030aa70]
test ecx, ecx
je 0x10023fac
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 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x100240a1
mov edx, dword [0x1026c878]
mov dword [esp + 8], edx
cmp edi, 2
mov byte [esp + 0x54], 2
je 0x10024062
cmp edi, 0xffffffff
je 0x10024062
cmp edi, 1
jne 0x10023ff0
push str.554_Can_not_send_email_with_sensitive_content_r_n
lea ecx, [esp + 0xc]
call fcn.10089b70
jmp 0x10024075
cmp edi, 6
jne 0x10024029
push str.Mail_whitelist_policy_exception.Please_try_Again.
lea eax, [esp + 0xc]
push str.554__S_r_n
push eax
call fcn.1008c710
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, 0x102f4c88
call fcn.10018c40
jmp 0x10024075
cmp edi, 7
jne 0x10024075
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.1008c710
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, 0x102f4c88
call fcn.10018c40
jmp 0x10024075
push edi
lea edx, [esp + 0xc]
push str.554_internal_error__code_0x_x__r_n
push edx
call fcn.1008c710
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.100331c0
lea ecx, [esp + 8]
mov byte [esp + 0x54], 0
call fcn.10089910
jmp 0x1002412b
cmp edi, 1
jne 0x100240b6
push 0x3e8
push 0xc
mov ecx, esi
call fcn.10025f10
jmp 0x1002412b
cmp edi, 6
jne 0x100240d8
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, 0x102f4c88
call fcn.10018c40
jmp 0x1002412b
cmp edi, 7
jne 0x100240fa
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, 0x102f4c88
call fcn.10018c40
jmp 0x1002412b
push 3
push 4
mov ecx, esi
call fcn.10025f10
jmp 0x1002412b
mov ecx, dword [0x1030aa70]
test ecx, ecx
je 0x1002412b
push eax
push str.HandleMailSCIFile_default__dwError__lu_
push str.SmtpMail
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
xor esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x1c], 0x10269b48
call fcn.100a0380
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret