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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024e05d
push eax
mov eax, dword [0x102f7658]
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0xf4]
cmp eax, ebx
je 0x1002ef6d
mov eax, dword [edi + 0x24]
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:_Start_to_handle_mailfile__s__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
lea ecx, [esp + 0x38]
call fcn.100b3110
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xec], ebx
call esi
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x38]
push eax
call fcn.10053730
test eax, eax
jne 0x1002efda
mov dword [edi + 0x50], 1
mov eax, dword [0x102f7658]
cmp eax, ebx
je 0x1002efbf
push str.CUnsendMailHandle::ParseAndRepackMail::_Parse_mail_file_failed_r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
lea ecx, [esp + 0x38]
mov dword [esp + 0xec], 0xffffffff
call fcn.100b3280
xor eax, eax
jmp 0x1002f5ea
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.10054100
push eax
lea ecx, [edi + 0x14]
mov byte [esp + 0xf0], 1
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.10083560
lea edx, [esp + 0x10]
lea ecx, [esp + 0x38]
push edx
call fcn.100543e0
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0xf0], 2
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.10083560
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
call fcn.10054300
push eax
lea ecx, [edi + 0xc]
mov byte [esp + 0xf0], 3
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.10083560
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.10054220
push eax
lea ecx, [edi + 8]
mov byte [esp + 0xf0], 4
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.10083560
cmp dword [0x102f7658], ebx
je 0x1002f0d9
push str.CUnsendMailHandle::ParseAndRepackMail:_Finish_to_parse_mailfile__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
mov eax, dword [0x102f7658]
add esp, 0x10
cmp eax, ebx
je 0x1002f0d9
push str.CUnsendMailHandle::ParseAndRepackMail:__Start_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
push ebp
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [edi + 0x4c]
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xfc], 5
call fcn.10052800
test eax, eax
je 0x1002f2af
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1002f307
call esi
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x14]
push ebx
push eax
mov eax, dword [esp + 0x100]
mov byte [esp + 0xf8], 6
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
push ecx
push edx
lea eax, [esp + 0x3c]
push ebx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.1000bee0
mov ebp, eax
mov eax, dword [0x102f7658]
add esp, 0x1c
cmp eax, ebx
je 0x1002f192
call esi
sub eax, edi
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:__Decrypt_Mail_take_takes__d
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
mov eax, dword [0x102f7658]
add esp, 0x14
cmp ebp, ebx
je 0x1002f35f
cmp dword [esp + 0x14], ebx
je 0x1002f428
call esi
mov ebp, dword [esp + 0xf8]
mov edi, eax
lea edx, [esp + 0x2c]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x4c]
push eax
push edx
push ecx
lea ecx, [esp + 0x48]
call fcn.10052f20
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x1002f4f1
mov dword [ebp + 0x1c], 1
mov eax, dword [0x102f7658]
cmp eax, ebx
je 0x1002f1ff
call esi
sub eax, edi
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:__Finish_to_Repack__Takes__d._Finish_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
cmp esi, ebx
mov byte [esp + 0xf0], 5
je 0x1002f25c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f253
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 0xd
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], 5
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f225
mov esi, dword [esp + 0x2c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf0], bl
cmp esi, ebx
je 0x1002f5ba
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f5b1
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 0xe
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], bl
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f281
jmp 0x1002f5ad
cmp dword [0x102f7658], ebx
je 0x1002f2d0
push str.CUnsendMailHandle::ParseAndRepackMail:__Extract_attachment_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf0], bl
je 0x1002f5ba
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1002f5b1
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x1002f2f5
jmp 0x1002f5ad
cmp dword [0x102f7658], ebx
je 0x1002f32c
push str.CUnsendMailHandle::ParseAndRepackMail:__No_attachment__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf0], bl
je 0x1002f5ba
cmp eax, ebx
je 0x1002f5b1
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x1002f34d
jmp 0x1002f5ad
cmp eax, ebx
je 0x1002f37c
push str.CUnsendMailHandle::ParseAndRepackMail:__Decrypt_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf0], 5
je 0x1002f3d5
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f3cc
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 7
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], 5
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f39e
mov esi, dword [esp + 0x2c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf0], bl
cmp esi, ebx
je 0x1002f5ba
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f5b1
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 8
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], bl
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f3fa
jmp 0x1002f5ad
cmp eax, ebx
je 0x1002f445
push str.CUnsendMailHandle::ParseAndRepackMail:__Neednt_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf0], 5
je 0x1002f49e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f495
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 9
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], 5
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f467
mov esi, dword [esp + 0x2c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf0], bl
cmp esi, ebx
je 0x1002f5ba
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f5b1
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 0xa
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], bl
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f4c3
jmp 0x1002f5ad
cmp dword [0x102f7658], ebx
je 0x1002f512
push str.CUnsendMailHandle::ParseAndRepackMail:__ReplaceAndSave_attachment_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov byte [esp + 0xf0], 5
cmp esi, ebx
je 0x1002f567
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f55e
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 0xb
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], 5
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f530
mov esi, dword [esp + 0x2c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf0], bl
cmp esi, ebx
je 0x1002f5ba
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x1002f5b1
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf0], 0xc
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0xf0], bl
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1002f584
mov esi, dword [esp + 0x1c]
push esi
call fcn.1023d925
add esp, 4
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0x3c]
mov dword [eax + 0x50], 1
call fcn.10054170
lea ecx, [esp + 0x3c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.100b3280
mov eax, dword [esp + 0x18]
pop ebp
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 4