Function at 0x58dc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a45ec
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
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, 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.00772ad0
test al, al
je 0x58e20b
mov eax, 6
mov dword [ebp - 0x18], 0xd2cedad9
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x14], 0xbed8ca
nop dword [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 0x58dd10
mov byte [ebp + eax - 0x18], 0
mov ecx, esi
lea eax, [ebp - 0x18]
push eax
call fcn.00771630
mov ecx, eax
call fcn.00771d30
mov ecx, dword [ebp - 0x80]
mov byte [ecx], al
test al, al
je 0x58e20b
push 1
lea ecx, [ebp - 0xb8]
call fcn.00771150
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], 0xcfdbcdcb
mov byte [ebp - 0x68], 0xbc
call fcn.004131e0
push eax
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call fcn.00772620
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00771d30
mov ecx, dword [ebp - 0x80]
mov byte [ecx + 1], al
lea ecx, [ebp - 0xa0]
call fcn.007711e0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.007711e0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 4
xor eax, eax
movq qword [ebp - 0x54], xmm0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xa8], 0xcfc9d0d4
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0xa4], 0xbc
mov word [ebp - 0xa3], ax
mov byte [ebp - 0xa1], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771630
push eax
lea ecx, [ebp - 0x64]
call fcn.00770aa0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 2
call fcn.007728f0
test al, al
je 0x58e203
xor esi, esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x84], esi
call fcn.00773590
test eax, eax
je 0x58e1f6
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
push esi
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], 3
call fcn.00772ad0
test al, al
jne 0x58de7f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.007711e0
jmp 0x58e1df
xorps xmm0, xmm0
push 0x28
movlpd qword [ebp - 0x18], xmm0
call fcn.0076d2e3
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.0058e4d0
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, 4
mov dword [ebp - 0x78], 0xcfdbcdcb
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 0x74], 0xbc
mov word [ebp - 0x73], ax
mov byte [ebp - 0x71], al
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0x78], cl
inc eax
mov ecx, dword [ebp - 0x7c]
cmp eax, ecx
jb 0x58def2
lea eax, [ebp - 0x78]
mov byte [ebp + ecx - 0x78], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00771500
mov ecx, eax
call fcn.00771d30
mov edi, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x90], 0xded7d8d6
mov byte [ebp - 0x8c], 0xbc
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, 0x48
xor byte [ebp + ecx - 0x90], al
inc ecx
mov eax, dword [ebp - 0x94]
cmp ecx, eax
jb 0x58df50
mov byte [ebp + eax - 0x90], 0
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x90]
push eax
call fcn.00771500
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.007721f0
mov esi, eax
add edi, 4
cmp edi, esi
je 0x58dfbe
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], 0xdedddcca
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], 0xbdc4
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x6c], al
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x58dff0
mov byte [ebp + eax - 0x6c], 0
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push eax
call fcn.00771500
push eax
lea ecx, [ebp - 0x34]
call fcn.00770aa0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00772ae0
lea ecx, [ebp - 0x34]
test al, al
je 0x58e0b1
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0xd0]
push eax
call fcn.00772100
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x20]
cmp dword [esi + 0x24], ecx
je 0x58e093
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 0x58e151
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.00575a50
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00407a10
jmp 0x58e151
call fcn.007728f0
test al, al
je 0x58e151
lea ecx, [ebp - 0x34]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x58e151
mov esi, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x34]
call fcn.007713b0
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.00772100
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x20]
cmp dword [esi + 0x24], ecx
je 0x58e12b
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 0x58e135
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.00575a50
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00407a10
lea ecx, [ebp - 0x34]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x58e0d3
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x88]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [ecx + 0x20]
je 0x58e199
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x58e18d
mov esi, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x58e182
lock inc dword [esi + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
add dword [edi + 4], 8
jmp 0x58e19c
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.007711e0
mov byte [ebp - 4], 8
test esi, esi
je 0x58e1cd
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x58e1cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x58e1cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.007711e0
mov esi, dword [ebp - 0x84]
inc esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x84], esi
call fcn.00773590
cmp esi, eax
jb 0x58de40
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jne 0x58e203
mov eax, dword [ebp - 0x80]
mov byte [eax], 0
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