Function at 0x503990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x9c
call fcn.0065d180
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ecx]
push ebx
push esi
movups xmmword [ebp - 0x44], xmm0
mov esi, dword [ebp - 0x40]
movups xmm0, xmmword [ecx + 0x10]
push edi
mov dword [ebp - 0x9c], ecx
movups xmmword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x2c]
movups xmm0, xmmword [ecx + 0x20]
mov dword [ebp - 0x84], 4
mov dword [ebp - 0x68], ebx
movups xmmword [ebp - 0x24], xmm0
mov edi, dword [ebp - 0x18]
movups xmm0, xmmword [ecx + 0x30]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x80], edi
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x6c], ecx
lea eax, [ecx + edx]
rol eax, 7
xor eax, dword [ebp - 0x50]
add ecx, eax
mov dword [ebp - 0x50], eax
rol ecx, 9
xor ecx, dword [ebp - 0x54]
add eax, ecx
mov dword [ebp - 0x8c], ecx
rol eax, 0xd
xor eax, edx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
add eax, ecx
ror eax, 0xe
xor eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
lea eax, [esi + edx]
rol eax, 7
xor eax, dword [ebp - 0x58]
mov dword [ebp - 0x88], eax
lea ecx, [eax + edx]
rol ecx, 9
xor ecx, dword [ebp - 0x60]
mov dword [ebp - 0x98], ecx
lea esi, [eax + ecx]
rol esi, 0xd
xor esi, dword [ebp - 0x4c]
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x5c]
ror eax, 0xe
xor eax, edx
mov dword [ebp - 0x60], eax
lea eax, [ebx + ecx]
rol eax, 7
xor eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
lea edx, [eax + ecx]
rol edx, 9
xor edx, dword [ebp - 0x70]
lea ebx, [eax + edx]
rol ebx, 0xd
xor ebx, dword [ebp - 0x68]
mov dword [ebp - 0x5c], ebx
lea eax, [ebx + edx]
mov ebx, dword [ebp - 0x64]
ror eax, 0xe
xor eax, ecx
mov dword [ebp - 0x58], eax
lea eax, [edi + ebx]
rol eax, 7
xor eax, dword [ebp - 0x74]
lea edi, [eax + ebx]
rol edi, 9
xor edi, dword [ebp - 0x78]
lea ecx, [eax + edi]
rol ecx, 0xd
xor ecx, dword [ebp - 0x80]
mov dword [ebp - 0x64], ecx
add ecx, edi
ror ecx, 0xe
xor ecx, ebx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x54]
lea ebx, [eax + ecx]
rol ebx, 7
xor ebx, esi
mov esi, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], esi
lea ebx, [esi + ecx]
rol ebx, 9
xor ebx, edx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x3c], ebx
lea edx, [ebx + esi]
rol edx, 0xd
xor edx, eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x38], edx
lea eax, [ebx + edx]
ror eax, 0xe
xor eax, ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
lea edx, [ecx + eax]
rol edx, 7
xor edx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x2c], edx
lea ebx, [eax + edx]
rol ebx, 9
xor ebx, edi
add edx, ebx
mov dword [ebp - 0x78], ebx
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], edx
lea ecx, [edx + ebx]
ror ecx, 0xe
xor ecx, eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x88]
lea edi, [ecx + eax]
rol edi, 7
xor edi, dword [ebp - 0x64]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x18], edi
lea edx, [eax + edi]
rol edx, 9
xor edx, dword [ebp - 0x8c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x24], edx
lea ebx, [edx + edi]
rol ebx, 0xd
xor ebx, ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebx + edx]
ror ecx, 0xe
xor ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x90]
lea edx, [ecx + eax]
rol edx, 7
xor edx, dword [ebp - 0x94]
lea ebx, [eax + edx]
rol ebx, 9
xor ebx, dword [ebp - 0x98]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebx + edx]
rol esi, 0xd
xor esi, ecx
mov ecx, esi
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0xc], ecx
add ecx, ebx
mov ebx, dword [ebp - 0x68]
ror ecx, 0xe
xor ecx, eax
sub dword [ebp - 0x84], 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x6c]
jne 0x503a36
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x14], edx
lea edx, [ebp - 8]
lea eax, [ecx + 0x3c]
cmp ecx, edx
ja 0x503c50
lea edx, [ebp - 0x44]
cmp eax, edx
jb 0x503c50
mov esi, edx
mov edx, 0x10
sub esi, ecx
nop dword [eax + eax]
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
add dword [ecx - 4], eax
sub edx, 1
jne 0x503c40
jmp 0x503c8e
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [ebp - 0x44]
paddd xmm1, xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx], xmm1
movups xmm1, xmmword [ecx + 0x10]
paddd xmm1, xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ecx + 0x10], xmm1
movups xmm1, xmmword [ecx + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ecx + 0x20], xmm1
movups xmm1, xmmword [ecx + 0x30]
paddd xmm1, xmm0
movups xmmword [ecx + 0x30], xmm1
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00401320
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0065d16a
mov esp, ebp
pop ebp
ret