Function at 0x6199c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movd mm3, edi
movd mm4, ebx
sub esp, 4
movd mm7, ebp
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov ebp, dword [ebp + 0x10]
mov edx, dword [ecx + 0x38]
lea edi, [ecx + 0x3c]
dec edx
movd mm6, edi
movd mm5, edx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, eax
shr esi, 0x18
mov esi, dword [ebp + esi*4]
mov edi, ebx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*4 + 0x400]
movzx edi, ch
xor esi, dword [ebp + edi*4 + 0x800]
movzx edi, dl
xor esi, dword [ebp + edi*4 + 0xc00]
movd mm0, esi
mov esi, ebx
shr esi, 0x18
mov esi, dword [ebp + esi*4]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*4 + 0x400]
movzx edi, dh
xor esi, dword [ebp + edi*4 + 0x800]
movzx edi, al
xor esi, dword [ebp + edi*4 + 0xc00]
movd mm1, esi
mov esi, ecx
shr esi, 0x18
mov esi, dword [ebp + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*4 + 0x400]
movzx edi, ah
xor esi, dword [ebp + edi*4 + 0x800]
movzx edi, bl
xor esi, dword [ebp + edi*4 + 0xc00]
movd mm2, esi
mov esi, edx
shr esi, 0x18
mov edx, dword [ebp + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
xor edx, dword [ebp + edi*4 + 0x400]
movzx esi, bh
xor edx, dword [ebp + esi*4 + 0x800]
movzx edi, cl
xor edx, dword [ebp + edi*4 + 0xc00]
movd esi, mm6
movd eax, mm0
add esi, 0x10
movd ebx, mm1
movd mm6, esi
movd ecx, mm2
xor eax, dword [esi]
xor ebx, dword [esi + 4]
movd edi, mm5
xor ecx, dword [esi + 8]
xor edx, dword [esi + 0xc]
dec edi
movd mm5, edi
jne 0x619a03
mov esi, eax
shr esi, 0x18
mov esi, dword [ebp + esi*4 + 0x1000]
and esi, 0xff000000
mov edi, ebx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff0000
xor esi, edi
movzx edi, ch
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff00
xor esi, edi
movzx edi, dl
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff
xor esi, edi
movd mm0, esi
mov esi, ebx
shr esi, 0x18
mov esi, dword [ebp + esi*4 + 0x1000]
and esi, 0xff000000
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff0000
xor esi, edi
movzx edi, dh
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff00
xor esi, edi
movzx edi, al
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff
xor esi, edi
movd mm1, esi
mov esi, ecx
shr esi, 0x18
mov esi, dword [ebp + esi*4 + 0x1000]
and esi, 0xff000000
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff0000
xor esi, edi
movzx edi, ah
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff00
xor esi, edi
movzx edi, bl
mov edi, dword [ebp + edi*4 + 0x1000]
and edi, 0xff
xor esi, edi
movd mm2, esi
mov esi, edx
shr esi, 0x18
mov edx, dword [ebp + esi*4 + 0x1000]
and edx, 0xff000000
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov esi, dword [ebp + edi*4 + 0x1000]
and esi, 0xff0000
xor edx, esi
movzx esi, bh
mov edi, dword [ebp + esi*4 + 0x1000]
and edi, 0xff00
xor edx, edi
movzx edi, cl
mov esi, dword [ebp + edi*4 + 0x1000]
and esi, 0xff
xor edx, esi
movd eax, mm0
movd esi, mm6
movd ebx, mm1
add esi, 0x10
movd ecx, mm2
xor eax, dword [esi]
xor ebx, dword [esi + 4]
xor ecx, dword [esi + 8]
xor edx, dword [esi + 0xc]
movd ebp, mm7
bswap eax
bswap ebx
mov esi, dword [ebp + 0xc]
bswap ecx
bswap edx
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov esi, dword [ebp - 4]
movd ebx, mm4
movd edi, mm3
mov esp, ebp
pop ebp
emms
ret 0xc