Function at 0x88edf7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ecx + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
movzx edx, byte [edi + 0x1c]
mov eax, dword [edi]
not edx
and edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [eax]
add edx, eax
add edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], eax
je 0x88ee3f
mov esi, dword [ebp + 0xc]
sub esi, dword [ebp + 0x18]
jmp 0x88ee4a
mov eax, dword [ecx + 0x2c]
lea esi, [eax + 1]
add eax, edx
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x88ee5c
lea eax, [ecx + 1]
jmp 0x88ee5f
mov eax, dword [eax + 0xc]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
call fcn.0086b3bd
cmp dword [ebp + 0x10], 0
mov edx, dword [edi]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push dword [ebp + 0x10]
push esi
call fcn.0087c4fd
mov ecx, dword [ebp - 0x18]
add esp, 0xc
test ecx, ecx
je 0x88eeab
mov eax, dword [ebp - 0xc]
mov ecx, ebx
add eax, esi
push eax
push dword [edi + 8]
push 0x74
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
cmp dword [ebp + 0x18], 0
jne 0x88eece
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x88eece
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
add eax, esi
add eax, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.0087b61d
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
jle 0x88f03d
push dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, edi
push esi
push dword [ebp + 8]
call fcn.0088edb2
mov dword [ebp - 0x10], eax
add esp, 0xc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c]
lea ecx, [edx + 1]
mov dword [ebp + 0x10], ecx
mov ecx, dword [edi + 4]
add ecx, edx
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov edx, ecx
sub edx, dword [edi + 4]
mov eax, dword [ebp - 0x18]
add edx, eax
mov dword [ebp - 0x18], edx
test eax, eax
je 0x88ef1f
lea eax, [esi + ecx]
push eax
push 0x16
jmp 0x88ef24
push dword [edi + 8]
push 0x70
pop edx
mov ecx, ebx
call fcn.0086b163
pop ecx
push dword [edi + 4]
mov ecx, ebx
mov dword [ebp + 0x18], eax
push esi
push dword [ebp + 0x10]
push 0x54
pop edx
call fcn.0086b0f3
mov edx, dword [edi + 0x14]
add esp, 0xc
mov ecx, ebx
call fcn.0086b96a
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax]
cmp byte [ecx + 0x49], 0
jne 0x88f0fd
mov esi, dword [edx + 0x10]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 0x14]
mov dword [edx + 8], ecx
movzx eax, word [esi + 6]
push eax
push 0
push dword [esi + 0x10]
call fcn.008abac0
add esp, 0xc
or edx, 0xffffffff
mov ecx, ebx
push 0xfffffffffffffff7
push esi
call fcn.0086b8a2
movzx ecx, word [esi + 8]
movzx eax, word [esi + 6]
mov esi, dword [ebp - 4]
sub ecx, eax
mov edx, dword [edi]
dec ecx
push ecx
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0088f93c
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x10], eax
mov ecx, ebx
call fcn.0086b561
mov dword [ebp + 0x14], eax
lea ecx, [eax + 1]
push ecx
push 0
push ecx
push 0x12
pop edx
mov ecx, ebx
call fcn.0086b0f3
add esp, 0x1c
mov ecx, ebx
call fcn.0086b3bd
mov dword [edi + 0x10], eax
mov ecx, ebx
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
push dword [edi + 0x10]
mov dword [edi + 0xc], eax
push eax
push 0xe
pop edx
call fcn.0086b177
push dword [edi + 8]
mov edx, 0x88
mov ecx, ebx
call fcn.0086b163
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x88f017
push dword [edi + 0x18]
mov ecx, ebx
push eax
push 0x16
pop edx
call fcn.0086b177
pop ecx
pop ecx
mov edx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.0086b698
push dword [edi + 4]
mov edx, dword [ebp - 8]
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0087b61d
mov edx, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, ebx
call fcn.0086b698
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x88f094
mov esi, dword [edi + 8]
mov ecx, ebx
call fcn.0086b561
add eax, 4
push eax
push edx
push 0x31
pop edx
call fcn.0086b177
push 0
push esi
push 0x21
pop edx
mov ecx, ebx
call fcn.0086b177
mov eax, dword [ebp - 0xc]
mov ecx, ebx
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
push eax
push 0
push esi
push 0x26
pop edx
call fcn.0086b36e
push esi
push 0x78
pop edx
mov ecx, ebx
mov dword [ebp - 0x24], eax
call fcn.0086b163
add esp, 0x24
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x88f0b6
push dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, edi
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0088edb2
add esp, 0xc
mov dword [ebp - 0x10], eax
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, ebx
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
push eax
push edx
mov dl, byte [edi + 0x1c]
push dword [edi + 8]
not dl
and edx, 1
or edx, 0x80
call fcn.0086b36e
mov esi, dword [ebp - 0x24]
add esp, 0x10
test esi, esi
je 0x88f0fd
mov ecx, ebx
call fcn.0086b561
movzx edx, byte [edi + 0x1d]
add eax, edx
mov edx, esi
push eax
call fcn.0086b660
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret