Function at 0x1004f020
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50
push ebx
movzx ebx, byte [eax + 2]
push ebp
movzx ebp, byte [eax + 3]
push esi
push edi
movzx edi, byte [eax + 1]
add ebp, edi
mov esi, ecx
movzx ecx, byte [eax]
lea edx, [ecx + ebx]
mov dword [esp + 0x10], ebp
movzx ebp, byte [eax + 3]
sub edi, ebp
sub ecx, ebx
mov ebx, dword [esp + 0x10]
lea ebp, [ebx + edx]
mov dword [esp + 0x20], ebp
lea ebp, [ecx + edi]
sub ecx, edi
movzx edi, byte [eax + 0x21]
mov dword [esp + 0x24], ebp
movzx ebp, byte [eax + 0x23]
add ebp, edi
sub edx, ebx
movzx ebx, byte [eax + 0x22]
mov dword [esp + 0x28], ecx
movzx ecx, byte [eax + 0x20]
mov dword [esp + 0x10], ebp
movzx ebp, byte [eax + 0x23]
sub edi, ebp
mov dword [esp + 0x2c], edx
lea edx, [ecx + ebx]
sub ecx, ebx
mov ebx, dword [esp + 0x10]
lea ebp, [ebx + edx]
mov dword [esp + 0x30], ebp
lea ebp, [ecx + edi]
sub ecx, edi
movzx edi, byte [eax + 0x41]
mov dword [esp + 0x34], ebp
movzx ebp, byte [eax + 0x43]
sub edx, ebx
movzx ebx, byte [eax + 0x42]
add ebp, edi
mov dword [esp + 0x38], ecx
movzx ecx, byte [eax + 0x40]
mov dword [esp + 0x10], ebp
movzx ebp, byte [eax + 0x43]
mov dword [esp + 0x3c], edx
lea edx, [ecx + ebx]
sub ecx, ebx
mov ebx, dword [esp + 0x10]
sub edi, ebp
lea ebp, [ebx + edx]
mov dword [esp + 0x40], ebp
lea ebp, [ecx + edi]
sub ecx, edi
movzx edi, byte [eax + 0x62]
sub edx, ebx
movzx ebx, byte [eax + 0x63]
mov dword [esp + 0x48], ecx
movzx ecx, byte [eax + 0x60]
movzx eax, byte [eax + 0x61]
mov dword [esp + 0x4c], edx
lea edx, [ecx + edi]
sub ecx, edi
mov dword [esp + 0x44], ebp
lea ebp, [eax + ebx]
lea edi, [edx + ebp]
sub eax, ebx
mov dword [esp + 0x50], edi
lea edi, [ecx + eax]
sub ecx, eax
sub edx, ebp
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x18], ecx
jmp 0x1004f130
mov edx, dword [esp + ecx*4 + 0x30]
mov edi, dword [esp + ecx*4 + 0x40]
mov ebp, dword [esp + ecx*4 + 0x50]
add ebp, edx
sub edx, dword [esp + ecx*4 + 0x50]
mov eax, dword [esp + ecx*4 + 0x20]
lea ebx, [eax + edi]
sub eax, edi
mov edi, eax
mov dword [esp + 0x10], ebp
mov ebp, edx
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 0x10]
imul eax, edx
mov dword [esp + 0x1c], eax
lea eax, [edi + ebp]
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 8]
imul eax, edx
mov edx, dword [esp + 0x1c]
add edx, eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov eax, ebx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 0x18]
imul eax, edx
mov edx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x1c], edx
mov ebp, dword [esp + ecx*4 + 0x54]
lea eax, [edi + ebx]
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi]
imul eax, edx
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + ecx*4 + 0x44]
add eax, edx
mov edx, dword [esp + ecx*4 + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + ecx*4 + 0x24]
lea ebx, [eax + edi]
add ebp, edx
sub edx, dword [esp + ecx*4 + 0x54]
sub eax, edi
mov edi, eax
mov dword [esp + 0x10], ebp
mov ebp, edx
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 0x12]
imul eax, edx
mov dword [esp + 0x1c], eax
lea eax, [edi + ebp]
mov edi, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 0xa]
imul eax, edx
mov edx, dword [esp + 0x1c]
add edx, eax
mov eax, ebx
sub eax, edi
mov dword [esp + 0x1c], edx
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 0x1a]
imul eax, edx
mov edx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x1c], edx
lea eax, [edi + ebx]
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 2]
imul eax, edx
add eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add edx, eax
add ecx, 2
add esi, 4
cmp ecx, 4
mov dword [esp + 0x18], edx
jl 0x1004f130
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
add eax, edx
pop ebx
add esp, 0x50
ret