Function at 0x10077860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cba7
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xd8], eax
mov al, byte [ebp + 0x10]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 0xad], al
nop
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077915
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 0x100778eb
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 - 0xd4]
mov eax, dword [esi + ecx + 0x1c]
test eax, eax
je 0x10077926
cmp byte [eax + 0x10d], 0
jne 0x10077951
test edx, edx
je 0x10077951
mov ecx, dword [0xf3e688]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x101ba7a4]
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x1007796c
add esi, 0x20
inc ebx
cmp esi, 0xe0
jge 0x10078716
mov edx, dword [ebp - 0xd4]
jmp 0x100778b0
mov esi, dword [edi + 0x10]
movzx ecx, byte [eax + 4]
mov dword [ebp - 0xc4], ecx
test esi, esi
je 0x10077fc3
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x10077fc3
cmp ecx, 0x2c
ja 0x10077fc3
mov eax, 0x10624dd3
mov ecx, esi
mul esi
shr edx, 6
imul eax, edx, 0x3e8
sub ecx, eax
cmp esi, 0x3b9aca00
lea eax, [ecx + 0x3e8]
cmovb eax, ecx
mov ecx, dword [ebp - 0xc4]
push eax
mov ecx, dword [ecx*4 + 0xf3e690]
call dword [0x101ba7a8]
test eax, eax
je 0x10077fc3
mov esi, dword [eax + 0x44]
test esi, esi
mov eax, dword [ebp - 0xc0]
movaps xmm0, xmmword [str.sozoRCKoEIHy]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1c], 0x525e4208
cmove esi, dword [eax + 0x4c]
mov eax, 0xcccccccd
mul esi
movaps xmm0, xmmword [0x101c2730]
movups xmmword [ebp - 0x2c], xmm0
mov ecx, esi
mov byte [ebp - 0x18], 0
mov eax, edx
shr eax, 3
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
xor edx, edx
push ecx
mov ecx, 0x64
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul esi
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul esi
shr edx, 0x16
xor ecx, ecx
push edx
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x23
jb 0x10077a57
sub esp, 0x1c
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x3b]
mov ecx, esp
push eax
call fcn.10047670
lea eax, [ebp - 0x90]
push eax
call fcn.1004a7a0
add esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077aeb
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 0x10077ac7
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 esi, ebx
shl esi, 5
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0xb4], esi
mov eax, dword [ecx + esi + 0xc]
jne 0x10077b0d
push eax
push str._d__n
call fcn.10082cd0
jmp 0x10077b1a
lea ecx, [ebp - 0x90]
push ecx
push eax
call fcn.100ba640
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x34]
add esp, 8
add eax, 8
push eax
call fcn.10047840
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077b8e
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 0x10077b6a
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 eax, dword [ecx + esi + 0x10]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10077bbd
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10077bbd
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x34]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x10077bde
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.10048ea0
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077c64
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 0x10077c40
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 eax, dword [ebp - 0xd4]
mov dword [ecx + esi], eax
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077ccc
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 0x10077ca8
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 - 0xd8]
mov eax, 0x101bccd0
cmp byte [ebp - 0xad], 1
mov dword [ecx + esi + 4], edx
mov ecx, str._KnightCash
cmovne eax, ecx
push eax
push 0x2e
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.100f6c10
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10077d06
mov ecx, dword [ecx]
push ecx
sub esp, 0x1c
lea eax, [ebp - 0xad]
mov esi, esp
mov dword [ebp - 0xc4], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048e10
add esp, 4
mov dword [ebp - 0xc8], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov byte [ebp - 4], 3
mov ecx, esi
push 5
push str._s__s
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10048200
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc8], 0
push eax
mov byte [ebp - 4], 2
call fcn.1004a7a0
add esp, 0x28
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.100447b0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x10077dad
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x74]
push 8
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.10048ea0
add esp, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x34]
push eax
call fcn.10047840
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077e3f
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 0x10077e1b
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 esi, dword [ebp - 0xb4]
mov eax, dword [ecx + esi + 0x14]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x10077e74
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10077e74
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x34]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x10077e95
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.10048ea0
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077f1b
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 0x10077ef7
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 ecx, dword [ecx + esi + 0x1c]
test ecx, ecx
je 0x10077f2b
push 1
call dword [0x101ba7a0]
lea ecx, [ebp - 0x58]
call fcn.100447b0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10077f48
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x58]
push 8
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.100447b0
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x10077f99
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
jmp 0x1007870b
xorps xmm0, xmm0
lea eax, [ebp - 0xb9]
push 8
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xb4], eax
call fcn.10048e10
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xb8], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0xd0], eax
push 0x100
mov dword [ebp - 4], 7
call fcn.10048e10
add esp, 4
mov dword [ebp - 0xcc], eax
lea esi, [eax + 0x100]
push 0x100
push 0
push eax
mov dword [ebp - 0xc4], esi
call fcn.10123240
add esp, 0xc
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 8
sub esi, dword [ebp - 0xcc]
jne 0x10078096
push str.vector_subscript_out_of_range
push 0x101b8af8
push esi
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x10078078
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
add esp, 0x14
mov esi, dword [ebp - 0xc0]
xor edx, edx
mov dword [ebp - 0xb4], 0xa
mov ecx, dword [esi + 0x4c]
mov eax, ecx
div dword [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x64
push edx
xor edx, edx
div dword [ebp - 0xb4]
mov eax, 0x10624dd3
mov dword [ebp - 0xb4], 0x2710
push edx
mul ecx
shr edx, 6
mov eax, edx
xor edx, edx
div dword [ebp - 0xb4]
mov eax, 0x6b5fca6b
push edx
mul ecx
shr edx, 0x16
push edx
push str.uiitemicon__.1d__.4d__.2d__.1d.dxt
push dword [ebp - 0xcc]
call fcn.10052e60
mov eax, dword [ebp - 0xc8]
add esp, 0x18
mov ecx, dword [ebp - 0xcc]
sub eax, ecx
jne 0x1007815d
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x10078139
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 [ebp - 0xcc]
add esp, 0x14
push ecx
lea ecx, [ebp - 0xac]
call fcn.10047670
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100781cc
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 0x100781a8
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 eax, ebx
shl eax, 5
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0xc0], eax
mov eax, dword [ecx + eax + 0xc]
jne 0x100781f1
push eax
push str._d__n
call fcn.10082cd0
jmp 0x100781fe
lea ecx, [ebp - 0xac]
push ecx
push eax
call fcn.100ba640
add esp, 8
lea eax, [esi + 8]
lea ecx, [ebp - 0x34]
push eax
call fcn.10047840
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x1007826c
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 0x10078248
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 esi, dword [ebp - 0xc0]
mov eax, dword [ecx + esi + 0x10]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x100782a1
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100782a1
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x34]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100782c2
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.10048ea0
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10078348
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 0x10078324
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 eax, dword [ebp - 0xd4]
mov dword [ecx + esi], eax
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100783b0
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 0x1007838c
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 - 0xd8]
mov eax, 0x101bccd0
cmp byte [ebp - 0xad], 1
mov dword [ecx + esi + 4], edx
mov ecx, str._KnightCash
cmovne eax, ecx
push eax
push 0x2e
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.100f6c10
mov byte [ebp - 4], 0xb
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x100783ea
mov ecx, dword [ecx]
push ecx
sub esp, 0x1c
lea eax, [ebp - 0xb9]
mov esi, esp
mov dword [ebp - 0xb4], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048e10
add esp, 4
mov dword [ebp - 0xb8], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov ecx, esi
push 5
push str._s__s
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10048200
lea eax, [ebp - 0x74]
mov dword [ebp - 0xb8], 0
push eax
mov byte [ebp - 4], 0xb
call fcn.1004a7a0
add esp, 0x28
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.100447b0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10078491
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x58]
push 8
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.10048ea0
add esp, 8
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x34]
push eax
call fcn.10047840
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10078523
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 0x100784ff
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 esi, dword [ebp - 0xc0]
mov eax, dword [ecx + esi + 0x14]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x10078558
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10078558
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x34]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.100447b0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x10078579
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.10048ea0
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100785ff
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 0x100785db
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 ecx, dword [ecx + esi + 0x1c]
test ecx, ecx
je 0x1007860f
push 1
call dword [0x101ba7a0]
lea ecx, [ebp - 0x74]
call fcn.100447b0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1007862c
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x74]
push 8
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.10048ea0
add esp, 8
lea ecx, [ebp - 0xac]
call fcn.100447b0
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x10078679
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0xac]
push 8
push eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
call fcn.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.100447b0
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x100786fb
mov eax, dword [ebp - 0xc4]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
add esp, 8
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd0], 0
push 8
push eax
call fcn.10048ea0
add esp, 8
mov ecx, edi
call fcn.10078980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10120250
mov esp, ebp
pop ebp
ret 0xc