Function at 0x10079230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cc65
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 0x100792d2
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x100792ab
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.10135f00
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx + esi + 0x1c]
test eax, eax
je 0x10079346
cmp byte [eax + 0x10d], 0
je 0x10079346
mov eax, dword [edi + 0x140]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x1007933f
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x10079318
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.10135f00
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 0x10079270
push 0x2e
push edx
lea eax, [ebp - 0x3c]
push eax
lea esi, [ebp - 0x60]
call fcn.100f6c10
mov dword [ebp - 4], 0
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10079377
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x101c1a90]
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 0x10079385
sub esp, 0x1c
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [edi + 0x54]
add esp, 0x24
mov byte [ebp - 4], 1
test esi, esi
je 0x100793d1
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100793d1
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x60]
call fcn.100447b0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x100793ee
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.100447b0
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10079439
inc eax
push eax
push dword [ebp - 0x38]
call fcn.10048ea0
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.10048ea0
mov ecx, dword [edi + 0x50]
add esp, 8
test ecx, ecx
je 0x1007946f
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.10120250
mov esp, ebp
pop ebp
ret