Function at 0x1008b0c0
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.100889a0
test al, al
jne 0x1008b0e4
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.1004a780
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.1004a780
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1008b154
mov esi, dword [esi]
jmp 0x1008b156
xor esi, esi
lea ecx, [esp + 0x28]
call fcn.1004a7e0
cmp eax, esi
je 0x1008b1a7
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1008b189
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.10136180
add esp, 0x14
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
cmp eax, dword [esp + 0x24]
push 3
sete bl
call fcn.1011cee0
lea ecx, [esp + 0x28]
call fcn.1004a7f0
lea ecx, [esp + 0x18]
call fcn.1011cf90
test bl, bl
jne 0x1008b20d
lea ecx, [esp + 0x1c]
call fcn.10081b60
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008b1f9
mov ecx, dword [eax + 0xf0]
cmp ecx, 4
jge 0x1008b1f9
mov dword [edi + ecx*4 + 0x13c], eax
lea ecx, [esp + 0x1c]
call fcn.10081aa0
lea ebx, [edi + 0xd8]
jmp 0x1008b127
push 3
lea ecx, [esp + 0x1c]
call fcn.1011cee0
lea ecx, [esp + 0x1c]
call fcn.1004a7f0
lea ecx, [esp + 0x18]
call fcn.1011cf90
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 0x1008b345
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x30]
push eax
call fcn.10056e50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
jne 0x1008b2c1
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 0x1008b29f
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 [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 0x1008b2f5
push 0xfc
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIButton.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.100448c0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1008b32e
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push ecx
call fcn.10049010
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.10049010
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 0x1008b44f
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x30]
push eax
call fcn.10056e50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
jne 0x1008b3cb
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 0x1008b3a9
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 [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 0x1008b3ff
push 0x105
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIButton.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.100448c0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1008b438
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push ecx
call fcn.10049010
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.10049010
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4