Function at 0x49b050
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x581a17
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 sub.MFC42.DLL_CString::operator
push 0x28
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x49b107
push esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
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_1
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 0x49b22d
mov eax, dword [esp + 8]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jbe 0x49b16b
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 0x49b163
cmp byte [esi + eax], 0x5f
jne 0x49b17e
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jb 0x49b13e
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x49b213
push ebp
push 0x56
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
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 0x49b1bf
lea edx, [esp + 0x1c]
push 8
lea eax, [esp + 0x58]
push edx
push eax
call fcn.00401da7
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 6
call fcn.0043b6c6
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 0x49b199
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 sub.MFC42.DLL_CString::operator
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push esi
call sub.MFC42.DLL_operator_3
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 3
call fcn.0053299c
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