Function at 0x10069a70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d000e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x1006a4c8
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x1006a4b9
mov esi, dword [0x100ec5b0]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
mov eax, edx
shr eax, 6
mov dword [ebp - 0x40], eax
imul eax, eax, 0x3e8
push eax
call fcn.1001e520
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x1006a0cc
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.100892d0
lea ecx, [ebp - 0x30]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov eax, 0x12e0be83
mov cl, byte [esi + 4]
mov esi, dword [ebp - 0x44]
mul esi
mov eax, esi
mov byte [ebp - 0x49], cl
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x44], eax
cmp eax, 4
jae 0x10069c25
cmp cl, 0x2d
jae 0x10069c25
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10069c25
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x40]
movzx ecx, byte [ebp - 0x49]
mov edx, dword [0x100ec5b4]
imul eax, eax, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, esi
push eax
call edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10069c2a
cmp dword [eax + 0x48], 0
mov dword [ebp - 0x40], eax
je 0x10069c2a
push esi
push eax
xor edx, edx
lea ecx, [ebp - 0x68]
call fcn.1000fab0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10069c06
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.10008460
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.10089370
mov esi, dword [ebp - 0x44]
jmp 0x10069c71
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x68]
push esi
push 0
call fcn.1000fab0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10069c54
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.10008460
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.10089370
mov esi, dword [ebp - 0x40]
mov eax, dword [edi + 0x14]
add esp, 8
sub eax, dword [edi + 0x10]
movzx ecx, byte [ebp - 0x39]
sar eax, 2
mov dword [ebp - 0x40], ecx
cmp ecx, eax
jb 0x10069ccf
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069cae
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov edx, dword [edi + 0x10]
lea eax, [ecx*4]
mov dword [ebp - 0x44], eax
cmp dword [eax + edx], 0
je 0x1006a0a6
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x10069d36
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069d18
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [eax + ecx]
add ecx, 4
call fcn.100183a0
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x40]
sar eax, 2
cmp ecx, eax
jb 0x10069da1
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069d80
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x48]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x50], edx
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp ecx, eax
jb 0x10069e01
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069de0
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x54], esi
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp ecx, eax
jb 0x10069e5e
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069e3d
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 0x48]
test esi, esi
je 0x10069e7e
movsx esi, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add esi, eax
jmp 0x10069e82
movsx esi, word [eax + 0x66]
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp ecx, eax
jb 0x10069ed6
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069eb5
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x5c], esi
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp ecx, eax
jb 0x10069f33
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069f12
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov edx, dword [edi + 0x10]
lea esi, [ecx*4]
mov eax, dword [esi + edx]
cmp dword [eax], 0
je 0x1006a0a6
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x10069f99
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10069f7b
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [esi + eax]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1006a031
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a031
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10069fc7
sub ecx, edx
mov dword [ebp - 0x48], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c3c0
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x48]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec638]
push edi
call fcn.10089370
mov edi, dword [ebp - 0x70]
add esp, 4
mov esi, dword [ebp - 0x44]
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp dword [ebp - 0x40], eax
jb 0x1006a083
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x1006a065
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [esi + eax]
mov esi, dword [eax]
test esi, esi
je 0x1006a0a6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a0a6
push 1
mov ecx, esi
call dword [0x100ec604]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.10002f50
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.10089370
add esp, 8
jmp 0x1006a4b3
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
movzx esi, byte [ebp - 0x39]
sar eax, 2
mov dword [ebp - 0x48], esi
cmp esi, eax
jb 0x1006a124
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x1006a106
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
cmp dword [eax + esi*4], 0
je 0x1006a4b3
movaps xmm0, xmmword [0x100ef1f0]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x39637265
mov dword [ebp - 0x50], 0x636f73
nop dword [eax]
mov al, byte [ebp + ecx - 0x63]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x16
jb 0x1006a150
xorps xmm0, xmm0
mov byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0xac], 0
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x94], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006a193
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.10003370
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x1006a201
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x1006a1e3
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0xac]
mov ecx, dword [eax + esi*4]
add ecx, 4
call fcn.100183a0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.10002f50
mov eax, dword [ebp - 0xac]
push 8
push eax
mov dword [ebp - 0xac], 0
call fcn.10089370
mov eax, dword [edi + 0x14]
add esp, 8
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x1006a290
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x1006a272
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x1006a4b3
movaps xmm0, xmmword [0x100ee870]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x7c263720
mov dword [ebp - 0x50], 0x262a36
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x63]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x16
jb 0x1006a2c0
xorps xmm0, xmm0
mov byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x78], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006a300
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.10003370
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x1006a36e
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x1006a350
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1006a416
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a416
cmp dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
cmova ecx, dword [ebp - 0x8c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006a3a6
sub ecx, edx
mov dword [ebp - 0x44], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c3c0
add esp, 0xc
lea edx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x8c]
push dword [ebp - 0x44]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec638]
push edi
call fcn.10089370
mov edi, dword [ebp - 0x70]
add esp, 4
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
call fcn.10002f50
mov eax, dword [ebp - 0x90]
push 8
push eax
mov dword [ebp - 0x90], 0
call fcn.10089370
mov eax, dword [edi + 0x14]
add esp, 8
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x1006a491
push str.vector_subscript_out_of_range
push 0x100e64a8
push 0
push 0x761
push 0x100e6f98
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x1006a473
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e65e4
push str._vector_subscript_out_of_range_
call fcn.1008fd30
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
mov esi, dword [eax]
test esi, esi
je 0x1006a4b3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a4b3
push eax
mov ecx, esi
call dword [0x100ec604]
inc byte [ebp - 0x39]
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x74], eax
cmp eax, dword [ebp - 0x34]
jne 0x10069ad5
mov esi, dword [edi]
test esi, esi
je 0x1006a4f6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a4f6
push 4
add esi, 0xfc
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a4f6
cmp byte [esi], al
jne 0x1006a576
mov eax, dword [0x100faf58]
mov esi, dword [eax + 0x88]
test esi, esi
je 0x1006a559
mov esi, dword [esi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test esi, esi
je 0x1006a532
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a532
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call dword [0x100ec5f8]
mov esi, dword [edi]
test esi, esi
je 0x1006a559
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a559
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, esi
add eax, 0x12c
push eax
call dword [0x100ec5fc]
mov esi, dword [edi]
test esi, esi
je 0x1006a576
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a576
push 1
mov ecx, esi
call dword [0x100ec604]
lea ecx, [ebx + 8]
call fcn.10014880
mov eax, dword [ebx + 8]
push 8
push eax
mov dword [ebx + 8], 0
call fcn.10089370
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10