Function at 0x1000df80
Capabilities:
Check for time delay via gettickcount
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024b612
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x3c0
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x1000e467
mov ebp, dword [esp + 0x3e4]
cmp ebp, ebx
je 0x1000e467
mov edi, dword [esp + 0x3e8]
cmp edi, ebx
je 0x1000e467
mov esi, dword [esp + 0x3ec]
cmp esi, ebx
je 0x1000e467
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100602d0
add esp, 8
mov eax, dword [0x102f7658]
mov dword [esp + 0x3d8], ebx
cmp eax, ebx
je 0x1000e024
mov ecx, dword [esp + 0x3f0]
mov edx, dword [esp + 0x24]
push 0x594
push ecx
push ebp
push edx
push str.CMailSafeDoc::DoDecryptCompressFile_lpwszFile__s__lpwszVirtualPath__s__bNeedDecrypt__d___LINE:__d__n
push str.MailSafeDoc
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x20
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x3c], ecx
push edi
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
call fcn.10007f30
cmp eax, ebx
je 0x1000e438
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x49]
mov byte [esp + 0x48], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push 0x80
push 3
push ebx
stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
push 5
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000e438
mov ecx, dword [ebp]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
push edi
mov dword [esp + 0x44], ebx
call fcn.1000cf90
add esp, 0x14
lea edx, [esp + 0x40]
mov ebp, eax
mov dword [esp + 0x40], ebx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], eax
call fcn.10097720
lea eax, [esp + 0x14]
mov byte [esp + 0x3d8], 1
push eax
push edi
call fcn.101437e0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, ebx
je 0x1000e428
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x1000e306
push 0x102e269c
lea ecx, [esp + 0x20]
call fcn.10082dc0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x3d8], 2
call edi
mov ebp, dword [esp + 0x3e0]
push eax
push ebp
lea ecx, [esp + 0x24]
push str._s__d.tmp
push ecx
call fcn.100864e0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.100602d0
add esp, 0x18
mov eax, dword [esp + 0x3f0]
mov byte [esp + 0x3d8], 3
cmp eax, ebx
push ebx
je 0x1000e17a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push 1
push 2
push ebx
push ecx
push edx
call fcn.101413b0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
jmp 0x1000e18c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.10060d00
add esp, 0xc
cmp eax, ebx
je 0x1000e365
push 0x102e269c
lea ecx, [esp + 0x1c]
call fcn.10082dc0
mov byte [esp + 0x3d8], 4
call edi
push eax
push ebp
lea edx, [esp + 0x20]
push str._s__d.bak
push edx
call fcn.100864e0
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.10060dd0
add esp, 0x18
test eax, eax
je 0x1000e3f5
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
call fcn.10060dd0
add esp, 8
test eax, eax
je 0x1000e3e7
push 0x102e269c
lea ecx, [esp + 0x14]
call fcn.10082dc0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x3e0], 5
call fcn.10008000
test eax, eax
je 0x1000e25a
mov ecx, dword [esp + 0x3e8]
push ecx
call fcn.10040040
add esp, 4
push eax
call edi
push eax
push 1
call fcn.10019a30
add esp, 4
lea edx, [esp + 0x18]
push eax
push str._s_backup_d__s
push edx
call fcn.100864e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push 2
push eax
push ecx
call fcn.10060e90
add esp, 0x20
test eax, eax
jne 0x1000e270
mov edx, dword [esp + 0x18]
push edx
call fcn.10061090
add esp, 4
lea ecx, [esp + 0x10]
call fcn.100832d0
mov eax, dword [esp + 0x3e8]
push eax
call fcn.100900c0
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
xor esi, esi
call fcn.10097920
test eax, eax
jbe 0x1000e29c
lea ecx, [esp + 0x14]
call fcn.10098020
mov esi, eax
mov ebp, dword [esp + 0x3e4]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push ebp
push esi
lea edx, [esp + 0x50]
push ecx
push edx
push eax
push edi
push 0xf
mov ecx, 0x102e2850
call fcn.1001c8f0
cmp dword [0x102f7658], ebx
je 0x1000e2e8
mov ecx, dword [esp + 0x10]
push ecx
push ebp
push str.CMailSafeDoc::DecryptFromCompressFile__s_:_backup_to__s___n
push str.MailSafeDoc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 1
mov byte [esp + 0x3d8], 4
call fcn.10083560
jmp 0x1000e3f5
cmp dword [0x102f7658], ebx
je 0x1000e33c
mov edx, dword [esp + 0x3e4]
push eax
mov eax, dword [esp + 0x3e4]
push edx
push eax
push str.__s__CMailSafeDoc::DecryptFromCompressFile__s_:_No_Access_right__Result:_lu_n
push str.MailSafeDoc
push 4
push 0x102f6dc4
call fcn.10098fb0
mov eax, dword [esp + 0x4c]
add esp, 0x1c
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
push edx
mov edx, dword [esp + 0x3e8]
push ebx
push 2
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push ecx
push edx
mov ecx, 0x102e2808
call fcn.10017560
jmp 0x1000e428
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
call fcn.1013dd40
mov esi, eax
mov eax, dword [0x102f7658]
add esp, 8
cmp eax, ebx
je 0x1000e3bd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3e4]
push edx
mov edx, dword [esp + 0x48]
push eax
push esi
push ecx
mov eax, dword [edx]
push eax
push str.__s__CMailSafeDoc::DecryptFromCompressFile__s_:_Decrypt_file_failed___ESError:__d__ESLine:__d__LastError:__d__n
push str.MailSafeDoc
push 8
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x24
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x34]
push edx
push eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x3ec]
push 2
push esi
push edx
push eax
mov ecx, 0x102e2808
call fcn.10017560
jmp 0x1000e406
mov ecx, dword [esp + 0x18]
push ebp
push ecx
call fcn.10060dd0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x3d8], 3
call fcn.10083560
lea ecx, [esp + 0x20]
mov byte [esp + 0x3d8], 2
call fcn.10083560
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3d8], 1
call fcn.10083560
lea ecx, [esp + 0x14]
mov byte [esp + 0x3d8], bl
call fcn.10097880
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1000e44d
push eax
call fcn.1023d925
add esp, 4
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.10083560
mov eax, dword [esp + 0x38]
jmp 0x1000e469
xor eax, eax
mov ecx, dword [esp + 0x3d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3cc
ret