Function at 0x58c4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp ebx, 0xc
jne 0x58c549
mov eax, dword [ebp + 0xc]
mov ebx, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x58c6e4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push edi
lea edi, [esi + 0x60]
cmp ebx, 0x10
jb 0x58c5c7
mov edi, ecx
mov dword [ebp + 0x10], ecx
mov eax, ebx
lea edx, [esi + 0xf]
sub edi, esi
shr eax, 4
mov dword [ebp - 4], eax
nop word [eax + eax]
lea eax, [edx + edi]
cmp esi, eax
ja 0x58c592
cmp edx, ecx
jb 0x58c592
mov eax, esi
mov edx, 0x10
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x58c582
jmp 0x58c59f
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ecx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call fcn.0058c970
mov ecx, dword [ebp + 0x10]
lea edx, [esi + 0xf]
add ecx, 0x10
add esp, 8
add edi, 0x10
mov dword [ebp + 0x10], ecx
sub ebx, 0x10
sub dword [ebp - 4], 1
jne 0x58c570
lea edi, [esi + 0x60]
test ebx, ebx
je 0x58c68b
xor edi, edi
test ebx, ebx
je 0x58c67e
cmp ebx, 0x40
jb 0x58c660
lea eax, [ecx - 1]
lea edx, [esi - 1]
add eax, ebx
add edx, ebx
cmp esi, eax
ja 0x58c5f4
cmp edx, ecx
jae 0x58c660
mov edx, ebx
mov eax, esi
and edx, 0xffffffc0
mov dword [ebp + 0x10], edx
mov edx, ecx
sub edx, esi
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx + edi + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + edi + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + edi + 0x30]
add edi, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edi, edx
jb 0x58c610
mov esi, dword [ebp + 8]
cmp edi, ebx
jae 0x58c67e
sub ecx, esi
lea edx, [edi + esi]
sub ebx, edi
nop dword [eax + eax]
mov al, byte [edx + ecx]
lea edx, [edx + 1]
xor byte [edx - 1], al
sub ebx, 1
jne 0x58c670
lea edi, [esi + 0x60]
push edi
push esi
call fcn.0058c970
add esp, 8
mov edx, dword [ebp - 8]
xor ebx, ebx
shld ebx, edx, 3
push edi
xor byte [esi + 0xb], bl
mov eax, ebx
shl edx, 3
xor byte [esi + 0xf], dl
mov ecx, edx
shrd ecx, eax, 0x18
push esi
xor byte [esi + 0xc], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
xor byte [esi + 0xd], cl
shrd eax, ebx, 8
xor byte [esi + 0xe], al
call fcn.0058c970
movzx ebx, byte [esi + 0xc]
add esp, 8
movzx eax, byte [esi + 0xd]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
or ebx, eax
pop edi
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
inc ebx
add esp, 0xc
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret