Function at 0x41f090
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 0x41f0e0
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.Save_s_03d.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 esi, eax
cmp esi, 0xffffffff
jne 0x41f1a0
push 0x47f4f8
call fcn.00408cb0
add esp, 4
push esi
call dword [0x47d1f8]
pop edi
xor eax, eax
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 edi, eax
test edi, edi
mov dword [esp + 0x28], edi
jne 0x41f1e1
push 0x47f460
call fcn.00408cb0
add esp, 4
pop ebx
pop edi
xor eax, eax
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 0x41f206
push 0x1e8480
push 2
call ebx
test eax, eax
mov dword [esp + 0x28], eax
jne 0x41f21a
push 0x47f438
call fcn.00408cb0
add esp, 4
xor eax, eax
jmp 0x41f396
mov ebx, dword [0x47d0c4]
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 [0x47d0d0]
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 0x157628
push 0xdb48b8
push edi
call fcn.004014b0
push 0x157628
push ebp
push edi
call fcn.00408810
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 0x157628
push 0x551998
push edi
call fcn.004014b0
mov ecx, dword [esp + 0x2c]
push 0x157628
push ecx
push edi
call fcn.00408810
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 [0x47d388]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.0045a63a
xor edi, edi
add esp, 4
cmp dword [esp + 0x18], edi
jle 0x41f300
call fcn.0045a647
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 0x41f2e5
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x41f327
call fcn.0045a647
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 0x41f308
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 [0x47d0c0]
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 [0x47d0bc]
push ecx
call edi
push ebp
call edi
push ebx
call edi
push esi
call dword [0x47d1f8]
mov eax, 1
mov ecx, dword [esp + 0x1134]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0045a554
add esp, 0x1128
ret