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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024aafc
push eax
mov eax, dword [0x102f7658]
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x10006dd2
push str.CMailHandle::RepackMail:__Start_to_decrypt__r_n
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [eax + 0x198], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], ebx
push ecx
mov ecx, dword [esi + 0x28]
call fcn.10021ed0
mov edx, dword [esi + 0x28]
mov eax, dword [eax]
lea ecx, [esi + 0x2c]
mov byte [esp + 0x54], 1
mov edx, dword [edx + 0x14c]
mov dword [esp + 0x20], ecx
push edx
lea edx, [esp + 0x30]
push edx
push eax
call fcn.10052800
test eax, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], bl
sete byte [esp + 0x13]
call fcn.10083560
cmp byte [esp + 0x13], bl
jne 0x10007079
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100070d2
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 0x28]
mov byte [esp + 0x54], 2
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x64]
mov ebp, dword [eax + 0x68]
push ecx
lea ecx, [esp + 0x20]
push ecx
push edx
mov edx, dword [eax + 0x54]
push ebp
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.1000bee0
mov ebp, eax
mov eax, dword [0x102f7658]
add esp, 0x1c
cmp eax, ebx
je 0x10006ec8
call edi
sub eax, dword [esp + 0x18]
push eax
push str.CMailHandle::RepackMail:__Decrypt_Mail_take_takes__d
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
mov eax, dword [0x102f7658]
add esp, 0x14
cmp ebp, ebx
je 0x1000712b
cmp dword [esp + 0x1c], ebx
je 0x100071b0
call edi
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
call fcn.10021e20
mov ecx, dword [esi + 0x28]
push eax
add ecx, 0x1c0
mov byte [esp + 0x58], 3
call fcn.100836f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 2
call fcn.10083560
mov ecx, dword [esi + 0x28]
lea eax, [esp + 0x24]
push eax
mov ebp, dword [ecx + 0x1c0]
call fcn.10021ed0
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x60], 4
call fcn.10052f20
mov ebp, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x54], 2
call fcn.10083560
cmp ebp, ebx
je 0x10007235
mov edx, dword [esi + 0x28]
mov ebp, 1
lea ecx, [esi + 0x100]
mov dword [edx + 0x198], ebp
mov eax, dword [esi + 0x28]
add eax, 0x1c0
push eax
call fcn.100836f0
lea ecx, [esp + 0x28]
mov dword [esi + 0xf4], ebp
mov dword [esi + 0x128], ebp
call fcn.1000f3d0
mov eax, dword [esi + 0x120]
add esi, 0xd8
push eax
push esi
mov byte [esp + 0x5c], 7
call fcn.1000f4d0
mov eax, dword [0x102f7658]
add esp, 8
cmp eax, ebx
je 0x10006fd0
call edi
sub eax, dword [esp + 0x18]
push eax
push str.CMailHandle::RepackMail:__Finish_to_Repack__Takes__d._Finish_to_decrypt__r_n
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 2
call fcn.1000f4c0
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x54], bl
cmp esi, ebx
je 0x10007028
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], esi
cmp eax, ebx
je 0x1000701f
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x54], 8
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0x54], bl
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x18], esi
jne 0x10006ff8
mov esi, dword [esp + 0x3c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x2c]
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x54], ebp
je 0x100072ed
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], esi
cmp eax, ebx
je 0x100072e4
lea edi, [eax]
mov ebx, 9
lea ecx, [esi + 8]
mov dword [esp + 0x54], ebx
call fcn.10083560
lea ecx, [esi + 4]
mov dword [esp + 0x54], ebp
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x18], esi
jne 0x10007052
jmp 0x100072e0
cmp dword [0x102f7658], ebx
je 0x1000709a
push str.CMailHandle::RepackMail:__Extract_attachment_failed__r_n
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
cmp esi, ebx
mov dword [esp + 0x54], 0xffffffff
je 0x100072ed
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100072e4
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x100070c0
jmp 0x100072e0
cmp dword [0x102f7658], ebx
je 0x100070f7
push str.CMailHandle::RepackMail:__No_attachment__r_n
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
mov eax, dword [esp + 0x40]
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
cmp esi, ebx
mov dword [esp + 0x54], 0xffffffff
je 0x100072ed
cmp eax, ebx
je 0x100072e4
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x10007119
jmp 0x100072e0
cmp eax, ebx
je 0x10007148
push str.CMailHandle::RepackMail:__Decrypt_failed__r_n
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
cmp esi, ebx
mov byte [esp + 0x54], bl
je 0x1000717c
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x10007173
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x10007162
mov esi, dword [esp + 0x3c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
cmp esi, ebx
je 0x100072ed
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100072e4
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x1000719e
jmp 0x100072e0
cmp eax, ebx
je 0x100071cd
push str.CMailHandle::RepackMail:__Neednt_to_decrypt__r_n
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
cmp esi, ebx
mov byte [esp + 0x54], bl
je 0x10007201
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x100071f8
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x100071e7
mov esi, dword [esp + 0x3c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
cmp esi, ebx
je 0x100072ed
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100072e4
lea edi, [eax]
mov ecx, esi
call fcn.10007460
add esi, 0xc
dec edi
jne 0x10007223
jmp 0x100072e0
cmp dword [0x102f7658], ebx
je 0x10007256
push str.CMailHandle::RepackMail:__ReplaceAndSave_attachment_failed__r_n
push str.CMailHandle
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x54], bl
cmp esi, ebx
je 0x1000729e
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], esi
cmp edi, ebx
je 0x10007295
lea ecx, [esi + 8]
mov byte [esp + 0x54], 5
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0x54], bl
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x18], esi
jne 0x1000726e
mov esi, dword [esp + 0x3c]
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x2c]
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x54], ebp
je 0x100072ed
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
cmp edi, ebx
je 0x100072e4
mov ebx, 6
lea ecx, [esi + 8]
mov dword [esp + 0x54], ebx
call fcn.10083560
lea ecx, [esi + 4]
mov dword [esp + 0x54], ebp
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x18], esi
jne 0x100072be
mov esi, dword [esp + 0x2c]
push esi
call fcn.1023d925
add esp, 4
mov ecx, dword [esp + 0x20]
call fcn.10054170
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret