Function at 0x1008af50
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.10088830
test al, al
jne 0x1008af74
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.1004a610
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.1004a610
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1008afe4
mov esi, dword [esi]
jmp 0x1008afe6
xor esi, esi
lea ecx, [esp + 0x28]
call fcn.1004a670
cmp eax, esi
je 0x1008b037
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x1008b019
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.10135f00
add esp, 0x14
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
cmp eax, dword [esp + 0x24]
push 3
sete bl
call fcn.1011cc50
lea ecx, [esp + 0x28]
call fcn.1004a680
lea ecx, [esp + 0x18]
call fcn.1011cd00
test bl, bl
jne 0x1008b09d
lea ecx, [esp + 0x1c]
call fcn.100819e0
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008b089
mov ecx, dword [eax + 0xf0]
cmp ecx, 4
jge 0x1008b089
mov dword [edi + ecx*4 + 0x13c], eax
lea ecx, [esp + 0x1c]
call fcn.10081920
lea ebx, [edi + 0xd8]
jmp 0x1008afb7
push 3
lea ecx, [esp + 0x1c]
call fcn.1011cc50
lea ecx, [esp + 0x1c]
call fcn.1004a680
lea ecx, [esp + 0x18]
call fcn.1011cd00
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 0x1008b1d5
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x30]
push eax
call fcn.10056ce0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
jne 0x1008b151
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 0x1008b12f
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 [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 0x1008b185
push 0xfc
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIButton.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10082cd0
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.100447b0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1008b1be
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
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.10048ea0
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 0x1008b2df
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x30]
push eax
call fcn.10056ce0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
jne 0x1008b25b
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 0x1008b239
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 [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 0x1008b28f
push 0x105
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIButton.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10082cd0
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.100447b0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1008b2c8
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
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.10048ea0
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4