Function at 0x100779e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ce47
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 0x10077a95
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10077a6b
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.10136180
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov edx, dword [ebp - 0xd4]
mov eax, dword [esi + ecx + 0x1c]
test eax, eax
je 0x10077aa6
cmp byte [eax + 0x10d], 0
jne 0x10077ad1
test edx, edx
je 0x10077ad1
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 0x10077aec
add esi, 0x20
inc ebx
cmp esi, 0xe0
jge 0x10078896
mov edx, dword [ebp - 0xd4]
jmp 0x10077a30
mov esi, dword [edi + 0x10]
movzx ecx, byte [eax + 4]
mov dword [ebp - 0xc4], ecx
test esi, esi
je 0x10078143
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x10078143
cmp ecx, 0x2c
ja 0x10078143
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 0x10078143
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 [0x101c27b0]
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 0x10077bd7
sub esp, 0x1c
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x3b]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x90]
push eax
call fcn.1004a910
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 0x10077c6b
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10077c47
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.10136180
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 0x10077c8d
push eax
push str._d__n
call fcn.10082e50
jmp 0x10077c9a
lea ecx, [ebp - 0x90]
push ecx
push eax
call fcn.100ba7c0
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x34]
add esp, 8
add eax, 8
push eax
call fcn.10047950
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077d0e
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10077cea
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.10136180
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 0x10077d3d
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10077d3d
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.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x10077d5e
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077de4
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10077dc0
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.10136180
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 0x10077e4c
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10077e28
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.10136180
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.100f6ec0
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10077e86
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.10048f80
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.10048350
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc8], 0
push eax
mov byte [ebp - 4], 2
call fcn.1004a910
add esp, 0x28
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.100448c0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x10077f2d
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10049010
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.10049010
add esp, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x34]
push eax
call fcn.10047950
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10077fbf
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10077f9b
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.10136180
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 0x10077ff4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10077ff4
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.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x10078015
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x1007809b
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10078077
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.10136180
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov ecx, dword [ecx + esi + 0x1c]
test ecx, ecx
je 0x100780ab
push 1
call dword [0x101ba7a0]
lea ecx, [ebp - 0x58]
call fcn.100448c0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x100780c8
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10049010
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.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.100448c0
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x10078119
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.10049010
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 0x1007888b
xorps xmm0, xmm0
lea eax, [ebp - 0xb9]
push 8
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xb4], eax
call fcn.10048f80
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.10048f80
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.101234b0
add esp, 0xc
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 8
sub esi, dword [ebp - 0xcc]
jne 0x10078216
push str.vector_subscript_out_of_range
push 0x101b8af8
push esi
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x100781f8
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.10136180
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.10052fe0
mov eax, dword [ebp - 0xc8]
add esp, 0x18
mov ecx, dword [ebp - 0xcc]
sub eax, ecx
jne 0x100782dd
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x100782b9
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.10136180
mov ecx, dword [ebp - 0xcc]
add esp, 0x14
push ecx
lea ecx, [ebp - 0xac]
call fcn.10047780
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 0x1007834c
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10078328
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.10136180
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 0x10078371
push eax
push str._d__n
call fcn.10082e50
jmp 0x1007837e
lea ecx, [ebp - 0xac]
push ecx
push eax
call fcn.100ba7c0
add esp, 8
lea eax, [esi + 8]
lea ecx, [ebp - 0x34]
push eax
call fcn.10047950
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100783ec
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x100783c8
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.10136180
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 0x10078421
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10078421
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.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x10078442
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100784c8
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x100784a4
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.10136180
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 0x10078530
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1007850c
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.10136180
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.100f6ec0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1007856a
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.10048f80
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.10048350
lea eax, [ebp - 0x74]
mov dword [ebp - 0xb8], 0
push eax
mov byte [ebp - 4], 0xb
call fcn.1004a910
add esp, 0x28
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.100448c0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10078611
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10049010
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.10049010
add esp, 8
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x34]
push eax
call fcn.10047950
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100786a3
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1007867f
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.10136180
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 0x100786d8
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100786d8
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.100448c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x100786f9
inc eax
push eax
push dword [ebp - 0x30]
call fcn.10049010
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.10049010
mov eax, dword [edi + 0x140]
add esp, 8
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x1007877f
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1007875b
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.10136180
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov ecx, dword [ecx + esi + 0x1c]
test ecx, ecx
je 0x1007878f
push 1
call dword [0x101ba7a0]
lea ecx, [ebp - 0x74]
call fcn.100448c0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100787ac
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10049010
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.10049010
add esp, 8
lea ecx, [ebp - 0xac]
call fcn.100448c0
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x100787f9
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.10049010
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.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.100448c0
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x1007887b
mov eax, dword [ebp - 0xc4]
sub eax, ecx
push eax
push ecx
call fcn.10049010
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.10049010
add esp, 8
mov ecx, edi
call fcn.10078b00
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.101204c0
mov esp, ebp
pop ebp
ret 0xc