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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018b760
push eax
mov eax, dword [0x10201328]
mov dword fs:[0], esp
sub esp, 0x1a0
test eax, eax
push esi
push edi
mov esi, ecx
je 0x1001f808
mov eax, dword [esi + 0x150]
push eax
push str.CSMTPHandler::HandleMailFile:_Start_to_handle_mail_file__s__r_n
push 0x101c895c
push 4
push 0x10200a94
call fcn.1008b760
add esp, 0x14
lea ecx, [esp + 8]
call fcn.1000d140
lea ecx, [esp + 8]
mov dword [esp + 0x1b0], 0
push ecx
mov ecx, esi
call fcn.1001ff00
lea ecx, [esp + 0x6c]
call fcn.10087340
lea ecx, [esp + 0x98]
mov byte [esp + 0x1b0], 1
call fcn.100a4890
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 2
call fcn.1000d140
lea edx, [esp + 8]
mov edi, 0x10198b6c
push edx
lea ecx, [esp + 0x148]
mov byte [esp + 0x1b4], 3
mov dword [esp + 0x70], edi
mov dword [esp + 0x98], esi
call fcn.1000d4c0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b0], 4
call fcn.10087510
test eax, eax
jne 0x1001f927
mov eax, dword [0x10201328]
test eax, eax
je 0x1001f8bd
push str.CSMTPHandler::HandleMailFile:_Create_Thread_to_handle_mail_failed__r_n
push 0x101c895c
push 4
push 0x10200a94
call fcn.1008b760
add esp, 0x10
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 6
call fcn.1000d1e0
lea ecx, [esp + 0x98]
mov byte [esp + 0x1b0], 5
call fcn.100a4a00
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b0], 0
call fcn.10087460
lea ecx, [esp + 8]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.1000d1e0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push ebp
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, eax
mov eax, dword [esi + 0x170]
push 0x64
push eax
call ebx
cmp eax, 0x102
jne 0x1001f9fc
lea ecx, [esp + 0x74]
call fcn.10087710
test eax, eax
je 0x1001f99c
call edi
sub eax, ebp
cmp eax, 0x1d4c0
jle 0x1001f977
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1001f988
mov ecx, esi
call fcn.10020840
jmp 0x1001f988
cmp eax, 0x124f80
jle 0x1001f988
mov eax, dword [esi + 0x134]
test eax, eax
je 0x1001f9a7
mov ecx, dword [esi + 0x170]
push 0x64
push ecx
call ebx
cmp eax, 0x102
je 0x1001f94f
jmp 0x1001f9fc
lea ecx, [esp + 0x74]
call fcn.100072c0
jmp 0x1001f9fc
lea ecx, [esp + 0x74]
call fcn.100875d0
lea ecx, [esp + 0x74]
call fcn.100072c0
lea ecx, [esp + 0x74]
call fcn.10087690
mov dword [esi + 0x138], 0
mov eax, dword [0x10201328]
test eax, eax
je 0x1001f9ee
push str.CSMTPHandler::HandleMailFile:_Timeout__r_n
push 0x101c895c
push 4
push 0x10200a94
call fcn.1008b760
add esp, 0x10
push 0x3e8
push 5
mov ecx, esi
call fcn.100217b0
mov eax, dword [esi + 0x138]
pop ebp
test eax, eax
pop ebx
je 0x1001fa16
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.100201d0
jmp 0x1001fa22
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.100200a0
mov esi, dword [esi + 0x138]
mov dword [esp + 0x6c], 0x10198b6c
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 8
call fcn.1000d1e0
lea ecx, [esp + 0x98]
mov byte [esp + 0x1b0], 7
call fcn.100a4a00
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b0], 0
call fcn.10087460
lea ecx, [esp + 8]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.1000d1e0
mov ecx, dword [esp + 0x1a8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1ac
ret