Function at 0x406be0
Capabilities:
Encrypt data using blowfish
Get file attributes
Hash data using sha1
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42223a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3ffc
call fcn.0041eaa0
mov eax, dword [0x436028]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
push esi
lea ecx, [ebp - 0x2db8]
mov dword [ebp - 0x2dc4], esi
mov dword [ebp - 0x2e20], eax
call dword [0x424970]
xor ebx, ebx
lea ecx, [ebp - 0x2e14]
mov dword [ebp - 4], ebx
call fcn.0041dd7a
lea ecx, [ebp - 0x2dec]
mov byte [ebp - 4], 1
call fcn.0041dd7a
lea ecx, [ebp - 0x2dd8]
push ecx
mov byte [ebp - 4], 2
call fcn.00409a50
lea ecx, [ebp - 0x2dc0]
mov dword [ebp - 0x2e78], ebx
call dword [0x42497c]
mov edi, dword [sym.imp.MSVCR90.dll_memmove]
push 0x48
lea edx, [ebp - 0x400c]
push 0x43a418
push edx
mov dword [ebp - 0x2fc4], ebx
call edi
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x3fc4]
push 0x43a460
push eax
call edi
add esp, 0xc
push 0x206
lea edx, [ebp - 0x2c2]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x2c4], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x7f
lea eax, [ebp - 0xbb]
push ebx
push eax
mov byte [ebp - 0xbc], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x60
xor eax, eax
lea ecx, [ebp - 0x2324]
push ebx
push ecx
mov byte [ebp - 0x232c], bl
mov dword [ebp - 0x232b], eax
mov word [ebp - 0x2327], ax
mov byte [ebp - 0x2325], al
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2dbc]
mov dword [ebp - 0x2e1c], ebx
call dword [0x42497c]
push 0x80
mov byte [ebp - 4], 5
xor eax, eax
lea edx, [ebp - 0xbc]
push ebx
push edx
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x2e20]
mov eax, dword [eax]
push 3
lea ecx, [ebp - 0x2f30]
push eax
lea eax, [ebp - 0x2f34]
mov dword [ebp - 0x2f34], ecx
call fcn.00403620
mov edx, dword [ebp - 0x2f34]
push 0x7f
push edx
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVCR90.dll_strncpy]
mov eax, dword [ebp - 0x2f34]
lea ecx, [ebp - 0x2f30]
add esp, 0xc
cmp eax, ecx
je 0x406d98
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ebx, [ebp - 0x2dbc]
call fcn.00408010
test eax, eax
jne 0x406e7e
mov esi, dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 0x42508c
push str.IDS_STR_CANT_WRITE
lea edx, [ebp - 0x2e44]
push edx
mov ecx, 0x440670
call esi
mov byte [ebp - 4], 6
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2dd8]
call fcn.00407df0
lea ecx, [ebp - 0x2e44]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x42508c
push str.IDS_STR_CANT_WRITE
lea eax, [ebp - 0x2e64]
push eax
mov ecx, 0x440670
call esi
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e64]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dbc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dc0]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dc8]
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dec]
mov byte [ebp - 4], 1
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2e14]
mov byte [ebp - 4], 0
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2db8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
jmp 0x407c96
lea ecx, [ebp - 0x2dbc]
push ecx
lea ecx, [ebp - 0x2db8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esi]
lea edx, [ebp - 0x2dd8]
push edx
push 0x8010
push eax
lea ecx, [ebp - 0x2e14]
call sub.mfc90u.dll_CFile::Open
test eax, eax
jne 0x406f22
mov esi, dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 0x42508c
push str.IDS_STR_CANT_READING
lea eax, [ebp - 0x2e6c]
push eax
mov ecx, 0x440670
call esi
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2dd8]
call fcn.00407df0
lea ecx, [ebp - 0x2e6c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x42508c
push str.IDS_STR_CANT_READING
lea ecx, [ebp - 0x2e74]
push ecx
mov ecx, 0x440670
call esi
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e74]
jmp 0x406e19
mov edx, dword [ebp - 0x2db8]
xor edi, edi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x2dbc]
lea eax, [ebp - 0x2dd8]
push eax
push 0x1011
push ecx
lea ecx, [ebp - 0x2dec]
call sub.mfc90u.dll_CFile::Open
test eax, eax
jne 0x406fc7
mov esi, dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 0x42508c
push str.IDS_STR_CANT_OPEN
lea edx, [ebp - 0x2e7c]
push edx
mov ecx, 0x440670
call esi
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2dd8]
call fcn.00407df0
lea ecx, [ebp - 0x2e7c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x42508c
push str.IDS_STR_CANT_OPEN
lea eax, [ebp - 0x2e84]
push eax
mov ecx, 0x440670
call esi
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e84]
jmp 0x406e19
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2e70], eax
mov eax, dword [esi]
call fcn.00405ec0
call fcn.0041ea26
lea ecx, [ebp - 0x2e8c]
push ecx
mov dword [ebp - 0x2e5c], eax
mov dword [ebp - 0x2e58], edx
mov dword [ebp - 0x2e8c], eax
call fcn.004090d0
mov ebx, dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 0x42508c
push str.IDS_STR_DECRYPT_FILE
lea edx, [ebp - 0x2e94]
push edx
mov ecx, 0x440670
call ebx
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
mov ecx, dword [0x4403e8]
push eax
add ecx, 0x1c8
call sub.mfc90u.dll_CWnd::SetWindowTextW
lea ecx, [ebp - 0x2e94]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x407050
lea eax, [ebp - 0x400c]
mov dword [ebp - 0x2e18], 1
call fcn.00409d90
lea ecx, [ebp - 0xbc]
lea edx, [ebp - 0x400c]
call fcn.0040a000
xor eax, eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov word [ebp - 0x27], ax
mov byte [ebp - 0x25], al
lea eax, [ebp - 0xbc]
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x238c], 0x67452301
mov dword [ebp - 0x2388], 0xefcdab89
mov dword [ebp - 0x2384], 0x98badcfe
mov dword [ebp - 0x2380], 0x10325476
mov dword [ebp - 0x237c], 0xc3d2e1f0
mov dword [ebp - 0x2374], edi
mov dword [ebp - 0x2378], edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4070d6
lea ecx, [ebp - 0xbc]
sub eax, esi
push ecx
lea esi, [ebp - 0x238c]
call fcn.0040b550
add esp, 4
mov ecx, esi
lea edi, [ebp - 0x38]
call fcn.0040b5f0
push 0x1fff
lea edx, [ebp - 0x22c3]
push 0
push edx
mov byte [ebp - 0x22c4], 0
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x2e58]
mov ecx, dword [ebp - 0x2e5c]
add esp, 0xc
push eax
push ecx
call fcn.00408c90
mov byte [0x4403f6], 1
jmp 0x407140
mov dl, byte [0x4403f6]
test dl, dl
je 0x407917
mov al, byte [0x440653]
test al, al
je 0x407917
push 0x2000
lea ecx, [ebp - 0x22c4]
push ecx
lea ecx, [ebp - 0x2e14]
call sub.mfc90u.dll_CFile::Read
mov edi, eax
cmp edi, 0x68
mov dword [ebp - 0x2df8], edi
jl 0x407917
test edi, edi
jle 0x407917
push 0
push edi
call fcn.00408de0
cmp dword [ebp - 0x2e18], 0
lea esi, [ebp - 0x22c4]
je 0x407880
push 0x42508c
push str.IDS_STR_READ_HEADER
lea edx, [ebp - 0x2ea4]
push edx
mov ecx, 0x440670
call ebx
mov ecx, dword [ebp - 0x2dc4]
push ecx
lea edx, [ebp - 0x2e9c]
push edx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00409840
add esp, 8
mov byte [ebp - 4], 0xe
mov esi, dword [eax]
call fcn.00407cc0
lea ecx, [ebp - 0x2e9c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2ea4]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x42508c
push str.IDS_STR_READ_HEADER
lea eax, [ebp - 0x2e40]
push eax
mov ecx, 0x440670
call ebx
mov esi, dword [ebp - 0x2dc4]
lea ecx, [ebp - 0x2eac]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00409840
add esp, 8
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2eac]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2e40]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp edi, 0x68
jae 0x407376
lea ecx, [ebp - 0x2dec]
call sub.mfc90u.dll_CFile::Close
cmp dword [ebp - 0x2e78], 0
jne 0x40728a
lea edx, [ebp - 0x2db8]
push edx
call fcn.00407ed0
lea ecx, [ebp - 0x2ddc]
call dword [0x42497c]
push 0x42508c
push str.IDS_STR_INVALID_HEADER2
lea eax, [ebp - 0x2e3c]
push eax
mov ecx, 0x440670
mov byte [ebp - 4], 0x11
call ebx
mov edi, eax
push 0x42508c
push str.IDS_STR_INVALID_HEADER1
lea ecx, [ebp - 0x2e30]
push ecx
mov ecx, 0x440670
mov byte [ebp - 4], 0x12
call ebx
mov byte [ebp - 4], 0x13
mov edx, dword [edi]
mov ecx, dword [esi]
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x2ddc]
push str._s_s_s
push eax
call edi
add esp, 0x14
lea ecx, [ebp - 0x2e30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2e3c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x42508c
push str.IDS_INVALIDFILE_HEADER
lea ecx, [ebp - 0x2e38]
push ecx
mov ecx, 0x440670
call ebx
mov byte [ebp - 4], 0x14
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
lea eax, [ebp - 0x2ddc]
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x2e38]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2ddc]
call fcn.00407cc0
lea ecx, [ebp - 0x2ddc]
push ecx
mov ecx, 0x440858
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2ddc]
jmp 0x406e19
mov ecx, 0x1a
lea esi, [ebp - 0x22c4]
lea edi, [ebp - 0x232c]
rep movsd dword es:[edi], dword [esi]
mov esi, str.SYSTWEAK_ENCRYPT
lea eax, [ebp - 0x231c]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4073b4
test cl, cl
je 0x4073b0
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4073b4
add eax, 2
add esi, 2
test cl, cl
jne 0x407394
xor eax, eax
jmp 0x4073b9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40748a
lea ecx, [ebp - 0x2dec]
call sub.mfc90u.dll_CFile::Close
lea edx, [ebp - 0x2db8]
push edx
call fcn.00407ed0
lea ecx, [ebp - 0x2e04]
call dword [0x42497c]
push 0x42508c
push str.IDS_STR_INVALID_HEADER2
lea eax, [ebp - 0x2e4c]
push eax
mov ecx, 0x440670
mov byte [ebp - 4], 0x15
call ebx
mov esi, eax
push 0x42508c
push str.IDS_STR_INVALID_HEADER1
lea ecx, [ebp - 0x2e24]
push ecx
mov ecx, 0x440670
mov byte [ebp - 4], 0x16
call ebx
mov ecx, dword [ebp - 0x2dc4]
mov byte [ebp - 4], 0x17
mov edx, dword [esi]
mov eax, dword [eax]
push edx
mov edx, dword [ecx]
push edx
push eax
lea ecx, [ebp - 0x2e04]
push str._s_s_s
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [ebp - 0x2e24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2e4c]
mov byte [ebp - 4], 0x15
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2e04]
call fcn.00407cc0
lea edx, [ebp - 0x2e04]
push edx
mov ecx, 0x440858
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e04]
jmp 0x406e19
lea eax, [ebp - 0x225c]
mov dword [ebp - 0x2e88], eax
mov eax, dword [ebp - 0x2df8]
sub eax, 0x68
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
cmp word [ebp - 0x22bc], 0
mov esi, ecx
mov dword [ebp - 0x2df8], esi
je 0x4074ef
push 0
lea edx, [ebp - 0x400c]
push edx
mov eax, 9
lea ecx, [ebp - 0x232c]
call fcn.00409dd0
movzx eax, word [ebp - 0x2324]
push eax
lea ecx, [ebp - 0x232c]
push ecx
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, 0x14
xor ecx, ecx
jmp 0x407500
mov edx, dword [ebp + ecx - 0x2308]
cmp edx, dword [ebp + ecx - 0x38]
jne 0x4075c7
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x407500
push 0x42508c
push str.IDS_STR_SUCCESS_READ
lea ecx, [ebp - 0x2e98]
push ecx
mov ecx, 0x440670
call ebx
mov byte [ebp - 4], 0x1f
mov esi, dword [eax]
call fcn.00407cc0
lea ecx, [ebp - 0x2e98]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp - 0x2df8]
push 0
lea edx, [ebp - 0x400c]
push edx
lea ecx, [ebp - 0x225c]
call fcn.00409dd0
push 0x42508c
push str.IDS_STR_SUCCESS_READ
lea eax, [ebp - 0x2e60]
push eax
mov ecx, 0x440670
call ebx
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 0x20
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e60]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2dc4]
mov dword [ebp - 0x2e18], 0
call fcn.00409190
mov edi, dword [ebp - 0x2df8]
mov esi, dword [ebp - 0x2e88]
jmp 0x407896
mov edi, dword [ebp - 0x2e1c]
cmp edi, 3
jge 0x4077a4
lea eax, [ebp - 0x2db4]
push eax
call fcn.004037d0
lea ecx, [ebp - 0x22f4]
push ecx
lea ecx, [ebp - 0x2788]
mov byte [ebp - 4], 0x18
call dword [0x424580]
mov eax, dword [0x440794]
push 0x2d9
lea edx, [ebp - 0x2db4]
push edx
push eax
call dword [sym.imp.ASOHelper.dll_public:_static_int___cdecl_CSystweakApp::ShowTranslucentPopWindow_class_CDialog___class_CDialog___unsigned_int_]
mov ecx, dword [0x440794]
mov edx, dword [ecx + 0x14f8]
mov eax, dword [edx + 0x834]
add esp, 0xc
sub eax, 0
je 0x40764e
sub eax, 1
jne 0x407794
call fcn.00419390
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2db4]
push eax
call fcn.00403900
jmp 0x406e1f
mov edx, dword [ebp - 0x2784]
push 3
lea ecx, [ebp - 0x2fb4]
inc edi
push edx
lea eax, [ebp - 0x2fb8]
mov dword [ebp - 0x2e1c], edi
mov dword [ebp - 0x2fb8], ecx
call fcn.00403620
mov eax, dword [ebp - 0x2fb8]
push 0x7f
push eax
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.MSVCR90.dll_strncpy]
mov eax, dword [ebp - 0x2fb8]
lea edx, [ebp - 0x2fb4]
add esp, 0xc
cmp eax, edx
je 0x4076a8
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ecx, [ebp - 0x2e14]
call fcn.00403790
lea ecx, [ebp - 0x2dec]
call fcn.00403790
mov ecx, dword [ebp - 0x2e20]
lea eax, [ebp - 0x2784]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2dfc]
call dword [0x42497c]
push 0x42508c
push str.IDS_STR_ERROR_PWD
lea ecx, [ebp - 0x2ea0]
push ecx
mov ecx, 0x440670
mov byte [ebp - 4], 0x19
call ebx
lea edx, [edi + 1]
push edx
mov byte [ebp - 4], 0x1a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2dfc]
push str._s_d
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [ebp - 0x2ea0]
mov byte [ebp - 4], 0x19
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2dfc]
call fcn.00407cc0
push 0x42508c
push str.IDS_STR_ERROR_PWD
lea edx, [ebp - 0x2e48]
push edx
mov ecx, 0x440670
call ebx
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 0x1b
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dfc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp edi, 3
mov byte [ebp - 4], 5
jg 0x40763d
lea ecx, [ebp - 0x2db4]
push ecx
call fcn.00403900
xor edi, edi
jmp 0x407050
lea edx, [ebp - 0x2db4]
push edx
mov byte [ebp - 4], 5
call fcn.00403900
push 0
push esi
call fcn.00408de0
lea ecx, [ebp - 0x2df4]
call dword [0x42497c]
push 0x42508c
push str.IDS_STR_ERROR_2
lea eax, [ebp - 0x2e50]
push eax
mov ecx, 0x440670
mov byte [ebp - 4], 0x1c
call ebx
mov esi, eax
push 0x42508c
push str.IDS_STR_ERROR_1
lea ecx, [ebp - 0x2e80]
push ecx
mov ecx, 0x440670
mov byte [ebp - 4], 0x1d
call ebx
mov ecx, dword [ebp - 0x2dc4]
mov byte [ebp - 4], 0x1e
mov edx, dword [esi]
mov eax, dword [eax]
push edx
mov edx, dword [ecx]
push edx
push eax
lea ecx, [ebp - 0x2df4]
push str._s_s_s
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [ebp - 0x2e80]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2e50]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2df4]
call fcn.00407cc0
lea edx, [ebp - 0x2df4]
push edx
mov ecx, 0x440858
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2dec]
call sub.mfc90u.dll_CFile::Close
lea ecx, [ebp - 0x2e14]
call sub.mfc90u.dll_CFile::Close
lea eax, [ebp - 0x2db8]
push eax
call fcn.00407ed0
lea ecx, [ebp - 0x2df4]
jmp 0x406e19
push 0
lea ecx, [ebp - 0x400c]
push ecx
mov eax, edi
lea ecx, [ebp - 0x22c4]
call fcn.00409dd0
cmp word [ebp - 0x2324], 0
je 0x4078c4
mov eax, edi
and eax, 0x80000007
jns 0x4078ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4078c4
push eax
mov ecx, esi
lea edx, [ebp - 0x24]
sub ecx, eax
push edx
add ecx, edi
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0x2dec]
mov byte [ebp - 4], 0x21
call sub.mfc90u.dll_CFile::Write
mov dword [ebp - 4], 5
jmp 0x407140
mov edx, dword [0x440794]
mov ecx, dword [edx + 0x14f8]
push 0x4b1
call dword [sym.imp.ASOHelper.dll_public:_void___thiscall_CDlgLeftSideChild::ChangeTheRightSideStep_enum_DLG_BTN_STEPS_]
mov ecx, dword [0x440794]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ASOHelper.dll_public:_void___thiscall_CDlgBaseAppDlg::DisableTopButtons_bool__bool__bool__bool__bool_]
mov ecx, dword [0x440794]
call dword [sym.imp.ASOHelper.dll_public:_void___thiscall_CDlgBaseAppDlg::DisableCloseButton_void_]
mov eax, dword [0x440794]
mov ecx, dword [eax + 0x1474]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ASOHelper.dll_public:_void___thiscall_CDlgLeftDlgBase::DisableLeftButtons_bool__bool__bool__bool__bool__bool__bool_]
lea ecx, [ebp - 0x2dec]
call sub.mfc90u.dll_CFile::Close
lea ecx, [ebp - 0x2e14]
call sub.mfc90u.dll_CFile::Close
cmp dword [ebp - 0x2e18], 0
je 0x407a50
lea ecx, [ebp - 0x2db8]
push ecx
call fcn.00407ed0
lea ecx, [ebp - 0x2e00]
call dword [0x42497c]
push 0x42508c
push str.IDS_STR_FILENOT_ENCRYPT2
lea edx, [ebp - 0x2ea8]
push edx
mov ecx, 0x440670
mov byte [ebp - 4], 0x23
call ebx
mov esi, eax
push 0x42508c
push str.IDS_STR_FILENOT_ENCRYPT1
lea eax, [ebp - 0x2e68]
push eax
mov ecx, 0x440670
mov byte [ebp - 4], 0x24
call ebx
mov edx, dword [ebp - 0x2dc4]
mov byte [ebp - 4], 0x25
mov ecx, dword [esi]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x2e00]
push str._s_s_s
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [ebp - 0x2e68]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2ea8]
mov byte [ebp - 4], 0x23
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2e00]
call fcn.00407cc0
lea ecx, [ebp - 0x2e00]
push ecx
mov ecx, 0x440858
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e00]
jmp 0x406e19
mov dl, byte [0x4403f6]
test dl, dl
je 0x407c22
mov al, byte [0x440653]
test al, al
je 0x407c22
mov edx, dword [ebp - 0x2db8]
lea ecx, [ebp - 0x2dd8]
push ecx
push 0x11
push edx
lea ecx, [ebp - 0x2dec]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x407bb5
lea eax, [ebp - 0x22cc]
push eax
mov eax, dword [ebp - 0x2de8]
lea ecx, [ebp - 0x22d4]
push ecx
lea edx, [ebp - 0x22dc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [ebp - 0x2dec]
call sub.mfc90u.dll_CFile::Close
mov ecx, dword [ebp - 0x2e70]
mov edx, dword [ebp - 0x2db8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [ebp - 0x2dc4]
lea eax, [ebp - 0x2db8]
push edi
push eax
call dword [sym.imp.ASOHelper.dll_enum_PCO_ERROR_CODES___cdecl_ShMoveFile_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
add esp, 8
lea ecx, [ebp - 0x2db8]
push ecx
call fcn.00407ed0
lea ecx, [ebp - 0x2df0]
call dword [0x42497c]
push 0x42508c
push str.IDS_STR_FILEDECRYPT
lea edx, [ebp - 0x2e90]
push edx
mov ecx, 0x440670
mov byte [ebp - 4], 0x28
call ebx
mov byte [ebp - 4], 0x29
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x2df0]
push 0x4264e4
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [ebp - 0x2e90]
mov byte [ebp - 4], 0x28
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x42508c
push str.IDS_STR_FILEDECRYPT
lea ecx, [ebp - 0x2e28]
push ecx
mov ecx, 0x440670
call ebx
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 0x2a
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e28]
mov byte [ebp - 4], 0x28
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2df0]
call fcn.00407cc0
lea edx, [ebp - 0x2df0]
push edx
mov ecx, 0x440858
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push edi
call fcn.004055e0
add esp, 4
lea ecx, [ebp - 0x2df0]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x407c2e
push 0x42508c
push str.IDS_STR_CANTOPEN_AFTER_DEC
lea eax, [ebp - 0x2e2c]
push eax
mov ecx, 0x440670
call ebx
mov byte [ebp - 4], 0x26
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2dd8]
call fcn.00407df0
lea ecx, [ebp - 0x2e2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x42508c
push str.IDS_STR_CANTOPEN_AFTER_DEC
lea ecx, [ebp - 0x2e34]
push ecx
mov ecx, 0x440670
call ebx
push eax
mov ecx, 0x440858
mov byte [ebp - 4], 0x27
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x2e34]
jmp 0x406e19
lea edx, [ebp - 0x2db8]
push edx
call fcn.00407ed0
mov al, byte [0x440653]
xor ecx, ecx
cmp al, 1
sete cl
mov esi, ecx
lea ecx, [ebp - 0x2dbc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dc0]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dc8]
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2dec]
mov byte [ebp - 4], 1
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2e14]
mov byte [ebp - 4], 0
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2db8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041e2f2
mov esp, ebp
pop ebp
ret 4