Function at 0x4817e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [ecx]
mov esi, edx
xor eax, 2
or eax, dword [ecx + 4]
jne 0x48187c
movdqu xmm0, xmmword [ecx + 8]
xor eax, eax
lea ecx, [esp + 8]
lea edx, [esp + 4]
pshufd xmm1, xmm0, 0x44
pshufd xmm2, xmm0, 0xee
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pxor xmm2, xmmword [0x7d4a40]
movdqu xmmword [esp + 8], xmm1
movdqu xmmword [esp + 0x18], xmm2
movdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov edi, dword [esi]
test edi, edi
setne al
mov dword [esp + 4], eax
push 4
call fcn.00481c80
add esp, 4
test edi, edi
je 0x4818e4
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
push dword [esi + 8]
jmp 0x4818f6
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x5635bc91
test edi, edi
setne cl
xor ecx, 0x84222325
mov eax, ecx
mul edx
test edi, edi
je 0x481bbb
mov edi, dword [esi + 8]
test edi, edi
je 0x481bc7
mov esi, dword [esi + 4]
imul ecx, ecx, 0x9ffaac08
lea ebx, [edx + ecx - 0x3d29b2dc]
nop word [eax + eax]
movzx ecx, byte [esi]
mov edx, 0x1b3
imul ebx, ebx, 0x1b3
inc esi
xor ecx, eax
mov eax, ecx
shl ecx, 8
mul edx
add ecx, edx
add ebx, ecx
dec edi
jne 0x4818c0
jmp 0x481bc7
movzx eax, byte [esi + 4]
lea ecx, [esp + 8]
lea edx, [esp + 4]
mov dword [esp + 4], eax
push 4
call fcn.00481c80
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
movdqu xmm0, xmmword [esp + 0x10]
movdqu xmm3, xmmword [esp + 8]
shl eax, 0x18
xor edx, ecx
movdqa xmm5, xmm0
or eax, dword [esp + 0x3c]
movd xmm4, edx
movd xmm2, edx
psrlq xmm5, 0x33
xor esi, eax
movd xmm1, esi
punpckldq xmm2, xmm1
punpcklqdq xmm1, xmm4
punpcklqdq xmm2, xmm3
shufps xmm1, xmm0, 0xe2
movaps xmm4, xmm1
paddq xmm2, xmm0
psllq xmm1, 0x10
psllq xmm0, 0xd
pshufd xmm3, xmm2, 0xff
psrlq xmm4, 0x30
movsd xmm0, xmm1
movdqa xmm1, xmm2
movd edx, xmm3
movsd xmm5, xmm4
orpd xmm0, xmm5
movd xmm3, edx
shufps xmm1, xmm3, 0x4e
xorpd xmm0, xmm2
shufps xmm1, xmm2, 0x42
movapd xmm2, xmm0
movapd xmm3, xmm0
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
paddq xmm1, xmm0
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0x11
movd esi, xmm1
psllq xmm2, 0x15
xor esi, ecx
movsd xmm0, xmm2
pshufd xmm2, xmm1, 0xff
movd edx, xmm2
pshufd xmm2, xmm1, 0x55
orpd xmm0, xmm3
movd xmm3, esi
movd edi, xmm2
xor edx, 0xff
xorpd xmm0, xmm1
xor edi, eax
movd xmm2, edx
movd xmm4, edi
shufpd xmm1, xmm2, 1
punpcklqdq xmm4, xmm3
movapd xmm3, xmm0
shufps xmm1, xmm0, 0xe2
shufps xmm3, xmm4, 0x24
movaps xmm4, xmm0
paddq xmm1, xmm3
psrlq xmm4, 0x33
pshufd xmm2, xmm1, 0xff
movd eax, xmm2
movaps xmm2, xmm0
psrlq xmm2, 0x30
movd xmm3, eax
movsd xmm4, xmm2
movaps xmm2, xmm0
psllq xmm0, 0xd
psllq xmm2, 0x10
movsd xmm0, xmm2
movdqa xmm2, xmm1
orpd xmm0, xmm4
shufps xmm2, xmm3, 0x4e
xorpd xmm0, xmm1
shufps xmm2, xmm1, 0x42
movapd xmm1, xmm0
movapd xmm3, xmm0
paddq xmm2, xmm0
psrlq xmm1, 0x2b
psrlq xmm3, 0x2f
movsd xmm3, xmm1
movdqa xmm1, xmm0
psllq xmm0, 0x11
psllq xmm1, 0x15
movsd xmm0, xmm1
pshufd xmm1, xmm2, 0xff
movd eax, xmm1
orpd xmm0, xmm3
movdqa xmm3, xmm2
movd xmm1, eax
xorpd xmm0, xmm2
shufps xmm3, xmm1, 0x4e
movapd xmm4, xmm0
shufps xmm3, xmm2, 0x42
psrlq xmm4, 0x33
paddq xmm3, xmm0
pshufd xmm1, xmm3, 0xff
movd eax, xmm1
movdqa xmm1, xmm0
psrlq xmm1, 0x30
movd xmm2, eax
movsd xmm4, xmm1
movdqa xmm1, xmm0
psllq xmm0, 0xd
psllq xmm1, 0x10
movsd xmm0, xmm1
movdqa xmm1, xmm3
orpd xmm0, xmm4
shufps xmm1, xmm2, 0x4e
xorpd xmm0, xmm3
shufps xmm1, xmm3, 0x42
movapd xmm2, xmm0
movapd xmm3, xmm0
paddq xmm1, xmm0
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0x11
psllq xmm2, 0x15
movsd xmm0, xmm2
pshufd xmm2, xmm1, 0xff
orpd xmm0, xmm3
movd eax, xmm2
xorpd xmm0, xmm1
movd xmm3, eax
pshufd xmm2, xmm0, 0xff
movd eax, xmm2
pshufd xmm2, xmm0, 0xee
movd edx, xmm2
movapd xmm2, xmm1
shufpd xmm2, xmm3, 1
mov ecx, edx
shufps xmm2, xmm1, 0x42
shld ecx, eax, 0xd
shld eax, edx, 0xd
movd edx, xmm0
paddq xmm2, xmm0
pshufd xmm0, xmm0, 0x55
movd xmm1, ecx
movd esi, xmm0
movd xmm0, eax
shld esi, edx, 0x10
shl edx, 0x10
punpckldq xmm1, xmm0
movd xmm3, esi
movd xmm0, edx
punpckldq xmm0, xmm3
punpcklqdq xmm0, xmm1
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm2
movdqa xmm2, xmm0
psrlq xmm0, 0x2f
psrlq xmm2, 0x2b
pshufd xmm0, xmm0, 0xee
movd ecx, xmm1
pshufd xmm1, xmm1, 0x55
pxor xmm0, xmm2
movd edx, xmm1
movd eax, xmm0
xor eax, edx
xor eax, ecx
jmp 0x481bc7
movzx ecx, byte [esi + 4]
xor eax, ecx
imul eax, eax, 0xffffbc91
and eax, 0x7fff
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret