Function at 0x4258b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580155
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x5f3edc]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa0], ecx
xor ebx, ebx
or edi, 0xffffffff
cmp ecx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
je 0x42590d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
shl eax, 0xb
push eax
push ecx
call fcn.0044c0f0
mov esi, dword [esi + 0x1c]
add esp, 8
xor edi, eax
inc ebx
test esi, esi
jne 0x4258f0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_7]
mov edx, edi
shr edx, 0x1c
push edx
mov eax, edi
shr eax, 0x18
and eax, 0xf
push eax
mov ecx, edi
shr ecx, 0x14
and ecx, 0xf
push ecx
mov edx, edi
shr edx, 0x10
and edx, 0xf
push edx
mov eax, edi
shr eax, 0xc
and eax, 0xf
push eax
mov ecx, edi
shr ecx, 8
and ecx, 0xf
push ecx
mov ecx, dword [ebp + 8]
mov edx, edi
shr edx, 4
and edx, 0xf
push edx
mov eax, edi
and eax, 0xf
push eax
push ecx
lea edx, [ebp - 0x34]
push str._sRecode__x__x__x__x__x__x__x__x
push edx
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0x2c
lea ecx, [ebp - 0x54]
call sub.MFC71.DLL_CFile::CFile_1
push 0
push 0x1001
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [ebp - 0x54]
call sub.MFC71.DLL_CFile::Open
test eax, eax
je 0x425c58
push 0
push 0x1000
push 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00556c6e
xor ecx, ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
xor edx, edx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x20], edx
mov word [ebp - 0x23], cx
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 4
mov byte [ebp - 0x30], 0
mov ecx, str.RECODE_1.9.9.13
lea edx, [ebp - 0x30]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4259e8
push 0x1c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], 0x1c
call sub.MFC71.DLL_CArchive::Write
mov esi, dword [ebp - 0xa0]
mov ebx, 0x10
jmp 0x425a20
test esi, esi
je 0x425bf3
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
xor ecx, ecx
shl edx, 0xb
mov dword [ebp - 0x40], ecx
push edx
mov dword [ebp - 0x3c], ecx
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], ecx
call fcn.0044c0f0
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x20]
add esp, 8
test eax, eax
mov dword [ebp - 0x44], ebx
je 0x425a64
mov ecx, eax
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x425a75
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov dword [ebp - 0x38], eax
push ebx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x9c]
call sub.MFC71.DLL_CArchive::Write
mov eax, dword [esi + 0x20]
test eax, eax
je 0x425b38
mov ecx, eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov edi, eax
mov eax, dword [ebp - 0x84]
not eax
test al, 1
jne 0x425ab9
lea ecx, [ebp - 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 2
call sub.MFC71.DLL_AfxThrowArchiveException
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
add ecx, 4
cmp ecx, eax
jbe 0x425ad1
lea ecx, [ebp - 0x9c]
call sub.MFC71.DLL_CArchive::Flush
mov edx, dword [ebp - 0x74]
mov dword [edx], edi
add dword [ebp - 0x74], 4
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [ebp - 0x84]
not ecx
test cl, 1
mov edi, eax
jne 0x425b05
lea ecx, [ebp - 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 2
call sub.MFC71.DLL_AfxThrowArchiveException
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
add edx, 4
cmp edx, eax
jbe 0x425b1d
lea ecx, [ebp - 0x9c]
call sub.MFC71.DLL_CArchive::Flush
mov eax, dword [ebp - 0x74]
mov dword [eax], edi
add dword [ebp - 0x74], 4
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
lea eax, [ebp - 0x9c]
push eax
call dword [edx + 0x13c]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x425beb
mov ecx, eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov edi, eax
mov eax, dword [ebp - 0x84]
not eax
test al, 1
jne 0x425b6c
lea ecx, [ebp - 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 2
call sub.MFC71.DLL_AfxThrowArchiveException
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
add ecx, 4
cmp ecx, eax
jbe 0x425b84
lea ecx, [ebp - 0x9c]
call sub.MFC71.DLL_CArchive::Flush
mov edx, dword [ebp - 0x74]
mov dword [edx], edi
add dword [ebp - 0x74], 4
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [ebp - 0x84]
not ecx
test cl, 1
mov edi, eax
jne 0x425bb8
lea ecx, [ebp - 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 2
call sub.MFC71.DLL_AfxThrowArchiveException
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
add edx, 4
cmp edx, eax
jbe 0x425bd0
lea ecx, [ebp - 0x9c]
call sub.MFC71.DLL_CArchive::Flush
mov eax, dword [ebp - 0x74]
mov dword [eax], edi
add dword [ebp - 0x74], 4
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
lea eax, [ebp - 0x9c]
push eax
call dword [edx + 0x13c]
mov esi, dword [esi + 0x1c]
jmp 0x425a20
lea ecx, [ebp - 0x9c]
call sub.MFC71.DLL_CArchive::Close
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call sub.MFC71.DLL_CArchive::CArchive
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00556f8a
lea ecx, [ebp - 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov al, 1
jmp 0x425c78
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00556f8a
lea ecx, [ebp - 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00558076
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4