Function at 0x583cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a3150
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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 edi, ecx
mov dword [ebp - 0x74], edi
mov edx, dword [edi + 4]
mov esi, dword [ebp + 8]
push ecx
mov ecx, dword [edi]
call fcn.00413a10
mov eax, dword [edi]
mov dword [edi + 4], eax
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
call fcn.00413a10
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x64]
add esp, 4
mov dword [edi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
push esi
movq qword [ebp - 0x54], xmm0
call fcn.00770aa0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.00772ad0
test al, al
je 0x583f54
mov eax, 6
mov dword [ebp - 0x18], 0xd2cedad9
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x14], 0xbed8ca
nop word [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x18], al
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x583d90
mov byte [ebp + eax - 0x18], 0
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x18]
push eax
call fcn.00771500
mov ecx, eax
call fcn.00771d30
test al, al
je 0x583f54
xorps xmm0, xmm0
mov dword [ebp - 0x70], 4
xor eax, eax
movq qword [ebp - 0x24], xmm0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0xcfc9d0d4
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x68], 0xbc
mov word [ebp - 0x67], ax
mov byte [ebp - 0x65], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x64]
call fcn.00771500
push eax
lea ecx, [ebp - 0x34]
call fcn.00770aa0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.007728f0
test al, al
je 0x583f4c
lea ecx, [ebp - 0x34]
call fcn.00773590
test eax, eax
je 0x583f4c
lea ecx, [ebp - 0x34]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x583f4c
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push edi
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call fcn.007713b0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00770aa0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00772ad0
test al, al
je 0x583f2f
xorps xmm0, xmm0
push 0x34
movlpd qword [ebp - 0x18], xmm0
call fcn.0076d2e3
mov dword [ebp - 0x78], eax
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [eax], 0
mov dword [eax + 0x14], 0
push dword [ebp - 0x78]
mov dword [eax + 0x18], 7
mov word [eax + 4], cx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], 7
mov word [eax + 0x1c], cx
lea ecx, [ebp - 0x18]
push eax
call fcn.00583f80
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00583ad0
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x583ef9
mov esi, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x583eeb
lock inc dword [esi + 4]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
add dword [ecx + 4], 8
jmp 0x583f06
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.00413880
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test esi, esi
je 0x583f2f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x583f2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x583f2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.007711e0
lea ecx, [ebp - 0x34]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x583e37
lea ecx, [ebp - 0x34]
call fcn.007711e0
lea ecx, [ebp - 0x64]
call fcn.007711e0
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 4