Function at 0x48ba22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dh, byte [ecx + 3]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
movzx edi, byte [ecx + 1]
mov dl, byte [ecx + 2]
push 4
pop ebx
shl edx, 8
or edx, edi
movzx edi, byte [ecx]
shl edx, 8
or edx, edi
xor edx, dword [eax]
movzx edi, byte [ecx + 5]
mov dword [ebp + 8], edx
xor edx, edx
mov dh, byte [ecx + 7]
add eax, ebx
mov dl, byte [ecx + 6]
shl edx, 8
or edx, edi
movzx edi, byte [ecx + 4]
shl edx, 8
or edx, edi
xor edx, dword [eax]
movzx edi, byte [ecx + 9]
mov dword [ebp + 0x10], edx
xor edx, edx
mov dh, byte [ecx + 0xb]
add eax, ebx
mov dl, byte [ecx + 0xa]
shl edx, 8
or edx, edi
movzx edi, byte [ecx + 8]
shl edx, 8
or edx, edi
xor edx, dword [eax]
movzx edi, byte [ecx + 0xd]
mov dword [ebp - 8], edx
xor edx, edx
mov dh, byte [ecx + 0xf]
add eax, ebx
mov dl, byte [ecx + 0xe]
movzx ecx, byte [ecx + 0xc]
shl edx, 8
or edx, edi
shl edx, 8
or edx, ecx
xor edx, dword [eax]
mov ecx, dword [esi]
sar ecx, 1
add eax, ebx
dec ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], edx
mov esi, 0xff
jne 0x48be86
test ecx, ecx
jle 0x48bc9b
mov dword [ebp - 0x14], ecx
movzx ecx, byte [ebp - 3]
movzx edx, byte [ebp - 6]
mov ecx, dword [ecx*4 + 0x10279970]
xor ecx, dword [edx*4 + 0x10279d70]
mov edx, dword [ebp + 0x10]
movzx edi, byte [ebp + 9]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x1027a170]
mov edx, dword [ebp + 8]
mov dword [ebp + 0xc], edi
and edx, esi
xor ecx, dword [edx*4 + 0x10279570]
movzx edx, byte [ebp - 2]
mov edi, dword [edx*4 + 0x10279d70]
mov edx, dword [ebp + 0xc]
xor edi, dword [edx*4 + 0x10279970]
mov edx, dword [ebp - 8]
xor ecx, dword [eax]
shr edx, 0x18
xor edi, dword [edx*4 + 0x1027a170]
mov edx, dword [ebp + 0x10]
and edx, esi
xor edi, dword [edx*4 + 0x10279570]
movzx edx, byte [ebp + 0x11]
add eax, ebx
xor edi, dword [eax]
add eax, ebx
mov dword [ebp - 0xc], edi
movzx edi, byte [ebp + 0xa]
mov dword [ebp + 0xc], edi
mov edi, dword [edx*4 + 0x10279970]
mov edx, dword [ebp + 0xc]
xor edi, dword [edx*4 + 0x10279d70]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor edi, dword [edx*4 + 0x1027a170]
mov edx, dword [ebp - 8]
and edx, esi
xor edi, dword [edx*4 + 0x10279570]
movzx edx, byte [ebp - 7]
xor edi, dword [eax]
mov edx, dword [edx*4 + 0x10279970]
mov dword [ebp + 0xc], edi
movzx edi, byte [ebp + 0x12]
xor edx, dword [edi*4 + 0x10279d70]
mov edi, dword [ebp + 8]
shr edi, 0x18
xor edx, dword [edi*4 + 0x1027a170]
mov edi, dword [ebp - 4]
and edi, esi
xor edx, dword [edi*4 + 0x10279570]
add eax, ebx
xor edx, dword [eax]
movzx ebx, byte [ebp + 0xe]
movzx edi, dh
mov edi, dword [edi*4 + 0x10279970]
xor edi, dword [ebx*4 + 0x10279d70]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1027a170]
mov ebx, ecx
and ebx, esi
xor edi, dword [ebx*4 + 0x10279570]
add eax, 4
xor edi, dword [eax]
mov dword [ebp - 4], edx
mov dword [ebp + 8], edi
movzx edi, byte [ebp - 2]
mov edi, dword [edi*4 + 0x10279d70]
movzx ebx, ch
xor edi, dword [ebx*4 + 0x10279970]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1027a170]
mov ebx, dword [ebp - 0xc]
and ebx, esi
xor edi, dword [ebx*4 + 0x10279570]
add eax, 4
xor edi, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [ebp + 0x10], edi
movzx edi, byte [ebp - 0xb]
mov edi, dword [edi*4 + 0x10279970]
movzx ebx, byte [ebp - 0xe]
xor edi, dword [ebx*4 + 0x10279d70]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1027a170]
mov ebx, dword [ebp + 0xc]
and ebx, esi
xor edi, dword [ebx*4 + 0x10279570]
movzx ebx, byte [ebp - 0xa]
add eax, 4
xor edi, dword [eax]
shr ecx, 0x18
mov dword [ebp - 8], edi
movzx edi, byte [ebp + 0xd]
mov edi, dword [edi*4 + 0x10279970]
xor edi, dword [ebx*4 + 0x10279d70]
and edx, esi
xor edi, dword [ecx*4 + 0x1027a170]
add eax, 4
xor edi, dword [edx*4 + 0x10279570]
push 4
xor edi, dword [eax]
pop ebx
add eax, ebx
dec dword [ebp - 0x14]
mov dword [ebp - 4], edi
jne 0x48bad9
movzx ecx, byte [ebp - 3]
movzx edx, byte [ebp - 6]
mov ecx, dword [ecx*4 + 0x10279970]
xor ecx, dword [edx*4 + 0x10279d70]
mov edx, dword [ebp + 0x10]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x1027a170]
mov edx, dword [ebp + 8]
movzx edi, byte [ebp + 9]
and edx, esi
xor ecx, dword [edx*4 + 0x10279570]
movzx edx, byte [ebp - 2]
xor ecx, dword [eax]
mov dword [ebp + 0xc], edi
mov edi, dword [edx*4 + 0x10279d70]
mov edx, dword [ebp + 0xc]
xor edi, dword [edx*4 + 0x10279970]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor edi, dword [edx*4 + 0x1027a170]
mov edx, dword [ebp + 0x10]
and edx, esi
xor edi, dword [edx*4 + 0x10279570]
movzx edx, byte [ebp + 0x11]
add eax, ebx
xor edi, dword [eax]
add eax, ebx
mov dword [ebp - 0xc], edi
movzx edi, byte [ebp + 0xa]
mov dword [ebp + 0xc], edi
mov edi, dword [edx*4 + 0x10279970]
mov edx, dword [ebp + 0xc]
xor edi, dword [edx*4 + 0x10279d70]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor edi, dword [edx*4 + 0x1027a170]
mov edx, dword [ebp - 8]
and edx, esi
xor edi, dword [edx*4 + 0x10279570]
movzx edx, byte [ebp - 7]
xor edi, dword [eax]
add eax, ebx
movzx ebx, byte [ebp + 0x12]
mov dword [ebp + 0xc], edi
mov edi, dword [edx*4 + 0x10279970]
xor edi, dword [ebx*4 + 0x10279d70]
mov edx, dword [ebp + 8]
shr edx, 0x18
xor edi, dword [edx*4 + 0x1027a170]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 4]
and edx, esi
xor edi, dword [edx*4 + 0x10279570]
mov dword [ebp + 8], edx
xor edi, dword [eax]
movzx edx, byte [ebp + 0xe]
mov dword [ebp - 4], edi
movzx edi, byte [edx + 0x10279470]
mov edx, dword [ebp - 0xc]
shr edx, 0x18
xor ebx, ebx
mov bh, byte [edx + 0x10279470]
movzx edx, byte [ebp - 3]
movzx edx, byte [edx + 0x10279470]
xor edi, ebx
shl edi, 8
xor edi, edx
mov edx, ecx
and edx, esi
movzx edx, byte [edx + 0x10279470]
shl edi, 8
xor edi, edx
movzx edx, byte [ebp - 2]
add eax, 4
xor edi, dword [eax]
add eax, 4
mov dword [ebp + 8], edi
movzx edi, byte [edx + 0x10279470]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
shr edx, 0x18
xor ebx, ebx
mov bh, byte [edx + 0x10279470]
movzx edx, ch
movzx edx, byte [edx + 0x10279470]
xor edi, ebx
shl edi, 8
xor edi, edx
mov edx, dword [ebp - 0xc]
shl edi, 8
and edx, esi
movzx edx, byte [edx + 0x10279470]
xor edi, edx
xor edi, dword [eax]
movzx edx, byte [ebp - 0xe]
movzx edx, byte [edx + 0x10279470]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 4]
shr edi, 0x18
xor ebx, ebx
mov bh, byte [edi + 0x10279470]
movzx edi, byte [ebp - 0xb]
movzx edi, byte [edi + 0x10279470]
xor edx, ebx
shl edx, 8
xor edx, edi
mov edi, dword [ebp + 0xc]
and edi, esi
movzx edi, byte [edi + 0x10279470]
shl edx, 8
xor edx, edi
movzx edi, byte [ebp - 0xa]
movzx edi, byte [edi + 0x10279470]
shr ecx, 0x18
xor ebx, ebx
mov bh, byte [ecx + 0x10279470]
mov ecx, edi
mov dword [ebp - 0x14], edi
movzx edi, byte [ebp + 0xd]
movzx edi, byte [edi + 0x10279470]
xor ecx, ebx
shl ecx, 8
xor ecx, edi
mov edi, dword [ebp - 4]
add eax, 4
and edi, esi
movzx esi, byte [edi + 0x10279470]
jmp 0x48c22f
test ecx, ecx
jle 0x48c052
mov dword [ebp - 0x14], ecx
movzx ecx, byte [ebp - 6]
mov ecx, dword [ecx*4 + 0x10278c70]
movzx edx, byte [ebp + 0x11]
xor ecx, dword [edx*4 + 0x10278870]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10279070]
mov edx, dword [ebp + 8]
and edx, esi
xor ecx, dword [edx*4 + 0x10278470]
movzx edx, byte [ebp - 7]
xor ecx, dword [eax]
movzx edi, byte [ebp + 0xa]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [ebp - 2]
mov ecx, dword [ecx*4 + 0x10278c70]
xor ecx, dword [edx*4 + 0x10278870]
mov edx, dword [ebp + 8]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10279070]
mov edx, dword [ebp + 0x10]
and edx, esi
xor ecx, dword [edx*4 + 0x10278470]
movzx edx, byte [ebp - 3]
mov edx, dword [edx*4 + 0x10278870]
xor edx, dword [edi*4 + 0x10278c70]
mov edi, dword [ebp + 0x10]
shr edi, 0x18
xor edx, dword [edi*4 + 0x10279070]
mov edi, dword [ebp - 8]
and edi, esi
xor edx, dword [edi*4 + 0x10278470]
movzx edi, byte [ebp + 0x12]
mov edi, dword [edi*4 + 0x10278c70]
add eax, ebx
xor ecx, dword [eax]
add eax, ebx
movzx ebx, byte [ebp + 9]
xor edi, dword [ebx*4 + 0x10278870]
xor edx, dword [eax]
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 8]
shr edi, 0x18
mov edi, dword [edi*4 + 0x10279070]
xor dword [ebp + 8], edi
mov edi, dword [ebp + 8]
and ebx, esi
xor edi, dword [ebx*4 + 0x10278470]
add eax, 4
xor edi, dword [eax]
mov dword [ebp + 0xc], edx
mov dword [ebp - 4], edi
movzx edi, byte [ebp + 0xe]
mov edi, dword [edi*4 + 0x10278c70]
movzx ebx, ch
xor edi, dword [ebx*4 + 0x10278870]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10279070]
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edi, dword [ebx*4 + 0x10278470]
add eax, 4
xor edi, dword [eax]
movzx ebx, dh
mov dword [ebp + 8], edi
movzx edi, byte [ebp - 2]
mov edi, dword [edi*4 + 0x10278c70]
xor edi, dword [ebx*4 + 0x10278870]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10279070]
mov ebx, ecx
and ebx, esi
xor edi, dword [ebx*4 + 0x10278470]
add eax, 4
xor edi, dword [eax]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0x10], edi
add eax, 4
movzx edi, byte [ebp - 3]
mov edi, dword [edi*4 + 0x10278870]
movzx ebx, byte [ebp - 0xe]
xor edi, dword [ebx*4 + 0x10278c70]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x10279070]
mov ecx, edx
and ecx, esi
xor edi, dword [ecx*4 + 0x10278470]
movzx ecx, byte [ebp - 0xa]
xor edi, dword [eax]
mov ecx, dword [ecx*4 + 0x10278c70]
mov dword [ebp - 8], edi
movzx edi, byte [ebp - 0xf]
xor ecx, dword [edi*4 + 0x10278870]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10279070]
push 4
mov edi, ecx
mov ecx, dword [ebp - 4]
and ecx, esi
xor edi, dword [ecx*4 + 0x10278470]
pop ebx
add eax, ebx
xor edi, dword [eax]
add eax, ebx
dec dword [ebp - 0x14]
mov dword [ebp - 4], edi
jne 0x48be91
movzx ecx, byte [ebp - 6]
mov ecx, dword [ecx*4 + 0x10278c70]
movzx edx, byte [ebp + 0x11]
xor ecx, dword [edx*4 + 0x10278870]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10279070]
mov edx, dword [ebp + 8]
and edx, esi
xor ecx, dword [edx*4 + 0x10278470]
movzx edx, byte [ebp - 7]
xor ecx, dword [eax]
add eax, ebx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [ebp - 2]
mov ecx, dword [ecx*4 + 0x10278c70]
xor ecx, dword [edx*4 + 0x10278870]
mov edx, dword [ebp + 8]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10279070]
mov edx, dword [ebp + 0x10]
and edx, esi
xor ecx, dword [edx*4 + 0x10278470]
movzx edx, byte [ebp - 3]
mov edi, dword [edx*4 + 0x10278870]
xor ecx, dword [eax]
mov edx, dword [ebp + 0x10]
shr edx, 0x18
add eax, ebx
movzx ebx, byte [ebp + 0xa]
xor edi, dword [ebx*4 + 0x10278c70]
mov dword [ebp + 0xc], edx
xor edi, dword [edx*4 + 0x10279070]
mov edx, dword [ebp - 8]
mov ebx, edx
and ebx, esi
xor edi, dword [ebx*4 + 0x10278470]
movzx ebx, byte [ebp + 9]
xor edi, dword [eax]
shr edx, 0x18
mov dword [ebp + 0xc], edi
movzx edi, byte [ebp + 0x12]
mov edi, dword [edi*4 + 0x10278c70]
xor edi, dword [ebx*4 + 0x10278870]
mov dword [ebp + 8], edx
xor edi, dword [edx*4 + 0x10279070]
mov edx, dword [ebp - 4]
and edx, esi
xor edi, dword [edx*4 + 0x10278470]
mov dword [ebp + 8], edx
movzx edx, byte [ebp + 0xe]
movzx edx, byte [edx + 0x10278370]
mov dword [ebp + 8], edx
xor edx, edx
add eax, 4
xor edi, dword [eax]
add eax, 4
mov dword [ebp - 4], edi
shr edi, 0x18
mov dh, byte [edi + 0x10278370]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
xor edi, edx
movzx edx, ch
movzx edx, byte [edx + 0x10278370]
shl edi, 8
xor edi, edx
mov edx, dword [ebp - 0x10]
and edx, esi
movzx edx, byte [edx + 0x10278370]
shl edi, 8
xor edi, edx
xor edi, dword [eax]
movzx edx, byte [ebp - 2]
mov dword [ebp + 8], edi
movzx edi, byte [edx + 0x10278370]
mov edx, dword [ebp - 0x10]
shr edx, 0x18
add eax, 4
xor ebx, ebx
mov bh, byte [edx + 0x10278370]
movzx edx, byte [ebp + 0xd]
movzx edx, byte [edx + 0x10278370]
xor edi, ebx
shl edi, 8
xor edi, edx
mov edx, ecx
and edx, esi
movzx edx, byte [edx + 0x10278370]
shr ecx, 0x18
shl edi, 8
xor edi, edx
xor edi, dword [eax]
movzx edx, byte [ebp - 0xe]
movzx edx, byte [edx + 0x10278370]
xor ebx, ebx
mov bh, byte [ecx + 0x10278370]
movzx ecx, byte [ebp - 3]
movzx ecx, byte [ecx + 0x10278370]
xor edx, ebx
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0xc]
shl edx, 8
xor edx, ecx
mov ecx, edi
and ecx, esi
movzx ecx, byte [ecx + 0x10278370]
shr edi, 0x18
shl edx, 8
xor edx, ecx
movzx ecx, byte [ebp - 0xa]
movzx ecx, byte [ecx + 0x10278370]
xor ebx, ebx
mov bh, byte [edi + 0x10278370]
movzx edi, byte [ebp - 0xf]
movzx edi, byte [edi + 0x10278370]
mov dword [ebp + 0xc], ecx
xor ecx, ebx
shl ecx, 8
xor ecx, edi
mov edi, dword [ebp - 4]
add eax, 4
and edi, esi
movzx esi, byte [edi + 0x10278370]
xor edx, dword [eax]
shl ecx, 8
xor ecx, esi
xor ecx, dword [eax + 4]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ebx, eax
mov byte [esi], al
shr ebx, 8
mov byte [esi + 1], bl
mov ebx, eax
shr eax, 0x18
mov byte [esi + 3], al
mov eax, dword [ebp + 0x10]
shr ebx, 0x10
mov byte [esi + 2], bl
mov ebx, eax
mov byte [esi + 4], al
shr ebx, 8
mov byte [esi + 5], bl
mov ebx, eax
shr eax, 0x18
mov byte [esi + 7], al
mov eax, edx
shr eax, 8
mov byte [esi + 9], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xa], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xd], al
mov eax, ecx
shr ebx, 0x10
mov byte [esi + 8], dl
shr edx, 0x18
mov byte [esi + 0xc], cl
shr eax, 0x10
shr ecx, 0x18
pop edi
mov byte [esi + 6], bl
mov byte [esi + 0xb], dl
mov byte [esi + 0xe], al
mov byte [esi + 0xf], cl
pop esi
pop ebx
leave
ret