Function at 0x41f6f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1128
call fcn.0045d1f0
mov eax, dword [0x492794]
xor eax, esp
mov dword [esp + 0x1124], eax
push esi
push edi
call fcn.0041f2a0
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.0045d240
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 0x41f740
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.0045d240
mov esi, dword [0x47f0cc]
add esp, 0xc
push 0x69a9d8
call esi
push 0x103f990
call esi
mov edx, dword [esp + 0x1134]
push edx
push str.Save
lea eax, [esp + 0x134]
push str.Save_s_d.sav
push eax
call fcn.0045d367
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [esp + 0x144]
push ecx
call dword [0x47f088]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f800
push 0x481590
call fcn.00408d80
add esp, 4
push esi
call dword [0x47f084]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.0045d1d4
add esp, 0x1128
ret
push ebx
mov ebx, dword [0x47f104]
push 0x1e8480
push 2
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x41f841
push 0x4814f4
call fcn.00408d80
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.0045d1d4
add esp, 0x1128
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
je 0x41f866
push 0x1e8480
push 2
call ebx
test eax, eax
mov dword [esp + 0x28], eax
jne 0x41f87a
push 0x4814cc
call fcn.00408d80
add esp, 4
xor eax, eax
jmp 0x41f9f6
mov ebx, dword [0x47f100]
push edi
call ebx
push ebp
mov edi, eax
call ebx
mov edx, dword [esp + 0x28]
push edx
mov ebp, eax
call ebx
mov ebx, dword [0x47f10c]
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push 0x80
lea ecx, [esp + 0xc0]
push ecx
push esi
call ebx
push 0x16c160
push 0x103f990
push edi
call fcn.004014b0
push 0x16c160
push ebp
push edi
call fcn.004088e0
add esp, 0x18
push 0
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
push 4
lea eax, [esp + 0x24]
push eax
push esi
call ebx
push 0x16c160
push 0x52d870
push edi
call fcn.004014b0
mov ecx, dword [esp + 0x2c]
push 0x16c160
push ecx
push edi
call fcn.004088e0
add esp, 0x18
push 0
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
push 4
lea eax, [esp + 0x28]
push eax
push esi
call ebx
call dword [0x47f370]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.0045d2ba
xor edi, edi
add esp, 4
cmp dword [esp + 0x18], edi
jle 0x41f960
call fcn.0045d2c7
cdq
idiv dword [esp + 0x24]
add edi, 1
mov al, byte [esp + edx + 0x34]
xor byte [edi + ebp - 1], al
cmp edi, dword [esp + 0x18]
jl 0x41f945
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x41f987
call fcn.0045d2c7
cdq
idiv dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edi, 1
mov cl, byte [esp + edx + 0x34]
xor byte [edi + eax - 1], cl
cmp edi, dword [esp + 0x1c]
jl 0x41f968
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push ebp
push esi
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 esi
call ebx
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x1f]
push edx
push esi
call ebx
mov eax, dword [esp + 0x2c]
mov edi, dword [0x47f0fc]
push eax
call edi
mov ebp, dword [esp + 0x30]
push ebp
call edi
mov ebx, dword [esp + 0x28]
push ebx
call edi
mov ecx, dword [esp + 0x2c]
mov edi, dword [0x47f0f8]
push ecx
call edi
push ebp
call edi
push ebx
call edi
push esi
call dword [0x47f084]
mov eax, 1
mov ecx, dword [esp + 0x1134]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0045d1d4
add esp, 0x1128
ret