Function at 0x100324e4
Capabilities:
Get file size

Disassembly:
push 0x3d4
mov eax, 0x101d2421
call fcn.10099872
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x3ac], ecx
mov dword [ebp - 0x3d4], edi
cmp eax, ebx
je 0x10032a0d
cmp ecx, ebx
je 0x10032a0d
cmp edi, ebx
je 0x10032a0d
cmp esi, ebx
je 0x10032a0d
push eax
lea eax, [ebp - 0x3b4]
push eax
call fcn.1001140a
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp dword [0x10269fe8], ebx
je 0x1003257a
push 0x5be
push dword [ebp + 0x18]
push dword [ebp - 0x3ac]
push dword [ebp - 0x3b4]
push str.CMailSafeDoc::DoDecryptCompressFile_lpwszFile__s__lpwszVirtualPath__s__bNeedDecrypt__d___LINE:__d__n
push str.MailSafeDoc
push 4
push 0x10269f7c
call fcn.10025270
add esp, 0x20
mov eax, dword [esi]
mov dword [ebp - 0x3d0], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c0], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x3c8], eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3dc], esi
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3bc], ebx
call fcn.100e3020
mov byte [ebp - 4], 1
push edi
mov ecx, esi
call fcn.10030664
cmp eax, ebx
je 0x100329e8
xor eax, eax
mov byte [ebp - 0x398], bl
lea edi, [ebp - 0x397]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x378
stosb byte es:[edi], al
lea eax, [ebp - 0x388]
push ebx
push eax
call fcn.10099920
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocStringLen
push dword [ebp - 0x3b4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100329e8
lea eax, [ebp - 0x3b8]
push eax
mov eax, dword [ebp - 0x3c8]
push dword [eax]
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x3a4]
push eax
push esi
mov dword [ebp - 0x3a4], ebx
call fcn.1003216a
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x3cc]
push eax
push esi
mov dword [ebp - 0x3cc], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0x3e0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x100329d4
cmp dword [ebp - 0x3a4], ebx
je 0x100326e8
cmp dword [0x10269fe8], ebx
je 0x100326ba
push dword [ebp - 0x3a4]
push dword [ebp - 0x3ac]
push dword [ebp - 0x39c]
push str.__s__CMailSafeDoc::DecryptFromCompressFile__s_:_No_Access_right__Result:_lu_n
push str.MailSafeDoc
push 4
push 0x10269f7c
call fcn.10025270
add esp, 0x1c
mov eax, dword [ebp - 0x3c0]
push dword [eax]
mov eax, dword [ebp - 0x3d0]
push ebx
push 2
push dword [ebp - 0x3a4]
mov ecx, 0x1026be70
push dword [eax]
push dword [ebp - 0x3ac]
call fcn.100369bc
jmp 0x100329d4
mov esi, 0x101e6ae4
push esi
lea ecx, [ebp - 0x3a8]
call fcn.100ce7b0
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push dword [ebp - 0x39c]
lea eax, [ebp - 0x3a8]
push 0x101f2038
push eax
call fcn.100d1ed0
push dword [ebp - 0x3a8]
lea eax, [ebp - 0x3b0]
push eax
call fcn.1001140a
add esp, 0x18
mov byte [ebp - 4], 3
push ebx
cmp dword [ebp + 0x18], ebx
je 0x1003275c
push 1
push 2
push ebx
push dword [ebp - 0x3b0]
push dword [ebp - 0x3b4]
call fcn.10101350
add esp, 0x18
neg eax
sbb eax, eax
inc eax
jmp 0x10032770
push dword [ebp - 0x3b0]
push dword [ebp - 0x3b4]
call fcn.10010e43
add esp, 0xc
cmp eax, ebx
jne 0x10032805
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x3a4]
push eax
mov dword [ebp - 0x3a4], ebx
mov dword [ebp - 0x39c], ebx
call fcn.100fdce0
pop ecx
pop ecx
mov esi, eax
cmp dword [0x10269fe8], ebx
je 0x100327d7
push dword [ebp - 0x3a4]
mov eax, dword [ebp - 0x3d8]
push dword [ebp - 0x39c]
push esi
push dword [ebp - 0x3ac]
push dword [eax]
push str.__s__CMailSafeDoc::DecryptFromCompressFile__s_:_Decrypt_file_failed___ESError:__d__ESLine:__d__LastError:__d__n
push str.MailSafeDoc
push 8
push 0x10269f7c
call fcn.10025270
add esp, 0x24
mov eax, dword [ebp - 0x3c0]
push dword [eax]
mov eax, dword [ebp - 0x3d0]
push dword [ebp - 0x3a4]
mov ecx, 0x1026be70
push 2
push esi
push dword [eax]
push dword [ebp - 0x3ac]
call fcn.100369bc
jmp 0x100329b6
push esi
lea ecx, [ebp - 0x3a0]
call fcn.100ce7b0
mov byte [ebp - 4], 4
call edi
push eax
push dword [ebp - 0x39c]
lea eax, [ebp - 0x3a0]
push str._s__d.bak
push eax
call fcn.100d1ed0
push dword [ebp - 0x3a0]
push dword [ebp - 0x39c]
call fcn.10010ed9
add esp, 0x18
test eax, eax
je 0x100329a7
push dword [ebp - 0x39c]
push dword [ebp - 0x3a8]
call fcn.10010ed9
pop ecx
pop ecx
test eax, eax
je 0x10032994
push esi
lea ecx, [ebp - 0x39c]
call fcn.100ce7b0
mov byte [ebp - 4], 5
push dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x3dc]
push dword [ebp - 0x3e0]
call fcn.100304c1
test eax, eax
je 0x100328d5
push dword [ebp - 0x3d4]
call fcn.1003e2c4
pop ecx
push eax
call edi
push eax
push 1
call fcn.10037edb
pop ecx
push eax
lea eax, [ebp - 0x39c]
push str._s_backup_d__s
push eax
call fcn.100d1ed0
push 2
push dword [ebp - 0x39c]
push dword [ebp - 0x3a0]
call fcn.10010f6c
add esp, 0x20
test eax, eax
jne 0x100328ec
push dword [ebp - 0x3a0]
call fcn.100110d8
pop ecx
lea ecx, [ebp - 0x39c]
call fcn.100cecc0
push dword [ebp - 0x3d4]
call fcn.100dbab0
pop ecx
lea ecx, [ebp - 0x3b8]
mov esi, eax
call fcn.100e3220
test eax, eax
jbe 0x10032916
lea ecx, [ebp - 0x3b8]
call fcn.100e3920
jmp 0x10032918
xor eax, eax
push ebx
push dword [ebp - 0x3c0]
mov ecx, 0x1026bd20
push dword [ebp - 0x3c8]
push dword [ebp - 0x3ac]
push eax
push dword [ebp - 0x3bc]
lea eax, [ebp - 0x398]
push eax
push dword [ebp - 0x39c]
push esi
push 0xf
call fcn.1003b371
cmp dword [0x10269fe8], ebx
je 0x10032979
push dword [ebp - 0x39c]
push dword [ebp - 0x3ac]
push str.CMailSafeDoc::DecryptFromCompressFile__s_:_backup_to__s___n
push str.MailSafeDoc
push 1
push 0x10269f7c
call fcn.10025270
add esp, 0x18
mov dword [ebp - 0x3c4], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x39c]
call fcn.100cef50
jmp 0x100329a7
push dword [ebp - 0x39c]
push dword [ebp - 0x3a0]
call fcn.10010ed9
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a0]
call fcn.100cef50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3b0]
call fcn.100cef50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3a8]
call fcn.100cef50
cmp dword [ebp - 0x3bc], ebx
je 0x100329e8
push dword [ebp - 0x3bc]
call fcn.10066289
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3b8]
call fcn.100e3180
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b4]
call fcn.100cef50
mov eax, dword [ebp - 0x3c4]
jmp 0x10032a0f
xor eax, eax
call fcn.100998f5
ret