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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420aee
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3d94
call fcn.0041d6a0
mov eax, dword [0x433028]
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 - 0x2b58]
mov dword [ebp - 0x2b64], esi
mov dword [ebp - 0x2bc0], eax
call dword [0x4228d4]
xor ebx, ebx
lea ecx, [ebp - 0x2bb4]
mov dword [ebp - 4], ebx
call fcn.0041c980
lea ecx, [ebp - 0x2b8c]
mov byte [ebp - 4], 1
call fcn.0041c980
lea ecx, [ebp - 0x2b78]
push ecx
mov byte [ebp - 4], 2
call fcn.004097c0
lea ecx, [ebp - 0x2b60]
mov dword [ebp - 0x2bcc], ebx
call dword [0x422924]
mov edi, dword [sym.imp.MSVCR90.dll_memmove]
push 0x48
lea edx, [ebp - 0x3da4]
push 0x437418
push edx
mov dword [ebp - 0x2d5c], ebx
call edi
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x3d5c]
push 0x437460
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 - 0x2b5c]
mov dword [ebp - 0x2bbc], ebx
call dword [0x422924]
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 - 0x2bc0]
mov eax, dword [eax]
push 3
lea ecx, [ebp - 0x2cc8]
push eax
lea eax, [ebp - 0x2ccc]
mov dword [ebp - 0x2ccc], ecx
call fcn.00403550
mov edx, dword [ebp - 0x2ccc]
push 0x7f
push edx
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVCR90.dll_strncpy]
mov eax, dword [ebp - 0x2ccc]
lea ecx, [ebp - 0x2cc8]
add esp, 0xc
cmp eax, ecx
je 0x406c68
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ebx, [ebp - 0x2b5c]
call fcn.00407eb0
test eax, eax
jne 0x406d4e
mov esi, dword [sym.imp.SolvusoftWMhelper.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 0x42803c
push str.IDS_STR_CANT_WRITE
lea edx, [ebp - 0x2be8]
push edx
mov ecx, 0x43d668
call esi
mov byte [ebp - 4], 6
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2b78]
call fcn.00407c90
lea ecx, [ebp - 0x2be8]
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 0x42803c
push str.IDS_STR_CANT_WRITE
lea eax, [ebp - 0x2bfc]
push eax
mov ecx, 0x43d668
call esi
push eax
mov ecx, 0x43d820
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 - 0x2bfc]
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 - 0x2b5c]
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 - 0x2b60]
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 - 0x2b68]
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 - 0x2b8c]
mov byte [ebp - 4], 1
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2bb4]
mov byte [ebp - 4], 0
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2b58]
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 0x407b38
lea ecx, [ebp - 0x2b5c]
push ecx
lea ecx, [ebp - 0x2b58]
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 - 0x2b78]
push edx
push 0x8010
push eax
lea ecx, [ebp - 0x2bb4]
call sub.mfc90u.dll_CFile::Open
test eax, eax
jne 0x406df2
mov esi, dword [sym.imp.SolvusoftWMhelper.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 0x42803c
push str.IDS_STR_CANT_READING
lea eax, [ebp - 0x2c04]
push eax
mov ecx, 0x43d668
call esi
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2b78]
call fcn.00407c90
lea ecx, [ebp - 0x2c04]
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 0x42803c
push str.IDS_STR_CANT_READING
lea ecx, [ebp - 0x2c0c]
push ecx
mov ecx, 0x43d668
call esi
push eax
mov ecx, 0x43d820
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 - 0x2c0c]
jmp 0x406ce9
mov edx, dword [ebp - 0x2b58]
xor edi, edi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x2b5c]
lea eax, [ebp - 0x2b78]
push eax
push 0x1011
push ecx
lea ecx, [ebp - 0x2b8c]
call sub.mfc90u.dll_CFile::Open
test eax, eax
jne 0x406e97
mov esi, dword [sym.imp.SolvusoftWMhelper.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 0x42803c
push str.IDS_STR_CANT_OPEN
lea edx, [ebp - 0x2c14]
push edx
mov ecx, 0x43d668
call esi
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2b78]
call fcn.00407c90
lea ecx, [ebp - 0x2c14]
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 0x42803c
push str.IDS_STR_CANT_OPEN
lea eax, [ebp - 0x2c1c]
push eax
mov ecx, 0x43d668
call esi
push eax
mov ecx, 0x43d820
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 - 0x2c1c]
jmp 0x406ce9
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2c08], eax
mov eax, dword [esi]
call fcn.00405d90
call fcn.0041d626
lea ecx, [ebp - 0x2c24]
push ecx
mov dword [ebp - 0x2bf4], eax
mov dword [ebp - 0x2bf0], edx
mov dword [ebp - 0x2c24], eax
call fcn.00408e40
mov ebx, dword [sym.imp.SolvusoftWMhelper.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 0x42803c
push str.IDS_STR_DECRYPT_FILE
lea edx, [ebp - 0x2c2c]
push edx
mov ecx, 0x43d668
call ebx
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
mov ecx, dword [0x43d3e8]
push eax
add ecx, 0x18c
call sub.mfc90u.dll_CWnd::SetWindowTextW
lea ecx, [ebp - 0x2c2c]
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 0x406f20
lea eax, [ebp - 0x3da4]
mov dword [ebp - 0x2bb8], 1
call fcn.00409b00
lea ecx, [ebp - 0xbc]
lea edx, [ebp - 0x3da4]
call fcn.00409d70
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 0x406fa6
lea ecx, [ebp - 0xbc]
sub eax, esi
push ecx
lea esi, [ebp - 0x238c]
call fcn.0040b2c0
add esp, 4
mov ecx, esi
lea edi, [ebp - 0x38]
call fcn.0040b360
push 0x1fff
lea edx, [ebp - 0x22c3]
push 0
push edx
mov byte [ebp - 0x22c4], 0
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x2bf0]
mov ecx, dword [ebp - 0x2bf4]
add esp, 0xc
push eax
push ecx
call fcn.00408a10
mov byte [0x43d3f5], 1
jmp 0x407010
mov dl, byte [0x43d3f5]
test dl, dl
je 0x4077b9
mov al, byte [0x43d655]
test al, al
je 0x4077b9
push 0x2000
lea ecx, [ebp - 0x22c4]
push ecx
lea ecx, [ebp - 0x2bb4]
call sub.mfc90u.dll_CFile::Read
mov edi, eax
cmp edi, 0x68
mov dword [ebp - 0x2b98], edi
jl 0x4077b9
test edi, edi
jle 0x4077b9
push 0
push edi
call fcn.00408b50
cmp dword [ebp - 0x2bb8], 0
lea esi, [ebp - 0x22c4]
je 0x407722
push 0x42803c
push str.IDS_STR_READ_HEADER
lea edx, [ebp - 0x2c3c]
push edx
mov ecx, 0x43d668
call ebx
mov ecx, dword [ebp - 0x2b64]
push ecx
lea edx, [ebp - 0x2c34]
push edx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.004095b0
add esp, 8
mov byte [ebp - 4], 0xe
mov esi, dword [eax]
call fcn.00407b60
lea ecx, [ebp - 0x2c34]
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 - 0x2c3c]
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 0x42803c
push str.IDS_STR_READ_HEADER
lea eax, [ebp - 0x2bdc]
push eax
mov ecx, 0x43d668
call ebx
mov esi, dword [ebp - 0x2b64]
lea ecx, [ebp - 0x2c44]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004095b0
add esp, 8
push eax
mov ecx, 0x43d820
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 - 0x2c44]
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 - 0x2bdc]
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 0x40721c
lea ecx, [ebp - 0x2b8c]
call sub.mfc90u.dll_CFile::Close
cmp dword [ebp - 0x2bcc], 0
jne 0x40715a
lea edx, [ebp - 0x2b58]
push edx
call fcn.00407d70
lea ecx, [ebp - 0x2b7c]
call dword [0x422924]
push 0x42803c
push str.IDS_STR_INVALID_HEADER2
lea eax, [ebp - 0x2bd4]
push eax
mov ecx, 0x43d668
mov byte [ebp - 4], 0x11
call ebx
mov edi, eax
push 0x42803c
push str.IDS_STR_INVALID_HEADER1
lea ecx, [ebp - 0x2bd8]
push ecx
mov ecx, 0x43d668
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 - 0x2b7c]
push str._s_s_s
push eax
call edi
add esp, 0x14
lea ecx, [ebp - 0x2bd8]
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 - 0x2bd4]
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 ecx, dword [esi]
push ecx
lea edx, [ebp - 0x2b7c]
push str.Invalid_File_:__s___Invalid_header.
push edx
call edi
mov esi, dword [ebp - 0x2b7c]
add esp, 0xc
call fcn.00407b60
lea eax, [ebp - 0x2b7c]
push eax
mov ecx, 0x43d820
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 - 0x2b7c]
jmp 0x406ce9
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]
lea ebx, [ebx]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x407260
test cl, cl
je 0x40725c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x407260
add eax, 2
add esi, 2
test cl, cl
jne 0x407240
xor eax, eax
jmp 0x407265
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407336
lea ecx, [ebp - 0x2b8c]
call sub.mfc90u.dll_CFile::Close
lea ecx, [ebp - 0x2b58]
push ecx
call fcn.00407d70
lea ecx, [ebp - 0x2ba4]
call dword [0x422924]
push 0x42803c
push str.IDS_STR_INVALID_HEADER2
lea edx, [ebp - 0x2bc4]
push edx
mov ecx, 0x43d668
mov byte [ebp - 4], 0x14
call ebx
mov esi, eax
push 0x42803c
push str.IDS_STR_INVALID_HEADER1
lea eax, [ebp - 0x2be0]
push eax
mov ecx, 0x43d668
mov byte [ebp - 4], 0x15
call ebx
mov edx, dword [ebp - 0x2b64]
mov byte [ebp - 4], 0x16
mov ecx, dword [esi]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x2ba4]
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 - 0x2be0]
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 - 0x2bc4]
mov byte [ebp - 4], 0x14
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 - 0x2ba4]
call fcn.00407b60
lea ecx, [ebp - 0x2ba4]
push ecx
mov ecx, 0x43d820
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 - 0x2ba4]
jmp 0x406ce9
mov eax, dword [ebp - 0x2b98]
sub eax, 0x68
xor ecx, ecx
test eax, eax
setle cl
lea edx, [ebp - 0x225c]
mov dword [ebp - 0x2c20], edx
dec ecx
and ecx, eax
cmp word [ebp - 0x22bc], 0
mov esi, ecx
mov dword [ebp - 0x2b98], esi
je 0x40739b
push 0
lea edx, [ebp - 0x3da4]
push edx
mov eax, 9
lea ecx, [ebp - 0x232c]
call fcn.00409b40
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
mov edx, dword [ebp + ecx - 0x2308]
cmp edx, dword [ebp + ecx - 0x38]
jne 0x407469
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x4073a2
push 0x42803c
push str.IDS_STR_SUCCESS_READ
lea ecx, [ebp - 0x2c30]
push ecx
mov ecx, 0x43d668
call ebx
mov byte [ebp - 4], 0x1e
mov esi, dword [eax]
call fcn.00407b60
lea ecx, [ebp - 0x2c30]
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 - 0x2b98]
push 0
lea edx, [ebp - 0x3da4]
push edx
lea ecx, [ebp - 0x225c]
call fcn.00409b40
push 0x42803c
push str.IDS_STR_SUCCESS_READ
lea eax, [ebp - 0x2bf8]
push eax
mov ecx, 0x43d668
call ebx
push eax
mov ecx, 0x43d820
mov byte [ebp - 4], 0x1f
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 - 0x2bf8]
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 - 0x2b64]
mov dword [ebp - 0x2bb8], 0
call fcn.00408f00
mov edi, dword [ebp - 0x2b98]
mov esi, dword [ebp - 0x2c20]
jmp 0x407738
mov edi, dword [ebp - 0x2bbc]
cmp edi, 3
jge 0x407646
lea eax, [ebp - 0x2b54]
push eax
call fcn.00403700
lea ecx, [ebp - 0x22f4]
push ecx
lea ecx, [ebp - 0x2700]
mov byte [ebp - 4], 0x17
call dword [0x422540]
mov eax, dword [0x43d778]
push 0x2d9
lea edx, [ebp - 0x2b54]
push edx
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_int___cdecl_CSystweakApp::ShowTranslucentPopWindow_class_CDialog___class_CDialog___unsigned_int_]
mov ecx, dword [0x43d778]
mov edx, dword [ecx + 0x11cc]
mov eax, dword [edx + 0x6f8]
add esp, 0xc
sub eax, 0
je 0x4074f0
sub eax, 1
jne 0x407636
call fcn.00418160
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2b54]
push eax
call fcn.00403830
jmp 0x406cef
mov edx, dword [ebp - 0x26fc]
push 3
lea ecx, [ebp - 0x2d4c]
inc edi
push edx
lea eax, [ebp - 0x2d50]
mov dword [ebp - 0x2bbc], edi
mov dword [ebp - 0x2d50], ecx
call fcn.00403550
mov eax, dword [ebp - 0x2d50]
push 0x7f
push eax
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.MSVCR90.dll_strncpy]
mov eax, dword [ebp - 0x2d50]
lea edx, [ebp - 0x2d4c]
add esp, 0xc
cmp eax, edx
je 0x40754a
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ecx, [ebp - 0x2bb4]
call fcn.004036c0
lea ecx, [ebp - 0x2b8c]
call fcn.004036c0
mov ecx, dword [ebp - 0x2bc0]
lea eax, [ebp - 0x26fc]
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 - 0x2b9c]
call dword [0x422924]
push 0x42803c
push str.IDS_STR_ERROR_PWD
lea ecx, [ebp - 0x2c38]
push ecx
mov ecx, 0x43d668
mov byte [ebp - 4], 0x18
call ebx
lea edx, [edi + 1]
push edx
mov byte [ebp - 4], 0x19
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b9c]
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 - 0x2c38]
mov byte [ebp - 4], 0x18
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 - 0x2b9c]
call fcn.00407b60
push 0x42803c
push str.IDS_STR_ERROR_PWD
lea edx, [ebp - 0x2be4]
push edx
mov ecx, 0x43d668
call ebx
push eax
mov ecx, 0x43d820
mov byte [ebp - 4], 0x1a
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 - 0x2be4]
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 - 0x2b9c]
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 0x4074df
lea ecx, [ebp - 0x2b54]
push ecx
call fcn.00403830
xor edi, edi
jmp 0x406f20
lea edx, [ebp - 0x2b54]
push edx
mov byte [ebp - 4], 5
call fcn.00403830
push 0
push esi
call fcn.00408b50
lea ecx, [ebp - 0x2b94]
call dword [0x422924]
push 0x42803c
push str.IDS_STR_ERROR_2
lea eax, [ebp - 0x2bec]
push eax
mov ecx, 0x43d668
mov byte [ebp - 4], 0x1b
call ebx
mov esi, eax
push 0x42803c
push str.IDS_STR_ERROR_1
lea ecx, [ebp - 0x2c18]
push ecx
mov ecx, 0x43d668
mov byte [ebp - 4], 0x1c
call ebx
mov ecx, dword [ebp - 0x2b64]
mov byte [ebp - 4], 0x1d
mov edx, dword [esi]
mov eax, dword [eax]
push edx
mov edx, dword [ecx]
push edx
push eax
lea ecx, [ebp - 0x2b94]
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 - 0x2c18]
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 - 0x2bec]
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_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2b94]
call fcn.00407b60
lea edx, [ebp - 0x2b94]
push edx
mov ecx, 0x43d820
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 - 0x2b8c]
call sub.mfc90u.dll_CFile::Close
lea ecx, [ebp - 0x2bb4]
call sub.mfc90u.dll_CFile::Close
lea eax, [ebp - 0x2b58]
push eax
call fcn.00407d70
lea ecx, [ebp - 0x2b94]
jmp 0x406ce9
push 0
lea ecx, [ebp - 0x3da4]
push ecx
mov eax, edi
lea ecx, [ebp - 0x22c4]
call fcn.00409b40
cmp word [ebp - 0x2324], 0
je 0x407766
mov eax, edi
and eax, 0x80000007
jns 0x407750
dec eax
or eax, 0xfffffff8
inc eax
je 0x407766
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 - 0x2b8c]
mov byte [ebp - 4], 0x20
call sub.mfc90u.dll_CFile::Write
mov dword [ebp - 4], 5
jmp 0x407010
mov edx, dword [0x43d778]
mov ecx, dword [edx + 0x11cc]
push 0x4b1
call dword [sym.imp.SolvusoftWMhelper.dll_public:_void___thiscall_CDlgLeftSideChild::ChangeTheRightSideStep_enum_DLG_BTN_STEPS_]
mov ecx, dword [0x43d778]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.SolvusoftWMhelper.dll_public:_void___thiscall_CDlgBaseAppDlg::DisableTopButtons_bool__bool__bool__bool__bool_]
mov ecx, dword [0x43d778]
call dword [sym.imp.SolvusoftWMhelper.dll_public:_void___thiscall_CDlgBaseAppDlg::DisableCloseButton_void_]
mov eax, dword [0x43d778]
mov ecx, dword [eax + 0x1148]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.SolvusoftWMhelper.dll_public:_void___thiscall_CDlgLeftDlgBase::DisableLeftButtons_bool__bool__bool__bool__bool__bool__bool_]
lea ecx, [ebp - 0x2b8c]
call sub.mfc90u.dll_CFile::Close
lea ecx, [ebp - 0x2bb4]
call sub.mfc90u.dll_CFile::Close
cmp dword [ebp - 0x2bb8], 0
je 0x4078f2
lea ecx, [ebp - 0x2b58]
push ecx
call fcn.00407d70
lea ecx, [ebp - 0x2ba0]
call dword [0x422924]
push 0x42803c
push str.IDS_STR_FILENOT_ENCRYPT2
lea edx, [ebp - 0x2c40]
push edx
mov ecx, 0x43d668
mov byte [ebp - 4], 0x22
call ebx
mov esi, eax
push 0x42803c
push str.IDS_STR_FILENOT_ENCRYPT1
lea eax, [ebp - 0x2c00]
push eax
mov ecx, 0x43d668
mov byte [ebp - 4], 0x23
call ebx
mov edx, dword [ebp - 0x2b64]
mov byte [ebp - 4], 0x24
mov ecx, dword [esi]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x2ba0]
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 - 0x2c00]
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 - 0x2c40]
mov byte [ebp - 4], 0x22
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 - 0x2ba0]
call fcn.00407b60
lea ecx, [ebp - 0x2ba0]
push ecx
mov ecx, 0x43d820
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 - 0x2ba0]
jmp 0x406ce9
mov dl, byte [0x43d3f5]
test dl, dl
je 0x407ac4
mov al, byte [0x43d655]
test al, al
je 0x407ac4
mov edx, dword [ebp - 0x2b58]
lea ecx, [ebp - 0x2b78]
push ecx
push 0x11
push edx
lea ecx, [ebp - 0x2b8c]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x407a57
lea eax, [ebp - 0x22cc]
push eax
mov eax, dword [ebp - 0x2b88]
lea ecx, [ebp - 0x22d4]
push ecx
lea edx, [ebp - 0x22dc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [ebp - 0x2b8c]
call sub.mfc90u.dll_CFile::Close
mov ecx, dword [ebp - 0x2c08]
mov edx, dword [ebp - 0x2b58]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [ebp - 0x2b64]
lea eax, [ebp - 0x2b58]
push edi
push eax
call dword [sym.imp.SolvusoftWMhelper.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 - 0x2b58]
push ecx
call fcn.00407d70
lea ecx, [ebp - 0x2b90]
call dword [0x422924]
push 0x42803c
push str.IDS_STR_FILEDECRYPT
lea edx, [ebp - 0x2c28]
push edx
mov ecx, 0x43d668
mov byte [ebp - 4], 0x27
call ebx
mov byte [ebp - 4], 0x28
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x2b90]
push str._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, 0x10
lea ecx, [ebp - 0x2c28]
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_____::CStringT_wchar_t_clas]
push 0x42803c
push str.IDS_STR_FILEDECRYPT
lea ecx, [ebp - 0x2c10]
push ecx
mov ecx, 0x43d668
call ebx
push eax
mov ecx, 0x43d820
mov byte [ebp - 4], 0x29
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 - 0x2c10]
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_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x2b90]
call fcn.00407b60
lea edx, [ebp - 0x2b90]
push edx
mov ecx, 0x43d820
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.004054b0
add esp, 4
lea ecx, [ebp - 0x2b90]
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 0x407ad0
push 0x42803c
push str.IDS_STR_CANTOPEN_AFTER_DEC
lea eax, [ebp - 0x2bc8]
push eax
mov ecx, 0x43d668
call ebx
mov byte [ebp - 4], 0x25
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x2b78]
call fcn.00407c90
lea ecx, [ebp - 0x2bc8]
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 0x42803c
push str.IDS_STR_CANTOPEN_AFTER_DEC
lea ecx, [ebp - 0x2bd0]
push ecx
mov ecx, 0x43d668
call ebx
push eax
mov ecx, 0x43d820
mov byte [ebp - 4], 0x26
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 - 0x2bd0]
jmp 0x406ce9
lea edx, [ebp - 0x2b58]
push edx
call fcn.00407d70
mov al, byte [0x43d655]
xor ecx, ecx
cmp al, 1
sete cl
mov esi, ecx
lea ecx, [ebp - 0x2b5c]
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 - 0x2b60]
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 - 0x2b68]
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 - 0x2b8c]
mov byte [ebp - 4], 1
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2bb4]
mov byte [ebp - 4], 0
call sub.mfc90u.dll_CFile::CFile
lea ecx, [ebp - 0x2b58]
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.0041cef2
mov esp, ebp
pop ebp
ret 4