Function at 0x100793b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cf05
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101dadb0]
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 edi, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x40], edx
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10079452
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1007942b
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10136180
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx + esi + 0x1c]
test eax, eax
je 0x100794c6
cmp byte [eax + 0x10d], 0
je 0x100794c6
mov eax, dword [edi + 0x140]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100794bf
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10079498
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10136180
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov edx, dword [ebp - 0x40]
add edx, dword [ecx + esi + 4]
mov dword [ebp - 0x40], edx
add esi, 0x20
inc ebx
cmp esi, 0xe0
jl 0x100793f0
push 0x2e
push edx
lea eax, [ebp - 0x3c]
push eax
lea esi, [ebp - 0x60]
call fcn.100f6ec0
mov dword [ebp - 4], 0
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x100794f7
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x101c1b40]
push ecx
movups xmmword [ebp - 0x20], xmm0
xor ecx, ecx
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10079505
sub esp, 0x1c
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [edi + 0x54]
add esp, 0x24
mov byte [ebp - 4], 1
test esi, esi
je 0x10079551
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10079551
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x60]
call fcn.100448c0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x1007956e
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.100448c0
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x100795b9
inc eax
push eax
push dword [ebp - 0x38]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x3c]
push 8
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.10049010
mov ecx, dword [edi + 0x50]
add esp, 8
test ecx, ecx
je 0x100795ef
push 1
call dword [0x101ba7a0]
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.101204c0
mov esp, ebp
pop ebp
ret