Function at 0x5c8680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea728
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
lea edi, [ecx + 1]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
test edi, edi
je 0x5c8751
cmp edi, 0x7fffffff
ja 0x5c88be
cmp edi, 0x1000
jb 0x5c8720
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x5c88c3
push eax
call fcn.005bc4c7
add esp, 4
test eax, eax
je 0x5c88c8
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [ebp - 0x28], esi
mov dword [esi - 4], eax
jmp 0x5c872e
push edi
call fcn.005bc4c7
add esp, 4
mov dword [ebp - 0x28], eax
mov esi, eax
push edi
lea eax, [esi + edi]
mov dword [ebp - 0x1c], esi
push 0
push esi
mov dword [ebp - 0x14], eax
call fcn.005be800
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, esi
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 1
test edx, edx
je 0x5c883e
test eax, eax
je 0x5c883e
xor edi, edi
test ecx, ecx
je 0x5c883a
cmp ecx, 0x40
jb 0x5c8814
dec eax
add eax, ecx
mov dword [ebp - 0x2c], eax
lea eax, [edx - 1]
add eax, ecx
cmp dword [ebp - 0x20], eax
ja 0x5c8793
cmp dword [ebp - 0x2c], edx
jae 0x5c8811
movaps xmm1, xmmword [0x43cf50]
mov eax, ecx
mov ecx, dword [ebp - 0x20]
and eax, 0xffffffc0
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, edx
sub eax, ecx
lea ecx, [edx + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x30]
add edi, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp edi, dword [ebp - 0x30]
jb 0x5c87c0
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], edi
cmp edi, ecx
jae 0x5c883a
jmp 0x5c8814
mov eax, dword [ebp - 0x20]
sub edx, eax
lea ecx, [eax + edi]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 0x24]
sub edx, edi
mov edi, dword [ebp + 0xc]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor al, 0x67
mov byte [ecx - 1], al
sub edx, 1
jne 0x5c8824
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov byte [eax + ecx], 0
mov edi, dword [ebp - 0x38]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
push ecx
push esi
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [edi], 0x41ee38
call fcn.004bbd80
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5c88a1
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
mov dword [ebp - 4], 3
cmp ecx, 0x1000
jb 0x5c8897
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c88c8
push ecx
push esi
call fcn.005bc4f7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret
call fcn.004595d0
call fcn.00459310
call fcn.004d7f94
int3