Function at 0x41e010
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1128
call fcn.00454700
mov eax, dword [0x4894c8]
xor eax, esp
mov dword [esp + 0x1124], eax
push esi
push edi
call fcn.0041dbc0
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.00454750
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 0x41e060
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.00454750
mov esi, dword [0x477090]
add esp, 0xc
push 0x6e4ff8
call esi
push 0xf6b3d8
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.00454878
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [esp + 0x144]
push ecx
call dword [0x4771dc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e120
push 0x479488
call fcn.004087e0
add esp, 4
push esi
call dword [0x4771e0]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.004546e4
add esp, 0x1128
ret
push ebx
mov ebx, dword [0x4770c8]
push 0x1e8480
push 2
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x41e161
push 0x4793ec
call fcn.004087e0
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.004546e4
add esp, 0x1128
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
je 0x41e186
push 0x1e8480
push 2
call ebx
test eax, eax
mov dword [esp + 0x28], eax
jne 0x41e19a
push 0x4793c4
call fcn.004087e0
add esp, 4
xor eax, eax
jmp 0x41e316
mov ebx, dword [0x4770c4]
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 [0x4770cc]
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 0x1c47e8
push 0xf6b3d8
push edi
call fcn.004014b0
push 0x1c47e8
push ebp
push edi
call fcn.00408340
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 0x1c47e8
push 0x51f7f8
push edi
call fcn.004014b0
mov ecx, dword [esp + 0x2c]
push 0x1c47e8
push ecx
push edi
call fcn.00408340
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 [0x477370]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.004547ca
xor edi, edi
add esp, 4
cmp dword [esp + 0x18], edi
jle 0x41e280
call fcn.004547d7
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 0x41e265
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x41e2a7
call fcn.004547d7
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 0x41e288
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 [0x4770c0]
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 [0x4770bc]
push ecx
call edi
push ebp
call edi
push ebx
call edi
push esi
call dword [0x4771e0]
mov eax, 1
mov ecx, dword [esp + 0x1134]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.004546e4
add esp, 0x1128
ret