Function at 0x10088480
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.100f6eeb
add esp, 0x10
cmp eax, 1
jne 0x100886ec
mov edi, dword [esp + 0xc]
test edi, edi
je 0x100884ef
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 0x100884ef
cmp ebx, 0xaaaaaaa
ja 0x100886f5
push ebx
mov ecx, 0x101540f4
call fcn.100889e0
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
je 0x100885ba
nop dword [eax]
push esi
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], 0
push 0x14
push eax
call fcn.100f6eeb
add esp, 0x10
cmp eax, 1
jne 0x1008860a
lea eax, [esp + 0x20]
mov ecx, 0x101540f4
push eax
call fcn.100887a0
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.10088fc0
mov ecx, dword [0x101540b8]
mov edx, eax
mov eax, 0xaaaaaa9
sub eax, ecx
cmp eax, 1
jb 0x10088709
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.10088ca0
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.100124e0
inc ebx
add esp, 0x18
cmp ebx, dword [esp + 0xc]
jb 0x10088500
push esi
push 1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.100f6eeb
add esp, 0x10
cmp eax, 1
jne 0x1008860a
mov edi, dword [esp + 0xc]
test edi, edi
je 0x10088622
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 0x10088622
cmp ebx, 0xaaaaaaa
jbe 0x10088613
jmp 0x100886ff
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, 0x101540e8
call fcn.100889e0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], 0
test edi, edi
je 0x100886ec
push esi
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], 0
push 0x14
push eax
call fcn.100f6eeb
add esp, 0x10
cmp eax, 1
jne 0x1008860a
lea eax, [esp + 0x20]
mov ecx, 0x101540e8
push eax
call fcn.100887a0
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.10088fc0
mov edx, dword [0x101540b8]
mov ecx, 0xaaaaaa9
sub ecx, edx
mov ebx, eax
cmp ecx, 1
jb 0x10088709
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.10088ca0
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.100124e0
mov ebx, dword [esp + 0x28]
add esp, 0x18
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0xc]
jb 0x10088632
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.100e89b8
push str.vector_T__too_long
call fcn.100e89b8
push str.list_T__too_long
call fcn.100e89b8
int3