Function at 0x100f7fb0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x10182bdd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x7c]
mov ecx, 0x102249dc
call fcn.100f7f30
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x3c]
push 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ebx
call edi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 8
movups xmmword [ebp - 0x28], xmm0
call fcn.10048f80
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
jg 0x100f8141
cmp dword [0x10224a14], 0x10
mov eax, 0x10224a00
push 0x15c
cmovae eax, dword [0x10224a00]
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3TableBase.h
push eax
sub esp, 0x1c
lea eax, [ebp - 0x29]
mov esi, esp
mov dword [ebp - 0x34], 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 - 0x38], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov byte [ebp - 4], 2
mov ecx, esi
push 0x1b
push str.Data_Type_is_0_or_less:__s_n
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10048350
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x38], 0
push eax
mov byte [ebp - 4], 1
call fcn.10049560
add esp, 0x24
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100f80e4
mov ecx, dword [ecx]
push ecx
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
add esp, 0x10
lea ecx, [ebp + 0x2c]
call fcn.100448c0
mov eax, dword [ebp + 0x44]
cmp eax, 0x10
jb 0x100f810f
inc eax
push eax
push dword [ebp + 0x30]
call fcn.10049010
add esp, 8
mov eax, dword [ebp + 0x2c]
push 8
push eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0xf
mov byte [ebp + 0x30], 0
mov dword [ebp + 0x2c], 0
call fcn.10049010
mov eax, dword [ebp - 0x14]
add esp, 8
test eax, eax
jle 0x100f8330
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push eax
mov eax, dword [0x102249e4]
lea ecx, [ebp - 0x4c]
push 0x102249e0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
call fcn.1004a780
sub esp, 0xc
mov byte [ebp - 4], 3
mov esi, esp
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1004a710
mov eax, dword [ebp - 0x44]
mov ecx, 0x102249e0
mov dword [esi + 8], eax
lea eax, [ebp + 0x3c]
push eax
call fcn.100f8740
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cee0
lea ecx, [ebp + 0x3c]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
push 3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1011cee0
lea ecx, [ebp - 0x4c]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
mov eax, dword [0x102249e8]
mov ecx, dword [0x102249e4]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x100f823a
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 0x100f8216
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 [0x102249e4]
add esp, 0x14
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push ecx
push ebx
call edi
lea eax, [ebp - 0x28]
push eax
call fcn.100f8aa0
test eax, eax
jne 0x100f8267
mov eax, str.cant_make_offset_table
mov ecx, 0x164
jmp 0x100f8688
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
mov esi, dword [ebp - 0x14]
sar eax, 2
cmp esi, eax
jb 0x100f82c0
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 0x100f829f
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 - 0x24]
add esp, 0x14
cmp dword [ecx + esi*4], 0x28
jne 0x100f866a
mov eax, dword [0x102249e8]
mov ecx, dword [0x102249e4]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x100f8327
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 0x100f8303
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 [0x102249e4]
add esp, 0x14
cmp dword [ecx], 6
jne 0x100f866a
push 0
lea eax, [ebp - 0x3c]
push eax
push 4
lea eax, [ebp - 0x40]
push eax
push ebx
call edi
mov byte [ebp - 4], 4
push 8
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0
call fcn.10048f80
lea ecx, [ebp + 0x4c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp + 0x4c], eax
mov dword [eax], ecx
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
xor edi, edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x40], edi
jle 0x100f861f
nop dword [eax]
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x100f854f
nop dword [eax + eax]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100f8406
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 0x100f83e5
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 - 0x24]
add esp, 0x14
mov eax, dword [0x102249e8]
lea edi, [ecx + esi*4]
mov ecx, dword [0x102249e4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100f8467
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 0x100f8443
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 [0x102249e4]
add esp, 0x14
mov eax, dword [edi]
lea edi, [ebp + 0x48]
add edi, eax
mov eax, dword [ecx + esi*4]
cmp eax, 9
ja case.0x100f847a.0
jmp dword [eax*4 + 0x100f870c]
push 0
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100f8542
push 0
lea eax, [ebp - 0x18]
push eax
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100f8542
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], 0
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x101b8c74
mov ecx, edi
call fcn.10048350
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x100f8542
push 0x20
push eax
mov ecx, edi
call fcn.100857f0
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x100f84ef
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100f8542
push 0
lea eax, [ebp - 0x18]
push eax
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100f8542
push 0
lea eax, [ebp - 0x18]
push eax
push 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100f8542
push 0x110
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3TableBase.h
push 0x101b8c74
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
add esp, 0x10
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x100f83b0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 8]
mov dword [ebp], eax
mov dword [ebp + 4], eax
lea eax, [ebp + 0x4c]
push eax
call fcn.10047950
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x24], eax
movzx eax, byte [ebp + 0x6c]
mov byte [ebp + 0x28], al
movzx eax, byte [ebp + 0x6d]
mov byte [ebp + 0x29], al
lea eax, [ebp]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp + 0x38]
mov ecx, 0x102249f0
push eax
call fcn.100f9730
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.100448c0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100f85af
inc eax
push eax
push dword [ebp + 0xc]
call fcn.10049010
add esp, 8
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp + 8], 0
call fcn.10049010
add esp, 8
cmp byte [ebp + 0x44], 0
jne 0x100f85f8
push 0x17e
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3TableBase.h
push str.CN3TableBase_Type__:_Key.
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
add esp, 0x10
push 3
lea ecx, [ebp - 0x34]
call fcn.1011cee0
lea ecx, [ebp + 0x38]
call fcn.1004a7f0
lea ecx, [ebp - 0x34]
call fcn.1011cf90
inc edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0x40]
jl 0x100f83a0
lea ecx, [ebp + 0x4c]
mov esi, 1
call fcn.100448c0
mov eax, dword [ebp + 0x64]
cmp eax, 0x10
jb 0x100f8641
inc eax
push eax
push dword [ebp + 0x50]
call fcn.10049010
add esp, 8
mov eax, dword [ebp + 0x4c]
push 8
push eax
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
mov dword [ebp + 0x4c], 0
call fcn.10049010
add esp, 8
jmp 0x100f869e
mov ecx, 0x102249e0
call fcn.100448c0
mov eax, dword [0x102249e4]
mov ecx, 0x16d
mov dword [0x102249e8], eax
mov eax, str.DataType_is_mismatch_or_DataSize_is_incorrect__
push ecx
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3TableBase.h
push eax
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.100448c0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100f86d4
mov eax, dword [ebp - 0x1c]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x28]
push 8
push ecx
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.101204c0
lea esp, [ebp + 0x74]
pop ebp
ret 4