Function at 0x58ec80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5d8c
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
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 eax, ecx
mov dword [ebp - 0x80], eax
mov esi, dword [ebp + 8]
lea edi, [eax + 4]
mov byte [eax], 0
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
mov dword [ebp - 0x88], edi
call fcn.00413a10
mov eax, dword [edi]
add esp, 4
mov ecx, esi
mov dword [edi + 4], eax
call fcn.007740b0
test al, al
je 0x58f1fb
mov eax, 6
mov dword [ebp - 0x18], 0xc5dfc9c8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x14], 0xafcbdb
nop dword [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 0x58ed00
mov byte [ebp + eax - 0x18], 0
mov ecx, esi
lea eax, [ebp - 0x18]
push eax
call fcn.00772c10
mov ecx, eax
call fcn.00773310
mov ecx, dword [ebp - 0x80]
mov byte [ecx], al
test al, al
je 0x58f1fb
push 1
lea ecx, [ebp - 0xb8]
call fcn.00772730
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x70], 4
mov word [ebp - 0x67], ax
mov byte [ebp - 0x65], al
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0x6c], 0xd8cadeda
mov byte [ebp - 0x68], 0xad
call fcn.004131e0
push eax
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call fcn.00773c00
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00773310
mov ecx, dword [ebp - 0x80]
mov byte [ecx + 1], al
lea ecx, [ebp - 0xa0]
call fcn.007727c0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.007727c0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 4
xor eax, eax
movq qword [ebp - 0x54], xmm0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xa8], 0xd8d8c3c5
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0xa4], 0xad
mov word [ebp - 0xa3], ax
mov byte [ebp - 0xa1], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00772c10
push eax
lea ecx, [ebp - 0x64]
call fcn.00772080
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 2
call fcn.00773ed0
test al, al
je 0x58f1f3
xor esi, esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x84], esi
call fcn.00774b70
test eax, eax
je 0x58f1e6
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
push esi
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], 3
call fcn.007740b0
test al, al
jne 0x58ee6f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.007727c0
jmp 0x58f1cf
xorps xmm0, xmm0
push 0x28
movlpd qword [ebp - 0x18], xmm0
call fcn.0076e8c3
xorps xmm0, xmm0
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
movups xmmword [eax], xmm0
push dword [ebp - 0x84]
movups xmmword [eax + 0x10], xmm0
push eax
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 7
mov word [eax + 4], cx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
lea ecx, [ebp - 0x18]
call fcn.0058f4c0
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, 4
mov dword [ebp - 0x78], 0xd8cadeda
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 0x74], 0xad
mov word [ebp - 0x73], ax
mov byte [ebp - 0x71], al
lea ecx, [eax - 0x57]
xor byte [ebp + eax - 0x78], cl
inc eax
mov ecx, dword [ebp - 0x7c]
cmp eax, ecx
jb 0x58eee2
lea eax, [ebp - 0x78]
mov byte [ebp + ecx - 0x78], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00772ae0
mov ecx, eax
call fcn.00773310
mov edi, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x90], 0xc9c6cbc7
mov byte [ebp - 0x8c], 0xad
mov word [ebp - 0x8b], cx
mov byte [edi], al
mov eax, 4
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x89], cl
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x90], al
inc ecx
mov eax, dword [ebp - 0x94]
cmp ecx, eax
jb 0x58ef40
mov byte [ebp + eax - 0x90], 0
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x90]
push eax
call fcn.00772ae0
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.007737d0
mov esi, eax
add edi, 4
cmp edi, esi
je 0x58efae
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xd0]
call fcn.00404490
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0xc9cccfdb
mov eax, 5
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov dword [ebp - 0x68], 0xaed5
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x6c], al
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x58efe0
mov byte [ebp + eax - 0x6c], 0
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push eax
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x34]
call fcn.00772080
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.007740c0
lea ecx, [ebp - 0x34]
test al, al
je 0x58f0a1
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0xd0]
push eax
call fcn.007736e0
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x20]
cmp dword [esi + 0x24], ecx
je 0x58f083
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
lea ecx, [ebp - 0xd0]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [esi + 0x20], 0x18
mov byte [ebp - 4], 5
call fcn.00407a10
jmp 0x58f141
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.00576bd0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00407a10
jmp 0x58f141
call fcn.00773ed0
test al, al
je 0x58f141
lea ecx, [ebp - 0x34]
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x58f141
mov esi, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x34]
call fcn.00772990
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.007736e0
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x20]
cmp dword [esi + 0x24], ecx
je 0x58f11b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [esi + 0x20], 0x18
jmp 0x58f125
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.00576bd0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00407a10
lea ecx, [ebp - 0x34]
inc edi
call fcn.00774b70
cmp edi, eax
jb 0x58f0c3
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x88]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [ecx + 0x20]
je 0x58f189
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x58f17d
mov esi, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x58f172
lock inc dword [esi + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
add dword [edi + 4], 8
jmp 0x58f18c
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, edi
call fcn.00413880
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.007727c0
mov byte [ebp - 4], 8
test esi, esi
je 0x58f1bd
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x58f1bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x58f1bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.007727c0
mov esi, dword [ebp - 0x84]
inc esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x84], esi
call fcn.00774b70
cmp esi, eax
jb 0x58ee30
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jne 0x58f1f3
mov eax, dword [ebp - 0x80]
mov byte [eax], 0
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