Function at 0x511d30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x80
call fcn.00569440
mov eax, dword [0x62aa54]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
movups xmm0, xmmword [edi]
mov dword [esp + 0x40], 0xa
movups xmmword [esp + 0x4c], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esp + 0x5c], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0x6c], xmm0
mov eax, dword [esp + 0x74]
movups xmm0, xmmword [edi + 0x30]
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
movups xmmword [esp + 0x7c], xmm0
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
nop word [eax + eax]
add eax, dword [esp + 0x2c]
xor ebx, eax
mov dword [esp + 0x20], eax
rol ebx, 0x10
add esi, ebx
mov eax, esi
xor eax, dword [esp + 0x2c]
rol eax, 0xc
add dword [esp + 0x20], eax
xor ebx, dword [esp + 0x20]
rol ebx, 8
add esi, ebx
mov dword [esp + 0x3c], esi
xor esi, eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x34]
xor edx, eax
mov dword [esp + 0x14], eax
rol edx, 0x10
add ecx, edx
rol esi, 7
mov eax, ecx
xor eax, dword [esp + 0x34]
rol eax, 0xc
add dword [esp + 0x14], eax
xor edx, dword [esp + 0x14]
rol edx, 8
add ecx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
xor ecx, eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
xor edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
rol edx, 0x10
add eax, edx
rol ecx, 7
mov dword [esp + 0x10], eax
xor eax, dword [esp + 0x38]
rol eax, 0xc
add dword [esp + 0x24], eax
xor edx, dword [esp + 0x24]
rol edx, 8
add dword [esp + 0x10], edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
xor edx, eax
mov eax, dword [esp + 0x1c]
add eax, edi
rol edx, 7
xor ebp, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
rol ebp, 0x10
add eax, ebp
mov dword [esp + 0x18], eax
xor eax, edi
mov edi, dword [esp + 0x1c]
rol eax, 0xc
add edi, eax
xor ebp, edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
rol ebp, 8
add edi, ebp
mov dword [esp + 0x18], edi
xor edi, eax
mov eax, dword [esp + 0x20]
add eax, ecx
rol edi, 7
xor ebp, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
rol ebp, 0x10
add eax, ebp
mov dword [esp + 0x10], eax
xor eax, ecx
rol eax, 0xc
mov ecx, dword [esp + 0x20]
add ecx, eax
xor ebp, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
rol ebp, 8
add ecx, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x74], ecx
xor ecx, eax
mov eax, dword [esp + 0x14]
add eax, edx
rol ecx, 7
mov dword [esp + 0x14], eax
xor eax, ebx
rol eax, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x18], ecx
xor ecx, edx
mov edx, dword [esp + 0x14]
rol ecx, 0xc
add edx, ecx
mov ebx, edx
mov dword [esp + 0x14], edx
xor ebx, eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
rol ebx, 8
add edx, edi
add eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], eax
xor eax, ecx
mov ecx, dword [esp + 0x3c]
rol eax, 7
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], eax
mov eax, edx
xor eax, dword [esp + 0x2c]
rol eax, 0x10
add ecx, eax
xor edi, ecx
rol edi, 0xc
add edx, edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], edx
xor edx, eax
mov eax, dword [esp + 0x1c]
add eax, esi
rol edx, 8
add ecx, edx
mov dword [esp + 0x1c], eax
xor eax, dword [esp + 0x30]
xor edi, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x28]
rol eax, 0x10
add ecx, eax
rol edi, 7
mov dword [esp + 0x28], ecx
xor ecx, esi
mov esi, dword [esp + 0x1c]
rol ecx, 0xc
add esi, ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x58], esi
xor esi, eax
mov eax, dword [esp + 0x28]
rol esi, 8
add eax, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], eax
mov esi, dword [esp + 0x3c]
xor eax, ecx
mov ecx, dword [esp + 0x28]
rol eax, 7
sub dword [esp + 0x40], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
jne 0x511e00
mov dword [esp + 0x7c], ebx
lea ecx, [esp + 0x88]
mov ebx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x88], ebp
lea edx, [ebx + 0x3c]
cmp ebx, ecx
ja 0x51205a
lea ecx, [esp + 0x4c]
cmp edx, ecx
jae 0x512065
lea ecx, [edi + 0x3c]
cmp ebx, ecx
ja 0x51208a
cmp edx, edi
jb 0x51208a
lea ecx, [esp + 0x4c]
sub edi, ecx
sub ebx, ecx
nop dword [eax]
lea ecx, [edi + eax*4]
mov edx, dword [esp + ecx + 0x4c]
lea ecx, [ebx + eax*4]
add edx, dword [esp + eax*4 + 0x4c]
inc eax
mov dword [esp + ecx + 0x4c], edx
cmp eax, 0x10
jl 0x512070
jmp 0x5120d2
mov esi, edi
lea ebp, [esp + 0x4c]
lea ecx, [esp + 0x4c]
sub esi, ebx
sub ebp, ebx
lea edx, [ebx + 0x10]
sub edi, ecx
nop dword [eax]
movups xmm0, xmmword [esp + eax*4 + 0x4c]
lea ecx, [edi + eax*4]
add eax, 8
lea edx, [edx + 0x20]
movups xmm1, xmmword [esp + ecx + 0x4c]
paddd xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
movups xmm0, xmmword [esi + edx - 0x20]
movups xmm1, xmmword [edx + ebp - 0x20]
paddd xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, 0x10
jl 0x5120a0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0056935c
add esp, 0x80
ret