Function at 0x41fa10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1130
call fcn.0045d1f0
mov eax, dword [0x492794]
xor eax, esp
mov dword [esp + 0x112c], eax
mov edx, dword [esp + 0x1134]
mov eax, dword [esp + 0x1138]
mov ecx, dword [esp + 0x113c]
push ebx
push edx
push str.Save
mov dword [esp + 0x30], eax
lea eax, [esp + 0x138]
push str.Save_s_d.sav
push eax
mov dword [esp + 0x3c], ecx
call fcn.0045d367
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x148]
push ecx
call dword [0x47f088]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41fcc5
push esi
push edi
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x51
lea edx, [esp + 0x6b]
push 0
push edx
movsb byte es:[edi], byte [esi]
call fcn.0045d240
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41fac0
mov edi, dword [0x47f104]
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 0x41fafd
push 0x1e8480
push 2
call edi
test eax, eax
mov dword [esp + 0x20], eax
jne 0x41fb24
push 0x4814f4
call fcn.00408d80
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x112c]
xor ecx, esp
call fcn.0045d1d4
add esp, 0x1130
ret
push ebp
push 0x1e8480
push 2
call edi
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
jne 0x41fb60
push 0x4814cc
call fcn.00408d80
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x112c]
xor ecx, esp
call fcn.0045d1d4
add esp, 0x1130
ret
push esi
mov esi, dword [0x47f100]
call esi
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
call esi
push ebp
mov dword [esp + 0x24], eax
call esi
mov esi, dword [0x47f0ac]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x80
lea edx, [esp + 0xc8]
push edx
push ebx
mov ebp, 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 edi
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 [0x47f084]
movsx edx, byte [esp + 0x13]
push edx
call fcn.0045d2ba
xor esi, esi
add esp, 4
cmp dword [esp + 0x18], esi
jle 0x41fc2b
lea esp, [esp]
call fcn.0045d2c7
cdq
idiv dword [esp + 0x28]
add esi, 1
mov al, byte [esp + edx + 0x3c]
xor byte [esi + edi - 1], al
cmp esi, dword [esp + 0x18]
jl 0x41fc10
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x41fc52
call fcn.0045d2c7
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add esi, 1
mov cl, byte [esp + edx + 0x3c]
xor byte [esi + eax - 1], cl
cmp esi, dword [esp + 0x1c]
jl 0x41fc33
mov edx, dword [esp + 0x18]
push edx
push edi
push ebp
call fcn.00404d10
mov eax, dword [esp + 0x40]
push 0x16c160
push ebp
push eax
call fcn.004014b0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
push edx
push ebp
call fcn.00404d10
mov eax, dword [esp + 0x5c]
push 0x16c160
push ebp
push eax
call fcn.004014b0
mov ebp, dword [esp + 0x5c]
mov esi, dword [0x47f0fc]
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 [0x47f0f8]
push ebp
call esi
push edi
call esi
push ebx
call esi
mov eax, 1
jmp 0x41fb47
mov ecx, dword [esp + 0x1130]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0045d1d4
add esp, 0x1130
ret