Function at 0x5136b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 0x98]
push ebp
push esi
mov edx, dword [eax + 8]
mov esi, dword [eax + 4]
mov ebp, dword [eax + 0xc]
push edi
mov edi, dword [eax]
xor eax, eax
bswap edx
bswap edi
bswap esi
mov dword [esp + 0xc], edx
bswap ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [eax + ecx]
mov ecx, dword [eax + ecx + 4]
xor ebx, edx
xor ecx, ebx
xor ecx, ebp
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x641d60]
imul edx, eax, 0x1010101
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x641e60]
and edx, 0xf3fc3fcf
imul eax, eax, 0x1010101
and eax, 0xcff3fc3f
xor edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x641e60]
imul eax, eax, 0x1010101
and eax, 0xfc3fcff3
xor edx, eax
movzx eax, cl
movzx eax, byte [eax + 0x641d60]
imul eax, eax, 0x1010101
and eax, 0x3fcff3fc
xor edx, eax
add ebx, edx
mov dword [esp + 0x18], edx
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x641d60]
imul edx, eax, 0x1010101
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x641e60]
and edx, 0xf3fc3fcf
imul eax, eax, 0x1010101
and eax, 0xcff3fc3f
xor edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x641e60]
imul eax, eax, 0x1010101
and eax, 0xfc3fcff3
xor edx, eax
movzx eax, bl
mov ebx, dword [esp + 0x18]
movzx eax, byte [eax + 0x641d60]
imul eax, eax, 0x1010101
and eax, 0x3fcff3fc
xor edx, eax
add ebx, edx
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x641d60]
imul ecx, eax, 0x1010101
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x641e60]
and ecx, 0xf3fc3fcf
imul eax, eax, 0x1010101
and eax, 0xcff3fc3f
xor ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x641e60]
imul eax, eax, 0x1010101
and eax, 0xfc3fcff3
xor ecx, eax
movzx eax, bl
movzx eax, byte [eax + 0x641d60]
imul eax, eax, 0x1010101
and eax, 0x3fcff3fc
xor ecx, eax
lea eax, [ecx + edx]
xor esi, ecx
xor edi, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ebx, dword [ecx + eax + 8]
mov ecx, dword [ecx + eax + 0xc]
xor ebx, edi
xor ecx, ebx
xor ecx, esi
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x641d60]
imul edx, eax, 0x1010101
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x641e60]
and edx, 0xf3fc3fcf
imul eax, eax, 0x1010101
and eax, 0xcff3fc3f
xor edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x641e60]
imul eax, eax, 0x1010101
and eax, 0xfc3fcff3
xor edx, eax
movzx eax, cl
movzx eax, byte [eax + 0x641d60]
imul eax, eax, 0x1010101
and eax, 0x3fcff3fc
xor edx, eax
add ebx, edx
mov dword [esp + 0x18], edx
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x641d60]
imul edx, eax, 0x1010101
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x641e60]
and edx, 0xf3fc3fcf
imul eax, eax, 0x1010101
and eax, 0xcff3fc3f
xor edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x641e60]
imul eax, eax, 0x1010101
and eax, 0xfc3fcff3
xor edx, eax
movzx eax, bl
mov ebx, dword [esp + 0x18]
movzx eax, byte [eax + 0x641d60]
imul eax, eax, 0x1010101
and eax, 0x3fcff3fc
xor edx, eax
add ebx, edx
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x641d60]
imul ecx, eax, 0x1010101
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x641e60]
and ecx, 0xf3fc3fcf
imul eax, eax, 0x1010101
and eax, 0xcff3fc3f
xor ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x641e60]
imul eax, eax, 0x1010101
and eax, 0xfc3fcff3
xor ecx, eax
movzx eax, bl
movzx eax, byte [eax + 0x641d60]
imul eax, eax, 0x1010101
and eax, 0x3fcff3fc
xor ecx, eax
xor ebp, ecx
lea eax, [ecx + edx]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor edx, eax
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
cmp eax, 0x80
jl 0x5136e2
mov eax, dword [esp + 0x24]
pop ebx
test eax, eax
je 0x5139c4
mov ecx, dword [eax]
jmp 0x5139c6
xor ecx, ecx
bswap edx
xor edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx], edx
test eax, eax
je 0x5139df
add eax, 4
test eax, eax
je 0x5139df
mov edx, dword [eax]
jmp 0x5139e1
xor edx, edx
bswap ebp
xor ebp, edx
mov dword [ecx + 4], ebp
test eax, eax
je 0x5139f7
add eax, 4
test eax, eax
je 0x5139f7
mov edx, dword [eax]
jmp 0x5139f9
xor edx, edx
bswap edi
xor edi, edx
mov dword [ecx + 8], edi
test eax, eax
je 0x513a1d
add eax, 4
test eax, eax
je 0x513a1d
mov eax, dword [eax]
bswap esi
xor esi, eax
pop edi
mov dword [ecx + 0xc], esi
pop esi
pop ebp
add esp, 0xc
ret 0xc
bswap esi
xor eax, eax
xor esi, eax
pop edi
mov dword [ecx + 0xc], esi
pop esi
pop ebp
add esp, 0xc
ret 0xc