Function at 0x1008a600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.10087ee0
test al, al
jne 0x1008a624
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0x10
lea eax, [edi + 0x14c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [edi + 0xdc]
lea ebx, [edi + 0xd8]
push ebx
lea ecx, [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
call fcn.10049ca0
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x28]
push ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
call fcn.10049ca0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1008a694
mov esi, dword [esi]
jmp 0x1008a696
xor esi, esi
lea ecx, [esp + 0x28]
call fcn.10049d00
cmp eax, esi
je 0x1008a6e7
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x1008a6c9
int3
push 0
push 0xc3
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includelist
push 0x101b8c38
push str._list_iterators_incompatible_
call fcn.10135530
add esp, 0x14
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
cmp eax, dword [esp + 0x24]
push 3
sete bl
call fcn.1011c2a0
lea ecx, [esp + 0x28]
call fcn.10049d10
lea ecx, [esp + 0x18]
call fcn.1011c350
test bl, bl
jne 0x1008a74d
lea ecx, [esp + 0x1c]
call fcn.100810a0
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008a739
mov ecx, dword [eax + 0xf0]
cmp ecx, 4
jge 0x1008a739
mov dword [edi + ecx*4 + 0x13c], eax
lea ecx, [esp + 0x1c]
call fcn.10080fe0
lea ebx, [edi + 0xd8]
jmp 0x1008a667
push 3
lea ecx, [esp + 0x1c]
call fcn.1011c2a0
lea ecx, [esp + 0x1c]
call fcn.10049d10
lea ecx, [esp + 0x18]
call fcn.1011c350
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push eax
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ebx
call esi
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1008a885
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x30]
push eax
call fcn.10056360
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
jne 0x1008a801
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x1008a7df
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.10135530
mov ecx, dword [esp + 0x40]
add esp, 0x14
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ecx
push ebx
call esi
cmp dword [edi + 0x15c], 0
je 0x1008a835
push 0xfc
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIButton.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10082390
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.10043e40
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1008a86e
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push ecx
call fcn.10048530
add esp, 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x28]
push 8
push eax
mov dword [esp + 0x30], 0
call fcn.10048530
add esp, 8
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push ebx
call esi
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1008a98f
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x30]
push eax
call fcn.10056360
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
jne 0x1008a90b
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x1008a8e9
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.10135530
mov ecx, dword [esp + 0x40]
add esp, 0x14
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ecx
push ebx
call esi
cmp dword [edi + 0x160], 0
je 0x1008a93f
push 0x105
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIButton.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10082390
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.10043e40
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1008a978
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push ecx
call fcn.10048530
add esp, 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x28]
push 8
push eax
mov dword [esp + 0x30], 0
call fcn.10048530
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4