Function at 0x10007be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002991c
mov eax, dword fs:[0]
push eax
sub esp, 0x7bc
mov eax, dword [0x1009e220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x7c4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c0], esi
cmp dword [ebp + 0x18], ebx
jle 0x10007c62
sub eax, edi
mov dword [ebp - 0x7c8], eax
mov esi, dword [eax + edi]
mov eax, dword [ebp - 0x7c0]
push esi
push dword [edi]
add eax, ebx
push eax
call fcn.10015450
mov eax, dword [ebp - 0x7c8]
lea edi, [edi + 4]
add esp, 0xc
add ebx, esi
dec dword [ebp + 0x18]
jne 0x10007c35
mov esi, dword [ebp - 0x7c0]
mov ebx, dword [ebp - 0x7c4]
xor ecx, ecx
xor edx, edx
test ebx, ebx
jle 0x10007c89
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov al, byte [ecx + eax]
inc ecx
xor byte [esi + edx], al
xor eax, eax
cmp ecx, edi
cmove ecx, eax
inc edx
cmp edx, ebx
jl 0x10007c73
push 0
push ebx
push esi
call fcn.1000eaf0
mov esi, eax
lea eax, [ebp - 0x55c]
push 5
push 0x1007cb7c
push eax
mov dword [ebp - 0x7c8], esi
call fcn.100070f0
add esp, 0x18
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x10007cbf
mov eax, dword [eax]
lea ecx, [ebp - 0x7bc]
push ecx
lea ecx, [ebp - 0x7c4]
push ecx
push 1
push eax
push esi
call fcn.1000e2e0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x548], 8
mov esi, eax
jb 0x10007cf9
push dword [ebp - 0x55c]
call fcn.100141c9
add esp, 4
test esi, esi
je 0x10007e50
mov eax, dword [0x1009fbb4]
cmp dword [eax + 0x14], 0
je 0x10007e11
push 4
lea eax, [ebp - 0x574]
push 0x1008e66c
push eax
call fcn.100070f0
add esp, 0xc
mov ecx, eax
movdqu xmm0, xmmword [ecx]
push esi
sub esp, 0x18
mov dword [ebp - 4], 1
mov eax, esp
push 0x3ff
movdqu xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x55c]
push eax
call fcn.1000ab10
add esp, 0x28
cmp dword [ebp - 0x548], 8
jb 0x10007d79
push dword [ebp - 0x55c]
call fcn.100141c9
add esp, 4
xor eax, eax
mov dword [ebp - 0x548], 7
cmp dword [ebp - 0x560], 8
mov dword [ebp - 0x54c], 0
mov word [ebp - 0x55c], ax
mov dword [ebp - 4], 0xffffffff
jb 0x10007db4
push dword [ebp - 0x574]
call fcn.100141c9
add esp, 4
push 3
lea eax, [ebp - 0x574]
push 0x1005a7d4
push eax
call fcn.100070f0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 2
jb 0x10007dd9
mov eax, dword [eax]
mov ecx, dword [0x1009fbb0]
push 0x40040
push eax
lea eax, [ebp - 0x544]
push eax
push 0
call fcn.10004eb0
cmp dword [ebp - 0x560], 8
mov dword [ebp - 4], 0xffffffff
jb 0x10007e11
push dword [ebp - 0x574]
call fcn.100141c9
add esp, 4
push 0x2f
lea eax, [ebp - 0x58c]
push 0x1009bcc0
push eax
call fcn.100070f0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.10009990
cmp dword [ebp - 0x578], 8
jb 0x10007e4c
push dword [ebp - 0x58c]
call fcn.100141c9
add esp, 4
mov eax, ebx
jmp 0x10007e90
mov edi, dword [ebp - 0x590]
push edi
call fcn.10013a1a
mov ebx, dword [ebp - 0x7c8]
mov esi, eax
push edi
push esi
push dword [ebp - 0x7c4]
push ebx
call fcn.1000ef40
push edi
push esi
push dword [ebp - 0x7c0]
call fcn.10015450
push ebx
call fcn.1000e130
push esi
call fcn.10015e59
add esp, 0x28
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10014fed
mov esp, ebp
pop ebp
ret