Function at 0x1009c3c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019994d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
push dword [ebp + 8]
call fcn.10090d70
test al, al
jne 0x1009c40d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0xdc]
lea ecx, [ebp - 0x18]
push 3
mov eax, dword [eax]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], eax
call fcn.10139310
mov edi, dword [ebx + 0xd8]
mov esi, dword [ebp - 0x40]
cmp esi, edi
je 0x1009c4c6
test esi, esi
je 0x1009c4b7
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009c467
nop
lea ecx, [ebp - 0x40]
cmp eax, ecx
je 0x1009c462
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x1009c450
cmp dword [esi], 0
jne 0x1009c4ab
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1009c48d
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [ebp - 0x3c]
mov dword [esi], eax
mov dword [ebp - 0x40], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
mov dword [edi + 4], eax
mov dword [ebp - 0x40], edi
lea ecx, [ebp - 0x18]
call fcn.101393c0
nop
mov eax, dword [ebx + 0xdc]
lea ecx, [ebp - 0x18]
push 3
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
call fcn.10139310
mov edi, dword [ebx + 0xd8]
mov esi, dword [ebp - 0x34]
cmp esi, edi
je 0x1009c586
test esi, esi
je 0x1009c577
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009c527
lea ecx, [ebp - 0x34]
cmp eax, ecx
je 0x1009c522
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x1009c510
cmp dword [esi], 0
jne 0x1009c56b
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1009c54d
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov dword [ebp - 0x34], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
mov dword [edi + 4], eax
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x18]
call fcn.101393c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.1008f770
push 3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], al
call fcn.10139310
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1009c61f
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009c5cf
lea ecx, [ebp - 0x34]
cmp eax, ecx
je 0x1009c5ca
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x1009c5b8
cmp dword [esi], 0
jne 0x1009c613
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1009c5f5
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1c]
call fcn.101393c0
cmp byte [ebp - 0xd], 0
jne 0x1009c66d
lea ecx, [ebp - 0x40]
call fcn.10086f10
mov eax, dword [eax]
mov ecx, dword [eax + 0xe4]
cmp ecx, 4
jne 0x1009c655
lea ecx, [ebp - 0x40]
mov dword [ebx + 0x124], eax
call fcn.10086e50
jmp 0x1009c4d0
cmp ecx, 6
jne 0x1009c660
mov dword [ebx + 0x120], eax
lea ecx, [ebp - 0x40]
call fcn.10086e50
jmp 0x1009c4d0
push 3
lea ecx, [ebp - 0x1c]
call fcn.10139310
lea ecx, [ebp - 0x40]
call fcn.1004c220
lea ecx, [ebp - 0x1c]
call fcn.101393c0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x24]
push 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp + 8]
call ebx
mov edi, dword [ebp - 0x14]
test edi, edi
jle 0x1009c825
lea eax, [ebp - 0xd]
mov dword [ebp - 0x4c], 0
push 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x1c], eax
call fcn.1013ca30
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
add edi, 1
je 0x1009c722
cmp edi, 0x7fffffff
ja 0x1009c83b
push edi
call fcn.100490d0
add esp, 4
mov dword [ebp - 0x4c], eax
lea esi, [eax + edi]
push edi
push 0
push eax
mov dword [ebp - 0x44], esi
call fcn.1013f8f0
add esp, 0xc
mov dword [ebp - 0x48], esi
jmp 0x1009c725
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], 0
sub esi, eax
jne 0x1009c779
push str.vector_subscript_out_of_range
push 0x101d467c
push esi
push 0x762
push 0x101d5190
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1009c758
int3
push 0
push 0x762
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807include_vector
push 0x101d47ac
push str._vector_subscript_out_of_range_
call fcn.10152640
mov eax, dword [ebp - 0x4c]
add esp, 0x14
push 0
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x14]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x128], 0
je 0x1009c7ad
push 0x44
push 0x101da580
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10089a80
add esp, 0x10
push 3
lea ecx, [ebp + 8]
call fcn.10139310
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1009c7dd
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x1009c7dd
nop dword [eax]
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x1009c7d0
lea ecx, [ebp + 8]
call fcn.101393c0
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x1009c810
mov eax, dword [ebp - 0x44]
sub eax, ecx
push eax
push ecx
call fcn.10048760
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x50], 0
call fcn.1013c8d0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10048d00
int3