Function at 0x10088450
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
lea eax, [esp]
push ebx
push esi
push edi
mov esi, ecx
push esi
push 1
push 4
push eax
call fcn.100f6e5a
add esp, 0x10
cmp eax, 1
jne 0x100886bc
mov edi, dword [esp + 0xc]
test edi, edi
je 0x100884bf
mov ecx, dword [0x101540fc]
lea ebx, [edi + 0xa]
sub ecx, dword [0x101540f4]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jae 0x100884bf
cmp ebx, 0xaaaaaaa
ja 0x100886c5
push ebx
mov ecx, 0x101540f4
call fcn.100889b0
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
je 0x1008858a
nop dword [eax]
push esi
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], 0
push 0x14
push eax
call fcn.100f6e5a
add esp, 0x10
cmp eax, 1
jne 0x100885da
lea eax, [esp + 0x20]
mov ecx, 0x101540f4
push eax
call fcn.10088770
mov eax, dword [0x101540b4]
mov edi, dword [eax]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push dword [edi + 4]
push edi
call fcn.10088f90
mov ecx, dword [0x101540b8]
mov edx, eax
mov eax, 0xaaaaaa9
sub eax, ecx
cmp eax, 1
jb 0x100886d9
inc ecx
mov dword [0x101540b8], ecx
mov ecx, 0x101540b0
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [0x101540b4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10088c70
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push str._nLOADSAVE:_Critter_PID_ID:__d__d_saved_base_stat:__d__value:__d__def:__d
call fcn.100124d0
inc ebx
add esp, 0x18
cmp ebx, dword [esp + 0xc]
jb 0x100884d0
push esi
push 1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.100f6e5a
add esp, 0x10
cmp eax, 1
jne 0x100885da
mov edi, dword [esp + 0xc]
test edi, edi
je 0x100885f2
mov ecx, dword [0x101540f0]
lea ebx, [edi + 0xa]
sub ecx, dword [0x101540e8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jae 0x100885f2
cmp ebx, 0xaaaaaaa
jbe 0x100885e3
jmp 0x100886cf
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, 0x101540e8
call fcn.100889b0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], 0
test edi, edi
je 0x100886bc
push esi
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], 0
push 0x14
push eax
call fcn.100f6e5a
add esp, 0x10
cmp eax, 1
jne 0x100885da
lea eax, [esp + 0x20]
mov ecx, 0x101540e8
push eax
call fcn.10088770
mov eax, dword [0x101540b4]
mov edi, dword [eax]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push dword [edi + 4]
push edi
call fcn.10088f90
mov edx, dword [0x101540b8]
mov ecx, 0xaaaaaa9
sub ecx, edx
mov ebx, eax
cmp ecx, 1
jb 0x100886d9
inc edx
mov ecx, 0x101540b0
mov dword [0x101540b8], edx
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov eax, dword [0x101540b4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10088c70
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push str._nLOADSAVE:_Critter_PID_ID:__d__d_saved_bonus_stat:__d__value:__d__def:__d
call fcn.100124d0
mov ebx, dword [esp + 0x28]
add esp, 0x18
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0xc]
jb 0x10088602
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.100e89e5
push str.vector_T__too_long
call fcn.100e89e5
push str.list_T__too_long
call fcn.100e89e5
int3