Function at 0x100698c0
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 0x100cb78e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x100f2040]
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 0x1006a318
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x1006a309
mov esi, dword [0x100e6d00]
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.1001e350
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x10069f1c
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.10089110
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 0x10069a75
cmp cl, 0x2d
jae 0x10069a75
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10069a75
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x40]
movzx ecx, byte [ebp - 0x49]
mov edx, dword [0x100e6d04]
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 0x10069a7a
cmp dword [eax + 0x48], 0
mov dword [ebp - 0x40], eax
je 0x10069a7a
push esi
push eax
xor edx, edx
lea ecx, [ebp - 0x68]
call fcn.1000f930
mov esi, eax
add esp, 8
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10069a56
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.100082f0
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100891b0
mov esi, dword [ebp - 0x44]
jmp 0x10069ac1
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x68]
push esi
push 0
call fcn.1000f930
mov esi, eax
add esp, 8
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10069aa4
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.100082f0
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100891b0
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 0x10069b1f
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069afe
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x10069ef6
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x10069b86
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069b68
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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.10018220
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x40]
sar eax, 2
cmp ecx, eax
jb 0x10069bf1
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069bd0
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x10069c51
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069c30
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x10069cae
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069c8d
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x10069cce
movsx esi, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add esi, eax
jmp 0x10069cd2
movsx esi, word [eax + 0x66]
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp ecx, eax
jb 0x10069d26
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069d05
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x10069d83
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069d62
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x10069ef6
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x10069de9
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069dcb
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x10069e81
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10069e81
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 0x10069e17
sub ecx, edx
mov dword [ebp - 0x48], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c200
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.1008bc80
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 [0x100e6d88]
push edi
call fcn.100891b0
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 0x10069ed3
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069eb5
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [esi + eax]
mov esi, dword [eax]
test esi, esi
je 0x10069ef6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10069ef6
push 1
mov ecx, esi
call dword [0x100e6d54]
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.100891b0
add esp, 8
jmp 0x1006a303
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 0x10069f74
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10069f56
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
add esp, 0x14
mov eax, dword [edi + 0x10]
cmp dword [eax + esi*4], 0
je 0x1006a303
movaps xmm0, xmmword [0x100e91e0]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0xc564750
mov dword [ebp - 0x50], 0x565a46
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 0x10069fa0
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 0x10069fe3
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 0x1006a051
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x1006a033
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
add esp, 0x14
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0xac]
mov ecx, dword [eax + esi*4]
add ecx, 4
call fcn.10018220
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.100891b0
mov eax, dword [edi + 0x14]
add esp, 8
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x1006a0e0
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x1006a0c2
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x1006a303
movaps xmm0, xmmword [0x100e9b20]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x3268796e
mov dword [ebp - 0x50], 0x686478
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 0x1006a110
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 0x1006a150
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 0x1006a1be
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x1006a1a0
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
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 0x1006a266
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a266
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 0x1006a1f6
sub ecx, edx
mov dword [ebp - 0x44], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c200
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.1008bc80
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 [0x100e6d88]
push edi
call fcn.100891b0
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.100891b0
mov eax, dword [edi + 0x14]
add esp, 8
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x1006a2e1
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x1006a2c3
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
mov esi, dword [eax]
test esi, esi
je 0x1006a303
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a303
push eax
mov ecx, esi
call dword [0x100e6d54]
inc byte [ebp - 0x39]
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x74], eax
cmp eax, dword [ebp - 0x34]
jne 0x10069925
mov esi, dword [edi]
test esi, esi
je 0x1006a346
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a346
push 4
add esi, 0xfc
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a346
cmp byte [esi], al
jne 0x1006a3c6
mov eax, dword [0x100f5f50]
mov esi, dword [eax + 0x88]
test esi, esi
je 0x1006a3a9
mov esi, dword [esi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test esi, esi
je 0x1006a382
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a382
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call dword [0x100e6d48]
mov esi, dword [edi]
test esi, esi
je 0x1006a3a9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a3a9
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, esi
add eax, 0x12c
push eax
call dword [0x100e6d4c]
mov esi, dword [edi]
test esi, esi
je 0x1006a3c6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006a3c6
push 1
mov ecx, esi
call dword [0x100e6d54]
lea ecx, [ebx + 8]
call fcn.10014700
mov eax, dword [ebx + 8]
push 8
push eax
mov dword [ebx + 8], 0
call fcn.100891b0
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.10089100
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10