Function at 0x401ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov ax, word [str.aSHeWFT]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0xe], ax
xor ebx, ebx
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x53]
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x20], esi
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString
push 1
mov ecx, esi
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CWnd::UpdateData
add esi, 0xa0
mov ecx, esi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, esi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
mov dword [ebp - 0x1c], eax
push eax
push ebx
push ecx
push edx
push ebp
push esi
push edi
xor ecx, ecx
mov edi, dword [ebp - 0x18]
test edi, edi
jle 0x401b81
mov dl, byte [ebp - 0xe]
mov esi, dword [ebp - 0x1c]
mov al, byte ds:[ecx + esi]
xor al, dl
mov dl, al
mov byte ds:[ecx + esi], al
shl dl, 6
shr al, 4
add dl, al
inc ecx
cmp ecx, edi
jl 0x401b68
pop edi
pop esi
pop ebp
pop edx
pop ecx
pop ebx
pop eax
push eax
push ebx
push ecx
push edx
push ebp
push esi
push edi
xor ecx, ecx
mov edi, dword [ebp - 0x18]
test edi, edi
jle 0x401bb7
mov dl, byte [ebp - 0xe]
mov esi, dword [ebp - 0x1c]
mov al, byte ds:[ecx + esi]
xor al, dl
mov dl, al
mov byte ds:[ecx + esi], al
shl dl, 5
shr al, 3
add dl, al
inc ecx
cmp ecx, edi
jl 0x401b9e
pop edi
pop esi
pop ebp
pop edx
pop ecx
pop ebx
pop eax
push eax
push ebx
push ecx
push edx
push ebp
push esi
push edi
xor ecx, ecx
mov edi, dword [ebp - 0x18]
test edi, edi
jle 0x401bed
mov dl, byte [ebp - 0xe]
mov esi, dword [ebp - 0x1c]
mov al, byte ds:[ecx + esi]
xor al, dl
mov dl, al
mov byte ds:[ecx + esi], al
shr dl, 6
shl al, 3
add dl, al
inc ecx
cmp ecx, edi
jl 0x401bd4
pop edi
pop esi
pop ebp
pop edx
pop ecx
pop ebx
pop eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
jle 0x401c4a
mov eax, dword [ebp - 0x1c]
xor edx, edx
lea ecx, [ebp - 0x14]
mov dl, byte [ebx + eax]
push edx
push str._02x
push ecx
call sub.MFC42.DLL_CString::Format
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x54]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
mov ecx, edx
and ecx, 3
inc ebx
cmp ebx, eax
rep movsb byte es:[edi], byte [esi]
jl 0x401bfd
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x54]
push eax
lea esi, [edi + 0xa4]
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov esi, dword [esi]
mov ecx, edi
push esi
push 0x3ed
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00402a66
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret