Function at 0x587c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a4f85
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
xor ecx, ecx
movaps xmm0, xmmword [0x7e5850]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e59d0]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xfcaea9ab
mov dword [ebp - 0x40], 0xe5abfdac
mov byte [ebp - 0x3c], 0xd1
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x587d07
mov byte [ebp + eax - 0x64], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x587d40
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.00407ab0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x7e5f50]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e5990]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xfea9ffa8
mov dword [ebp - 0x40], 0xb4abfcae
mov byte [ebp - 0x3c], 0xd1
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x587da0
mov byte [ebp + eax - 0x64], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xbc], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x587dd6
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.00407ab0
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x7e5ef0]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e61c0]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xaea8abfe
mov dword [ebp - 0x40], 0xb5fda8a9
mov byte [ebp - 0x3c], 0xd1
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x587e30
mov byte [ebp + eax - 0x64], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xa4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x587e66
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0xb4]
call fcn.00407ab0
mov byte [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x7e5840]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e5980]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xf9afabf1
mov dword [ebp - 0x40], 0xe8adffa9
mov byte [ebp - 0x3c], 0xd1
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x587ec0
mov byte [ebp + eax - 0x64], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x587ef6
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00407ab0
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x7e5ff0]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e6190]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xf9fafeac
mov dword [ebp - 0x40], 0xb5feaaf4
mov byte [ebp - 0x3c], 0xd1
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x587f50
mov byte [ebp + eax - 0x64], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x587f80
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00407ab0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x6c]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.00588c60
push fcn.00406b00
push 5
push 0x18
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 6
push eax
call fcn.0076e7c5
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0xfc]
push dword [ebp - 0x6c]
mov edx, esi
call fcn.0041c8d0
add esp, 4
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x6c], 2
push eax
lea ecx, [ebp - 0x6c]
call fcn.0060a8a0
lea ecx, [ebp - 0xfc]
call fcn.00404490
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x588060
nop
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x58803a
mov ecx, dword [esi]
push dword [esi + 0x10]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push ecx
cmovae eax, dword [ebp - 0x34]
push dword [ebp - 0x24]
push eax
call fcn.0040ffd0
add esp, 0x10
test al, al
jne 0x588092
add esi, 0x18
cmp esi, edi
jne 0x588030
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x34]
call fcn.00407a10
lea ecx, [ebp - 0x1c]
call fcn.0056f100
mov al, byte [ebp - 0x35]
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.0076eb7e
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x35], 1
jmp 0x588064