Function at 0x41e3b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1128
call fcn.0045c960
mov eax, dword [0x48eb38]
push esi
push edi
mov dword [esp + 0x112c], eax
call fcn.0041df30
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 0x41e3f5
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 [0x4790a0]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0xe8]
push 0x677878
rep stosd dword es:[edi], eax
call esi
push 0xd57f08
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.0045cab0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea edx, [esp + 0x144]
push edx
call dword [0x4791ec]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e4ad
push 0x47b430
call fcn.00408840
add esp, 4
push esi
call dword [0x4791f0]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
call fcn.0045c945
add esp, 0x1128
ret
push ebx
mov ebx, dword [0x4790dc]
push 0x1e8480
push 2
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x41e4ec
push 0x47b398
call fcn.00408840
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
call fcn.0045c945
add esp, 0x1128
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
jne 0x41e526
push 0x47b370
call fcn.00408840
add esp, 4
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1124]
call fcn.0045c945
add esp, 0x1128
ret
push 0x1e8480
push 2
call ebx
test eax, eax
mov dword [esp + 0x28], eax
je 0x41e500
mov ebx, dword [0x4790d8]
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 [0x4790e0]
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 0x151f58
push 0xd57f08
push edi
call fcn.00401450
push 0x151f58
push ebp
push edi
call fcn.004083c0
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 0x151f58
push 0x524918
push edi
call fcn.00401450
mov edx, dword [esp + 0x2c]
push 0x151f58
push edx
push edi
call fcn.004083c0
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 [0x47937c]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.0045ca2a
mov eax, dword [esp + 0x1c]
add esp, 4
xor edi, edi
test eax, eax
jle 0x41e61e
call fcn.0045ca37
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 0x41e604
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
jle 0x41e646
call fcn.0045ca37
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 0x41e628
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 [0x4790d4]
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 [0x4790d0]
push ecx
call edi
push ebp
call edi
push ebx
call edi
push esi
call dword [0x4791f0]
mov ecx, dword [esp + 0x1134]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
call fcn.0045c945
add esp, 0x1128
ret