Function at 0x41dad0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1128
call fcn.00457940
mov eax, dword [0x4811e8]
push esi
push edi
mov dword [esp + 0x112c], eax
call fcn.0041d650
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]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x14
lea edi, [esp + 0x5b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41db15
sub eax, edx
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]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x4740a0]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0xe8]
push 0x668e38
rep stosd dword es:[edi], eax
call esi
push 0xd49308
call esi
mov eax, dword [esp + 0x1134]
push eax
push str.Save
lea ecx, [esp + 0x134]
push str.Save_s_d.sav
push ecx
call fcn.00457a39
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea edx, [esp + 0x144]
push edx
call dword [0x4741ec]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dbcd
push 0x4760a0
call fcn.00408160
add esp, 4
push esi
call dword [0x4741f0]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
call fcn.00457925
add esp, 0x1128
ret
push ebx
mov ebx, dword [0x4740dc]
push 0x1e8480
push 2
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x41dc0c
push 0x476008
call fcn.00408160
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
call fcn.00457925
add esp, 0x1128
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
jne 0x41dc46
push 0x475fe0
call fcn.00408160
add esp, 4
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
call fcn.00457925
add esp, 0x1128
ret
push 0x1e8480
push 2
call ebx
test eax, eax
mov dword [esp + 0x28], eax
je 0x41dc20
mov ebx, dword [0x4740d8]
push edi
call ebx
push ebp
mov edi, eax
call ebx
mov ebp, eax
mov eax, dword [esp + 0x28]
push eax
call ebx
mov ebx, dword [0x4740e0]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x80
lea edx, [esp + 0xc0]
push edx
push esi
mov dword [esp + 0x34], eax
call ebx
push 0x151e78
push 0xd49308
push edi
call fcn.00401450
push 0x151e78
push ebp
push edi
call fcn.00407ce0
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 esi
call ebx
push 0x151e78
push 0x515fb8
push edi
call fcn.00401450
mov edx, dword [esp + 0x2c]
push 0x151e78
push edx
push edi
call fcn.00407ce0
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 esi
call ebx
call dword [0x47436c]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.00457a0a
mov eax, dword [esp + 0x1c]
add esp, 4
xor edi, edi
test eax, eax
jle 0x41dd3e
call fcn.00457a17
cdq
idiv dword [esp + 0x24]
mov al, byte [esp + edx + 0x34]
xor byte [edi + ebp], al
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x41dd24
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
jle 0x41dd66
call fcn.00457a17
cdq
idiv dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov cl, byte [esp + edx + 0x34]
xor byte [edi + eax], cl
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x41dd48
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 [0x4740d4]
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 [0x4740d0]
push ecx
call edi
push ebp
call edi
push ebx
call edi
push esi
call dword [0x4741f0]
mov ecx, dword [esp + 0x1134]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
call fcn.00457925
add esp, 0x1128
ret