Function at 0x1000d000
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d021
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 2]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d039
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [edi + 4]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d051
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea edx, [edi + 6]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d069
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 8]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d081
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [edi + 0xa]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d099
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea edx, [edi + 0xc]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d0b1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 0xe]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
add esp, 8
test al, al
jne 0x1000d0c9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
xor ebp, ebp
lea ebx, [edi + 0x14]
lea ecx, [ebx - 4]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadInt16_struct__iobuf___int__
add esp, 8
test al, al
je 0x1000d2f0
push ebx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadInt16_struct__iobuf___int__
add esp, 8
test al, al
je 0x1000d2f0
lea edx, [ebx + 4]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadInt16_struct__iobuf___int__
add esp, 8
test al, al
je 0x1000d2f0
lea eax, [ebx + 8]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadInt16_struct__iobuf___int__
add esp, 8
test al, al
je 0x1000d2f0
lea ecx, [ebx + 0xc]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadInt16_struct__iobuf___int__
add esp, 8
test al, al
je 0x1000d2f0
inc ebp
add ebx, 0x14
cmp ebp, 3
jl 0x1000d0ce
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [edi + 0x4c]
push 1
push edx
call ebx
push esi
push 1
lea eax, [edi + 0x4d]
push 1
push eax
call ebx
push esi
push 1
lea ecx, [edi + 0x50]
push 2
push ecx
call ebx
add esp, 0x30
cmp eax, 1
je 0x1000d173
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea edx, [edi + 0x54]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d18b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 0x58]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d1a3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [edi + 0x5c]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d1bb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea edx, [edi + 0x60]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d1d3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 0x64]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d1eb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [edi + 0x68]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d203
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea edx, [edi + 0x6c]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d21b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 0x70]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d233
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [edi + 0x74]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d24b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea edx, [edi + 0x78]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add esp, 8
test al, al
jne 0x1000d263
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push esi
push 4
lea eax, [edi + 0x7c]
push 1
push eax
call ebx
lea ecx, [edi + 0x80]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 0x18
test al, al
jne 0x1000d289
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea edx, [edi + 0x88]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 8
test al, al
jne 0x1000d2a4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 0x90]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 8
test al, al
jne 0x1000d2bf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [edi + 0x98]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 8
test al, al
jne 0x1000d2da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push esi
push 1
lea edx, [edi + 0xa0]
push 2
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x1000d2f7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea eax, [edi + 0xa4]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
lea ecx, [edi + 0xa8]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
lea edx, [edi + 0xac]
push edx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
lea eax, [edi + 0xb0]
push eax
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadWord16_struct__iobuf___unsigned_short_int__
lea ecx, [edi + 0xb4]
push ecx
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadFloat16_struct__iobuf___float__
add edi, 0xb8
push edi
push esi
call sym.AdjustBase.dll_bool___cdecl_ReadDouble16_struct__iobuf___double__
add esp, 0x30
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret