Function at 0x100360f0
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 0x10083f3e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x100a6040]
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 0x10036b48
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x10036b39
mov esi, dword [0x1009e08c]
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.10014390
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x1003674c
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.10045fe0
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 0x100362a5
cmp cl, 0x2d
jae 0x100362a5
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100362a5
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x40]
movzx ecx, byte [ebp - 0x49]
mov edx, dword [0x1009e090]
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 0x100362aa
cmp dword [eax + 0x48], 0
mov dword [ebp - 0x40], eax
je 0x100362aa
push esi
push eax
xor edx, edx
lea ecx, [ebp - 0x68]
call fcn.1000f640
mov esi, eax
add esp, 8
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10036286
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.10007c30
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.10046080
mov esi, dword [ebp - 0x44]
jmp 0x100362f1
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x68]
push esi
push 0
call fcn.1000f640
mov esi, eax
add esp, 8
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x100362d4
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.10007c30
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.10046080
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 0x1003634f
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x1003632e
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x10036726
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x100363b6
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036398
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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.100111d0
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x40]
sar eax, 2
cmp ecx, eax
jb 0x10036421
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036400
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x10036481
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036460
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x100364de
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x100364bd
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x100364fe
movsx esi, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add esi, eax
jmp 0x10036502
movsx esi, word [eax + 0x66]
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp ecx, eax
jb 0x10036556
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036535
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x100365b3
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036592
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x10036726
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x10036619
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x100365fb
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x100366b1
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100366b1
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 0x10036647
sub ecx, edx
mov dword [ebp - 0x48], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100460a0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10048c00
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.10048680
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 [0x1009e0c0]
push edi
call fcn.10046080
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 0x10036703
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x100366e5
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [esi + eax]
mov esi, dword [eax]
test esi, esi
je 0x10036726
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036726
push 1
mov ecx, esi
call dword [0x1009e0b8]
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.10046080
add esp, 8
jmp 0x10036b33
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 0x100367a4
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036786
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
add esp, 0x14
mov eax, dword [edi + 0x10]
cmp dword [eax + esi*4], 0
je 0x10036b33
movaps xmm0, xmmword [0x1009fd10]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x613b2a3d
mov dword [ebp - 0x50], 0x3b372b
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 0x100367d0
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 0x10036813
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.10003350
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x10036881
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036863
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
add esp, 0x14
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0xac]
mov ecx, dword [eax + esi*4]
add ecx, 4
call fcn.100111d0
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.10046080
mov eax, dword [edi + 0x14]
add esp, 8
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x10036910
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x100368f2
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x10036b33
movaps xmm0, xmmword [str.f3_:]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x48120314
mov dword [ebp - 0x50], 0x121e02
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 0x10036940
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 0x10036980
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.10003350
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x100369ee
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x100369d0
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
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 0x10036a96
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036a96
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 0x10036a26
sub ecx, edx
mov dword [ebp - 0x44], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100460a0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10048c00
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.10048680
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 [0x1009e0c0]
push edi
call fcn.10046080
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.10046080
mov eax, dword [edi + 0x14]
add esp, 8
sub eax, dword [edi + 0x10]
sar eax, 2
cmp esi, eax
jb 0x10036b11
push str.vector_subscript_out_of_range
push 0x10097f88
push 0
push 0x761
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10036af3
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
add esp, 0x14
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
mov esi, dword [eax]
test esi, esi
je 0x10036b33
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b33
push eax
mov ecx, esi
call dword [0x1009e0b8]
inc byte [ebp - 0x39]
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x74], eax
cmp eax, dword [ebp - 0x34]
jne 0x10036155
mov esi, dword [edi]
test esi, esi
je 0x10036b76
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b76
push 4
add esi, 0xfc
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b76
cmp byte [esi], al
jne 0x10036bf6
mov eax, dword [0x100a9f50]
mov esi, dword [eax + 0x88]
test esi, esi
je 0x10036bd9
mov esi, dword [esi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test esi, esi
je 0x10036bb2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036bb2
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call dword [0x1009e0b0]
mov esi, dword [edi]
test esi, esi
je 0x10036bd9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036bd9
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, esi
add eax, 0x12c
push eax
call dword [0x1009e0b4]
mov esi, dword [edi]
test esi, esi
je 0x10036bf6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036bf6
push 1
mov ecx, esi
call dword [0x1009e0b8]
lea ecx, [ebx + 8]
call fcn.100109a0
mov eax, dword [ebx + 8]
push 8
push eax
mov dword [ebx + 8], 0
call fcn.10046080
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.10045fd0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10