Function at 0x58c4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a58ab
mov eax, dword fs:[0]
push eax
sub esp, 0x94
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 - 0xa0], 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 - 0x70]
add esp, 4
mov dword [edi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
push esi
movq qword [ebp - 0x60], xmm0
call fcn.00772080
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.007740b0
test al, al
je 0x58c9ec
mov eax, 6
mov dword [ebp - 0x18], 0xc5dfc9c8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x14], 0xafcbdb
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x18], al
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x58c590
mov byte [ebp + eax - 0x18], 0
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x18]
push eax
call fcn.00772ae0
mov ecx, eax
call fcn.00773310
test al, al
je 0x58c9ec
xorps xmm0, xmm0
lea ecx, [ebp - 0x70]
push 0x7da308
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x88]
call fcn.00772080
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.007740b0
test al, al
je 0x58c6ec
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 9
mov dword [ebp - 0x94], 0xcfc2dfd8
mov dword [ebp - 0x90], 0xd1ccfdc6
mov dword [ebp - 0x8c], 0xb2df
call fcn.004131e0
push eax
lea ecx, [ebp - 0x88]
call fcn.00772ae0
mov ecx, eax
call fcn.00773310
xorps xmm0, xmm0
mov byte [edi + 0x18], al
push 0x7d94dc
lea ecx, [ebp - 0x88]
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x28]
call fcn.00772080
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00773ed0
test al, al
je 0x58c6e0
lea eax, [edi + 0x1c]
mov ecx, eax
mov dword [ebp - 0x9c], eax
call fcn.00403e90
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00774b70
test eax, eax
je 0x58c6e0
mov edi, dword [ebp - 0x9c]
push esi
lea ecx, [ebp - 0x28]
call fcn.00772990
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.007737d0
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00406920
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404490
lea ecx, [ebp - 0x28]
inc esi
call fcn.00774b70
cmp esi, eax
jb 0x58c6a1
mov edi, dword [ebp - 0xa0]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.007727c0
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0xd8d8c3c5
xor ecx, ecx
movq qword [ebp - 0x30], xmm0
mov eax, 4
mov byte [ebp - 0x8c], 0xad
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x94], eax
mov word [ebp - 0x8b], cx
mov byte [ebp - 0x89], cl
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x90], al
inc ecx
mov eax, dword [ebp - 0x94]
cmp ecx, eax
jb 0x58c723
mov byte [ebp + eax - 0x90], 0
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x90]
push eax
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x40]
call fcn.00772080
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00773ed0
test al, al
je 0x58c9d9
lea ecx, [ebp - 0x40]
call fcn.00774b70
test eax, eax
je 0x58c9d9
xor esi, esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x9c], esi
call fcn.00774b70
test eax, eax
je 0x58c9d9
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push esi
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.00772990
push eax
lea ecx, [ebp - 0x58]
call fcn.00772080
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.007740b0
test al, al
jne 0x58c7d4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.007727c0
jmp 0x58c9c2
xorps xmm0, xmm0
push 0xf8
movlpd qword [ebp - 0x18], xmm0
call fcn.0076e8c3
push 0xf8
mov esi, eax
push 0
push esi
mov dword [ebp - 0xa0], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
push 0
push 0xb
call fcn.0059e890
push dword [ebp - 0xa0]
mov dword [esi], vtable..147.0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
push esi
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0058cb90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0058b880
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x58c978
mov esi, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x58c96a
lock inc dword [esi + 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [eax + 4], esi
add dword [edi + 4], 8
jmp 0x58c987
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, edi
call fcn.00413880
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test esi, esi
je 0x58c9b0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x58c9b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x58c9b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.007727c0
mov esi, dword [ebp - 0x9c]
inc esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x9c], esi
call fcn.00774b70
cmp esi, eax
jb 0x58c795
lea ecx, [ebp - 0x40]
call fcn.007727c0
lea ecx, [ebp - 0x88]
call fcn.007727c0
lea ecx, [ebp - 0x70]
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