Function at 0x41e8e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x152fa0
call fcn.00457940
mov eax, dword [0x4811e8]
push ebx
mov dword [esp + 0x152fa0], eax
mov eax, dword [esp + 0x152fa8]
push eax
push str.Save
lea ecx, [esp + 0x130]
push str.Save_s_d.sav
push ecx
call fcn.00457a39
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea edx, [esp + 0x140]
push edx
call dword [0x4741ec]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
je 0x41eb96
push esi
push edi
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x14
lea edi, [esp + 0x5f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e970
mov edi, dword [0x4740dc]
push 0x1e8480
sub eax, edx
push 2
mov dword [esp + 0x2c], eax
mov byte [esp + 0x17], cl
call edi
mov esi, eax
test esi, esi
mov dword [esp + 0x28], esi
je 0x41e9ab
push 0x1e8480
push 2
call edi
test eax, eax
mov dword [esp + 0x20], eax
jne 0x41e9d0
push 0x476008
call fcn.00408160
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x152f9c]
call fcn.00457925
add esp, 0x152fa0
ret
push 0x1e8480
push 2
call edi
mov edi, eax
test edi, edi
mov dword [esp + 0x2c], edi
jne 0x41ea08
push 0x475fe0
call fcn.00408160
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x152f9c]
call fcn.00457925
add esp, 0x152fa0
ret
push ebp
push esi
mov esi, dword [0x4740d8]
call esi
mov ebp, eax
mov eax, dword [esp + 0x24]
push eax
call esi
push edi
mov dword [esp + 0x24], eax
call esi
mov esi, dword [0x474074]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x80
lea edx, [esp + 0xc0]
push edx
push ebx
mov edi, eax
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push ebx
call esi
push 0
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x28]
push eax
push ebx
call esi
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push ebp
push ebx
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push ebx
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push ebx
call esi
push ebx
call dword [0x4741f0]
movsx edx, byte [esp + 0x13]
push edx
call fcn.00457a0a
mov eax, dword [esp + 0x1c]
add esp, 4
xor esi, esi
test eax, eax
jle 0x41ead1
call fcn.00457a17
cdq
idiv dword [esp + 0x28]
mov al, byte [esp + edx + 0x34]
xor byte [esi + ebp], al
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x41eab7
mov eax, dword [esp + 0x1c]
xor esi, esi
test eax, eax
jle 0x41eafe
jmp 0x41eae0
call fcn.00457a17
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov cl, byte [esp + edx + 0x34]
xor byte [esi + eax], cl
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x41eae0
mov edx, dword [esp + 0x18]
push edx
push ebp
push edi
call fcn.00404370
push 0x151e78
lea eax, [esp + 0x1144]
push edi
push eax
call fcn.00401450
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
push edx
push edi
call fcn.00404370
push 0x151e78
push edi
push 0x515fb8
call fcn.00401450
mov ebp, dword [esp + 0x5c]
mov esi, dword [0x4740d4]
add esp, 0x30
push ebp
call esi
mov edi, dword [esp + 0x30]
push edi
call esi
mov ebx, dword [esp + 0x24]
push ebx
call esi
mov esi, dword [0x4740d0]
push ebp
call esi
push edi
call esi
push ebx
call esi
lea eax, [esp + 0x1134]
push eax
push 0x668e38
call fcn.0041e0a0
push 0x668e38
push 0xd49308
call fcn.0041f6e0
add esp, 0x10
pop ebp
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x152fa0]
pop ebx
call fcn.00457925
add esp, 0x152fa0
ret