Function at 0x584e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a4920
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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 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.00772080
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.007740b0
test al, al
je 0x5850d4
mov eax, 6
mov dword [ebp - 0x18], 0xc5dfc9c8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x14], 0xafcbdb
nop word [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x18], al
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x584f10
mov byte [ebp + eax - 0x18], 0
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x18]
push eax
call fcn.00772ae0
mov ecx, eax
call fcn.00773310
test al, al
je 0x5850d4
xorps xmm0, xmm0
mov dword [ebp - 0x70], 4
xor eax, eax
movq qword [ebp - 0x24], xmm0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0xd8d8c3c5
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x68], 0xad
mov word [ebp - 0x67], ax
mov byte [ebp - 0x65], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x64]
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x34]
call fcn.00772080
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00773ed0
test al, al
je 0x5850cc
lea ecx, [ebp - 0x34]
call fcn.00774b70
test eax, eax
je 0x5850cc
lea ecx, [ebp - 0x34]
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x5850cc
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push edi
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call fcn.00772990
push eax
lea ecx, [ebp - 0x4c]
call fcn.00772080
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.007740b0
test al, al
je 0x5850af
xorps xmm0, xmm0
push 0x34
movlpd qword [ebp - 0x18], xmm0
call fcn.0076e8c3
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.00585100
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00584c50
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x585079
mov esi, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x58506b
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 0x585086
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 0x5850af
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5850af
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5850af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.007727c0
lea ecx, [ebp - 0x34]
inc edi
call fcn.00774b70
cmp edi, eax
jb 0x584fb7
lea ecx, [ebp - 0x34]
call fcn.007727c0
lea ecx, [ebp - 0x64]
call fcn.007727c0
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 4