Function at 0x1008d710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101990a5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x1008d753
push 0
push str.Unknown_version_type
push 0x1027e7b0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi + 8]
push 0
push 0x101d47e8
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.10047890
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebp - 0x18]
test edi, edi
jle 0x1008d947
xorps xmm0, xmm0
lea eax, [ebp - 0x11]
push 8
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], eax
call fcn.1013ca30
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
add edi, 1
je 0x1008d7f9
cmp edi, 0x7fffffff
ja 0x1008d95c
push edi
call fcn.100490d0
add esp, 4
mov dword [ebp - 0x34], eax
lea esi, [eax + edi]
push edi
push 0
push eax
mov dword [ebp - 0x2c], esi
call fcn.1013f8f0
add esp, 0xc
mov dword [ebp - 0x30], esi
jmp 0x1008d7fc
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x34]
sub esi, eax
jne 0x1008d857
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 0x1008d836
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 - 0x34]
add esp, 0x14
push 0
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
jne 0x1008d8ba
push str.vector_subscript_out_of_range
push 0x101d467c
push eax
push 0x762
push 0x101d5190
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1008d899
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 ecx, dword [ebp - 0x34]
add esp, 0x14
mov edx, ecx
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1008d8c0
sub edx, esi
push edx
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.10047890
push 3
lea ecx, [ebp + 8]
call fcn.10139310
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1008d8ff
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x1008d8ff
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x1008d8f2
lea ecx, [ebp + 8]
call fcn.101393c0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1008d932
mov eax, dword [ebp - 0x2c]
sub eax, ecx
push eax
push ecx
call fcn.10048760
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x38]
push 8
push eax
mov dword [ebp - 0x38], 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
mov esp, ebp
pop ebp
ret 4
call fcn.10048d00
int3