Function at 0x41f220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x49611c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
push 0x118
lea eax, [esp + 0x14]
mov esi, edx
push 0
push eax
mov ebx, ecx
call fcn.0044bde0
add esp, 0xc
lea ecx, [ebx + 8]
call fcn.0041e2c0
push dword [ebp + 8]
mov edx, esi
mov dword [ebx + 4], eax
lea ecx, [esp + 0x14]
lea edi, [ebx + eax*4]
call fcn.0041e330
mov edx, eax
add esp, 4
mov dword [esp + 0xc], edx
test edx, edx
jne 0x41f443
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
mov ecx, 0x2000000
call fcn.004283c0
test eax, eax
mov eax, dword [esp + 0x14]
je 0x41f2b3
push dword [ebx]
lea edx, [esp + 0x1c]
lea edx, [edx + eax*4]
lea ecx, [edi + 8]
call fcn.00428630
add esp, 4
jmp 0x41f43f
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x18]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 0xc]
sub eax, 0x10
mov dword [edi + 0x14], ecx
add edi, 0x18
mov esi, dword [ebx]
dec esi
test esi, esi
jle 0x41f429
nop dword [eax]
movzx ecx, byte [eax + 3]
dec esi
movzx edx, byte [ecx + 0x49a7f0]
movzx ecx, byte [eax + 2]
mov edx, dword [edx*4 + 0x49a8f0]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49c5f0]
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b5f0]
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b9f0]
mov dword [edi], edx
movzx ecx, byte [eax + 7]
movzx edx, byte [ecx + 0x49a7f0]
movzx ecx, byte [eax + 6]
mov edx, dword [edx*4 + 0x49a8f0]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49c5f0]
movzx ecx, byte [eax + 5]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b5f0]
movzx ecx, byte [eax + 4]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b9f0]
mov dword [edi + 4], edx
movzx ecx, byte [eax + 0xb]
movzx edx, byte [ecx + 0x49a7f0]
movzx ecx, byte [eax + 0xa]
mov edx, dword [edx*4 + 0x49a8f0]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49c5f0]
movzx ecx, byte [eax + 9]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b5f0]
movzx ecx, byte [eax + 8]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b9f0]
mov dword [edi + 8], edx
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + 0x49a7f0]
movzx ecx, byte [eax + 0xe]
mov edx, dword [edx*4 + 0x49a8f0]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49c5f0]
movzx ecx, byte [eax + 0xd]
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b5f0]
movzx ecx, byte [eax + 0xc]
sub eax, 0x10
movzx ecx, byte [ecx + 0x49a7f0]
xor edx, dword [ecx*4 + 0x49b9f0]
mov dword [edi + 0xc], edx
add edi, 0x10
test esi, esi
jg 0x41f2f0
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov edx, dword [esp + 0xc]
mov ecx, 0x118
lea eax, [esp + 0x10]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41f450
mov ecx, dword [esp + 0x12c]
mov eax, edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00448a58
mov esp, ebp
pop ebp
ret