Function at 0x586cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a37e5
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x82f184]
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 [0x7e40d0]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e3bd0]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xebbfbaba
mov dword [ebp - 0x40], 0xeabaeebd
mov byte [ebp - 0x3c], 0xe0
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x586d47
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 0x586d80
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 [0x7e38a0]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e3d10]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xe9b8ecb9
mov dword [ebp - 0x40], 0xbbbaefbf
mov byte [ebp - 0x3c], 0xe0
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x586de0
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 0x586e16
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 [0x7e3910]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e3fa0]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xb9b9b8ef
mov dword [ebp - 0x40], 0xbaecbbb8
mov byte [ebp - 0x3c], 0xe0
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x586e70
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 0x586ea6
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 [0x7e40c0]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e3d30]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xeebeb8e0
mov dword [ebp - 0x40], 0xe7bcecb8
mov byte [ebp - 0x3c], 0xe0
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x586f00
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 0x586f36
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 [0x7e3830]
mov eax, 0x28
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movaps xmm0, xmmword [0x7e3fc0]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0xeeebedbd
mov dword [ebp - 0x40], 0xbaefb9e5
mov byte [ebp - 0x3c], 0xe0
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x64], al
inc ecx
mov eax, dword [ebp - 0x68]
cmp ecx, eax
jb 0x586f90
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 0x586fc0
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.00587ca0
push fcn.00406b00
push 5
push 0x18
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 6
push eax
call fcn.0076d1e5
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.00609810
lea ecx, [ebp - 0xfc]
call fcn.00404490
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x5870a0
nop
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x58707a
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 0x5870d2
add esi, 0x18
cmp esi, edi
jne 0x587070
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x34]
call fcn.00407a10
lea ecx, [ebp - 0x1c]
call fcn.0056df60
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.0076d59e
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x35], 1
jmp 0x5870a4