Function at 0x3013dd40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.3015ea70
mov eax, dword [0x3021ae88]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
push ebx
push ebp
movups xmm0, xmmword [eax]
push esi
push edi
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x34], 0xa
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x6c], xmm0
mov ecx, dword [esp + 0x6c]
movups xmm0, xmmword [eax + 0x20]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x20], ecx
movups xmmword [esp + 0x7c], xmm0
mov edx, dword [esp + 0x88]
movups xmm0, xmmword [eax + 0x30]
mov dword [esp + 0x10], edx
movups xmmword [esp + 0x8c], xmm0
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
add eax, ecx
mov ecx, dword [esp + 0x7c]
xor esi, eax
rol esi, 0x10
add ecx, esi
mov edx, ecx
xor edx, dword [esp + 0x20]
rol edx, 0xc
add eax, edx
mov dword [esp + 0x20], eax
xor eax, esi
rol eax, 8
mov dword [esp + 0x28], eax
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
xor eax, edx
rol eax, 7
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x60]
mov edx, eax
xor edx, ebx
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [esp + 0x24]
rol esi, 0xc
add eax, esi
mov dword [esp + 0x3c], eax
xor eax, edx
rol eax, 8
mov dword [esp + 0x44], eax
add eax, ecx
mov ecx, dword [esp + 0x64]
mov ebx, eax
add ecx, ebp
mov dword [esp + 0x14], eax
mov edx, ecx
xor ebx, esi
xor edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
rol edx, 0x10
add esi, edx
rol ebx, 7
mov eax, esi
xor eax, ebp
rol eax, 0xc
add ecx, eax
mov dword [esp + 0x40], ecx
xor ecx, edx
mov edx, dword [esp + 0x18]
add edx, dword [esp + 0x30]
rol ecx, 8
xor edi, edx
add esi, ecx
rol edi, 0x10
mov ebp, esi
mov dword [esp + 0x50], ecx
xor ebp, eax
mov eax, dword [esp + 0x10]
add eax, edi
rol ebp, 7
mov dword [esp + 0x10], eax
xor eax, dword [esp + 0x30]
rol eax, 0xc
lea ecx, [eax + edx]
mov dword [esp + 0x18], ecx
xor ecx, edi
mov edi, dword [esp + 0x10]
rol ecx, 8
add edi, ecx
mov edx, edi
xor edx, eax
mov eax, dword [esp + 0x20]
rol edx, 7
add eax, ebx
mov dword [esp + 0x1c], edx
mov edx, eax
xor edx, ecx
rol edx, 0x10
lea ecx, [edx + esi]
mov esi, ecx
xor esi, ebx
rol esi, 0xc
add eax, esi
mov dword [esp + 0x5c], eax
xor eax, edx
rol eax, 8
mov dword [esp + 0x54], eax
mov dword [esp + 0x98], eax
add eax, ecx
xor esi, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
add eax, ebp
rol esi, 7
mov ecx, eax
mov dword [esp + 0x24], esi
xor ecx, dword [esp + 0x28]
rol ecx, 0x10
mov dword [esp + 0x70], esi
lea edx, [edi + ecx]
mov ebx, edx
xor ebx, ebp
mov ebp, dword [esp + 0x14]
rol ebx, 0xc
lea esi, [ebx + eax]
mov dword [esp + 0x60], esi
xor esi, ecx
mov ecx, dword [esp + 0x48]
rol esi, 8
lea eax, [esi + edx]
xor ebx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x1c]
rol ebx, 7
mov dword [esp + 0x28], ebx
mov dword [esp + 0x74], ebx
mov ebx, eax
xor ebx, dword [esp + 0x44]
rol ebx, 0x10
add ecx, ebx
mov edi, ecx
xor edi, dword [esp + 0x1c]
rol edi, 0xc
add eax, edi
xor ebx, eax
mov dword [esp + 0x64], eax
rol ebx, 8
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x50]
xor edi, eax
mov dword [esp + 0x7c], eax
rol edi, 7
mov dword [esp + 0x30], edi
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x18]
add edi, dword [esp + 0x4c]
xor ecx, edi
rol ecx, 0x10
add ebp, ecx
mov eax, ebp
xor eax, dword [esp + 0x4c]
rol eax, 0xc
add edi, eax
mov edx, edi
mov dword [esp + 0x18], edi
xor edx, ecx
mov dword [esp + 0x68], edi
rol edx, 8
add ebp, edx
mov dword [esp + 0x1c], edx
mov ecx, ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0x14], ebp
xor ecx, eax
mov dword [esp + 0x80], ebp
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x28]
rol ecx, 7
sub dword [esp + 0x34], 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6c], ecx
jne 0x3013de05
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0x98]
mov ebx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x8c], esi
lea esi, [ebx + 0x3c]
cmp ebx, ecx
ja 0x3013e041
lea ecx, [esp + 0x5c]
cmp esi, ecx
jae 0x3013e0ae
mov edx, dword [esp + 0x38]
lea ecx, [edx + 0x3c]
cmp ebx, ecx
ja 0x3013e050
cmp esi, edx
jae 0x3013e0b2
movups xmm0, xmmword [edx]
movups xmm1, xmmword [esp + 0x5c]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [ebx], xmm1
movups xmm1, xmmword [edx + 0x10]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [ebx + 0x10], xmm1
movups xmm1, xmmword [edx + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [ebx + 0x20], xmm1
movups xmm1, xmmword [edx + 0x30]
paddd xmm1, xmm0
movups xmmword [ebx + 0x30], xmm1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.3015dd6d
add esp, 0x90
ret
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + eax*4]
add ecx, dword [esp + eax*4 + 0x5c]
mov dword [ebx + eax*4], ecx
inc eax
cmp eax, 0x10
jl 0x3013e0b2
jmp 0x3013e095