Function at 0x4a53a0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5afe37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 8]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString_3
push 0xa
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CMapStringToString::CMapStringToString
mov edi, dword [esp + 0x50]
lea ecx, [esp + 8]
push edi
mov byte [esp + 0x48], 4
call fcn.004be0ae
push 0x28
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4a5457
push esi
lea ecx, [esp + 0x14]
call fcn.004be0ae
sub esi, edi
lea eax, [esp + 0x50]
push esi
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
jne 0x4a557d
mov eax, dword [esp + 8]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jbe 0x4a54bb
mov edi, dword [sym.imp.MSVCRT.dll_isalnum]
mov al, byte [esi + eax]
mov byte [esp + 0x50], al
mov ecx, dword [esp + 0x50]
and ecx, 0xff
push ecx
call edi
add esp, 4
test eax, eax
mov eax, dword [esp + 8]
jne 0x4a54b3
cmp byte [esi + eax], 0x5f
jne 0x4a54ce
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jb 0x4a548e
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_3
jmp 0x4a5563
push ebp
push 0x56
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
xor esi, esi
mov edi, dword [eax - 8]
xor ecx, ecx
push 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [eax + esi*8]
lea eax, [esp + 0x20]
push edx
push eax
call ebp
add esp, 0xc
xor eax, eax
mov cl, byte [eax + str.Microsoft]
mov dl, byte [esp + eax + 0x1c]
add cl, al
xor dl, cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 8
jb 0x4a550f
lea edx, [esp + 0x1c]
push 8
lea eax, [esp + 0x58]
push edx
push eax
call fcn.0040204f
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x54]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
mov ecx, edi
inc esi
shr ecx, 3
cmp esi, ecx
jbe 0x4a54e9
pop ebp
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call fcn.004be0ae
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push esi
call sub.MFC42.DLL_operator_4
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 3
call fcn.004bebac
lea ecx, [esp + 8]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret