Function at 0x100b68c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
push esi
mov esi, dword [0x10154de0]
push edi
mov edi, dword [0x10154ddc]
cmp edi, esi
je 0x100b68fa
add edi, 0x24
mov ecx, dword [edi]
test ecx, ecx
je 0x100b6b53
mov eax, dword [ecx]
call dword [eax + 8]
add edi, 0x28
lea eax, [edi - 0x24]
cmp eax, esi
jne 0x100b68e1
mov eax, dword [0x1013caa8]
push 0x1012cfa8
mov eax, dword [eax]
add eax, dword [0x101822e4]
push eax
push dword [0x5193cc]
lea eax, [esp + 0x1c]
push str._s_savegame_slot_.2d_sfall_s.sav
push eax
call fcn.1000d880
add esp, 0x14
lea eax, [esp + 0x10]
push eax
push 0
push str.Loading_save_game:__s_n
call fcn.10012410
add esp, 0xc
lea eax, [esp + 0x10]
push 0x1011f7c8
push eax
call fcn.100f224d
mov esi, eax
add esp, 8
test esi, esi
je 0x100b69f6
mov ecx, esi
call fcn.1009d090
test al, al
jne 0x100b6ad2
push esi
push 1
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push 4
push eax
call fcn.100f6e6a
mov ecx, dword [0x1013cf90]
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], 0xfffffff
push esi
cmovg ecx, dword [esp + 0x1c]
push 1
push 4
push eax
mov dword [0x1013cf90], ecx
call fcn.100f6e6a
mov ecx, dword [esp + 0x2c]
add esp, 0x20
shr ecx, 0x10
mov dword [0x101751f4], ecx
cmp eax, 1
jne 0x100b6ad2
mov ecx, esi
call fcn.100bf240
test al, al
je 0x100b6ad2
mov ecx, esi
call fcn.100d50e0
cmp eax, 0xffffffff
je 0x100b6ad2
test eax, eax
jne 0x100b69ee
mov ecx, esi
call fcn.100a1700
test al, al
jne 0x100b6ad2
push esi
call fcn.100f22da
jmp 0x100b6a2c
mov edx, str.Cannot_open_sfallgv.sav___assuming_non_sfall_save.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x100b6a2f
mov edx, str.Cannot_open_sfallgv.sav___assuming_non_sfall_save.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
mov edx, str.Loading_data_from_sfalldb.sav...
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x100b6a68
mov edx, str.Loading_data_from_sfalldb.sav...
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
mov eax, dword [0x1013caa8]
push 0x1012db6c
mov eax, dword [eax]
add eax, dword [0x101822e4]
push eax
push dword [0x5193cc]
lea eax, [esp + 0x1c]
push str._s_savegame_slot_.2d_sfall_s.sav
push eax
call fcn.1000d880
add esp, 0x14
lea eax, [esp + 0x10]
push 0x1011f7c8
push eax
call fcn.100f224d
mov esi, eax
add esp, 8
test esi, esi
je 0x100b6b12
mov ecx, esi
call fcn.1009a390
test al, al
jne 0x100b6ad2
mov ecx, esi
call fcn.10088470
test al, al
jne 0x100b6ad2
push esi
call fcn.100f22da
add esp, 4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.100f22da
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0
push str._ERROR_reading_data:__s_n
call fcn.10012410
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push str._n_SFALL__ERROR_reading_data:__s
call fcn.10016d20
xor eax, eax
add esp, 8
cmp byte [0x10174f84], al
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, str.Cannot_open_sfalldb.sav.
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x100b6b4b
mov edx, str.Cannot_open_sfalldb.sav.
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100e89a8
int3