Function at 0x41fec0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1128
call fcn.0045a570
mov eax, dword [0x48f4c8]
xor eax, esp
mov dword [esp + 0x1124], eax
push esi
push edi
call fcn.0041ec40
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x51
lea eax, [esp + 0x5f]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.0045a5c0
lea eax, [esp + 0x38]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41ff10
mov ecx, 0xf
mov esi, str._E_nhanced__A_dventure__G_ame__L_anguage__S_ystem_E.A.G.L.S
lea edi, [esp + 0xac]
push 0x44
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xec]
sub eax, edx
push 0
push ecx
mov dword [esp + 0x28], eax
call fcn.0045a5c0
mov esi, dword [0x47d090]
add esp, 0xc
push 0x6a9fd8
call esi
push 0xdb48b8
call esi
mov edx, dword [esp + 0x1134]
push edx
push str.Save
lea eax, [esp + 0x134]
push str.SaveAuto_s_d.sav
push eax
call fcn.0045a6e7
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [esp + 0x144]
push ecx
call dword [0x47d1f4]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41ffce
push 0x47f4f8
call fcn.00408cb0
add esp, 4
push edi
call dword [0x47d1f8]
pop edi
pop esi
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.0045a554
add esp, 0x1128
ret
push ebx
mov ebx, dword [0x47d0c8]
push 0x1e8480
push 2
call ebx
mov esi, eax
test esi, esi
mov dword [esp + 0x28], esi
jne 0x42000d
push 0x47f460
call fcn.00408cb0
add esp, 4
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.0045a554
add esp, 0x1128
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
je 0x420032
push 0x1e8480
push 2
call ebx
test eax, eax
mov dword [esp + 0x28], eax
jne 0x420044
push 0x47f438
call fcn.00408cb0
add esp, 4
jmp 0x4201cc
mov ebx, dword [0x47d0c4]
push esi
call ebx
push ebp
mov esi, eax
call ebx
mov edx, dword [esp + 0x28]
push edx
mov ebp, eax
call ebx
mov ebx, dword [0x47d0d0]
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0x80
lea ecx, [esp + 0xc0]
push ecx
push edi
call ebx
push 0x157628
push 0x6a9fd8
push esi
call fcn.004014b0
mov edx, dword [0x7d7f6c]
push 0x157628
push ebp
push esi
mov dword [esi + 0x12ef98], edx
call fcn.00408810
add esp, 0x18
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push edi
call ebx
push 0x157628
push 0x551998
push esi
call fcn.004014b0
mov edx, dword [esp + 0x2c]
push 0x157628
push edx
push esi
call fcn.00408810
add esp, 0x18
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push edi
call ebx
call dword [0x47d388]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.0045a63a
xor esi, esi
add esp, 4
cmp dword [esp + 0x18], esi
jle 0x42013b
jmp 0x420120
call fcn.0045a647
cdq
idiv dword [esp + 0x24]
add esi, 1
mov al, byte [esp + edx + 0x34]
xor byte [esi + ebp - 1], al
cmp esi, dword [esp + 0x18]
jl 0x420120
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x420162
call fcn.0045a647
cdq
idiv dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esi, 1
mov cl, byte [esp + edx + 0x34]
xor byte [esi + eax - 1], cl
cmp esi, dword [esp + 0x1c]
jl 0x420143
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push ebp
push edi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push edi
call ebx
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x1f]
push edx
push edi
call ebx
mov eax, dword [esp + 0x2c]
mov esi, dword [0x47d0c0]
push eax
call esi
mov ebp, dword [esp + 0x30]
push ebp
call esi
mov ebx, dword [esp + 0x28]
push ebx
call esi
mov ecx, dword [esp + 0x2c]
mov esi, dword [0x47d0bc]
push ecx
call esi
push ebp
call esi
push ebx
call esi
push edi
call dword [0x47d1f8]
mov ecx, dword [esp + 0x1134]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0045a554
add esp, 0x1128
ret