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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1025c58b
push eax
mov eax, dword [0x1030ceb0]
mov dword fs:[0], esp
sub esp, 0x1b4
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
je 0x10023bbb
mov eax, dword [esi + 0x1bc]
push eax
push str.CSMTPHandler::HandleMailFile:_Start_to_handle_mail_file__s__r_n
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
lea ecx, [esp + 0x14]
call fcn.1000fd90
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c8], ebp
push ecx
mov ecx, esi
call fcn.10024520
lea ecx, [esp + 0x7c]
call fcn.100a21c0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1c8], 1
call fcn.100c00d0
lea ecx, [esp + 0x154]
mov byte [esp + 0x1c8], 2
call fcn.1000fd90
lea edx, [esp + 0x14]
mov edi, 0x1026bca8
push edx
lea ecx, [esp + 0x158]
mov byte [esp + 0x1cc], 3
mov dword [esp + 0x80], edi
mov dword [esp + 0xa8], esi
call fcn.10010130
mov dword [esp + 0x1bc], ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 4
call fcn.100a2390
test eax, eax
jne 0x10023cc9
cmp dword [0x1030ceb0], ebp
je 0x10023c71
push str.CSMTPHandler::HandleMailFile:_Create_Thread_to_handle_mail_failed__r_n
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov dword [esp + 0x7c], edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x1c8], 6
call fcn.1000fe30
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1c8], 5
call fcn.100c0240
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 0
call fcn.100a22e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.1000fe30
xor eax, eax
jmp 0x10023ee5
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call edi
mov ebx, eax
mov eax, dword [0x1030ceb0]
cmp eax, ebp
je 0x10023d05
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
push eax
push ecx
push edx
push str.HandleMailFile__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 ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x10023e03
lea ecx, [esp + 0x80]
call fcn.100a2590
test eax, eax
je 0x10023d9a
call edi
mov ecx, dword [esi + 0x78]
sub eax, ebx
cmp eax, ecx
jbe 0x10023d4c
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10023d5d
mov ecx, esi
call fcn.10024f20
jmp 0x10023d5d
cmp eax, 0x124f80
jbe 0x10023d5d
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x10023da8
mov eax, dword [esi + 0x80]
test eax, eax
je 0x10023d86
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x10023d86
call edi
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
sub eax, edx
cmp eax, ecx
jbe 0x10023d86
mov ecx, esi
call fcn.10024ae0
mov ecx, dword [esi + 0x1e4]
push 0x64
push ecx
call ebp
cmp eax, 0x102
je 0x10023d21
jmp 0x10023e03
lea ecx, [esp + 0x80]
call fcn.10007c90
jmp 0x10023e03
lea ecx, [esp + 0x80]
call fcn.100a2450
lea ecx, [esp + 0x80]
call fcn.10007c90
lea ecx, [esp + 0x80]
call fcn.100a2510
mov dword [esi + 0x1a4], 0
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x10023df8
push str.CSMTPHandler::HandleMailFile:_Timeout__r_n
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
push 3
push 5
mov ecx, esi
call fcn.100262c0
mov eax, dword [esp + 0x1c0]
pop ebx
test eax, eax
je 0x10023e64
mov edx, dword [0x1026e878]
mov dword [esp + 0xc], edx
push str.Mail_whitelist_policy_exception.Encrypted_File_failed_to_decrypt.
lea eax, [esp + 0x10]
push str.554__S_r_n
push eax
mov byte [esp + 0x1d4], 7
call fcn.1008e670
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x60]
push eax
call fcn.10033570
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c8], 4
call fcn.1008b870
jmp 0x10023e88
mov eax, dword [esi + 0x1a4]
test eax, eax
je 0x10023e7c
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.10024790
jmp 0x10023e88
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.100246c0
mov esi, dword [esi + 0x1a4]
mov dword [esp + 0x7c], 0x1026bca8
lea ecx, [esp + 0x154]
mov byte [esp + 0x1c8], 9
call fcn.1000fe30
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1c8], 8
call fcn.100c0240
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 0
call fcn.100a22e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.1000fe30
mov eax, esi
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c0
ret