Function at 0x588af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a3d0f
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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 eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, 0xa
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xc000cc
mov dword [ebp - 0x2c], 0xde00ca
mov dword [ebp - 0x28], 0xdf00f3
mov dword [ebp - 0x24], 0xda00d4
mov dword [ebp - 0x20], 0xb500a3
mov dword [ebp - 0x1c], 0xc2
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x588b60
xor ecx, ecx
mov dword [ebp - 0x7c], 7
mov word [ebp + eax*2 - 0x30], cx
xor eax, eax
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x30]
mov word [ebp - 0x90], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x588b93
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, 0xe
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov dword [ebp - 0x38], 0xd500db
mov dword [ebp - 0x34], 0xce00d5
mov dword [ebp - 0x30], 0xfc00d8
mov dword [ebp - 0x2c], 0xec00e8
mov dword [ebp - 0x28], 0xa200a5
mov dword [ebp - 0x24], 0xaa00b6
mov dword [ebp - 0x20], 0xab00ab
mov dword [ebp - 0x1c], 0xc6
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x588c00
xor ecx, ecx
mov dword [ebp - 0x64], 7
mov word [ebp + eax*2 - 0x38], cx
xor eax, eax
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x38]
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x588c30
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.004044f0
mov byte [ebp - 4], 1
mov eax, dword [0x83df7c]
test eax, eax
jne 0x588c89
push 0x28
call fcn.0076d2e3
add esp, 4
mov dword [ebp - 0x48], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [eax], xmm0
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.0048cfa0
mov byte [ebp - 4], 1
mov dword [0x83df7c], eax
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0048d320
mov esi, eax
push 0x94
mov byte [ebp - 4], 3
call fcn.0076d2e3
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
push esi
lea ecx, [ebp - 0x60]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable._.119.0
mov dword [ebp - 0x14], eax
call fcn.00404120
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
lea esi, [edi + 0xc]
push 0xf
mov ecx, esi
call fcn.0059d920
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.00404490
push dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov dword [esi], vtable.6..0
call fcn.00404120
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x60]
call fcn.00404120
add esi, 0x64
lea eax, [ebp - 0x60]
cmp esi, eax
je 0x588d58
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x60]
xor eax, eax
mov word [ebp - 0x60], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x60]
call fcn.00404490
lea ecx, [ebp - 0x30]
call fcn.00404490
xorps xmm0, xmm0
lea esi, [edi + 0xc]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x78]
call fcn.00404490
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.00404490
mov ecx, dword [ebp - 0x44]
add ecx, 0xc
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x588dc7
mov dword [eax], 0
lea edx, [edi + 4]
mov dword [eax + 4], 0
lock inc dword [edx]
mov dword [eax], esi
mov dword [eax + 4], edi
add dword [ecx + 4], 8
jmp 0x588dd4
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.00413880
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xd
test edi, edi
je 0x588e00
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x588e00
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x588e00
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
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 8