Function at 0x89667b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], ebx
mov edi, dword [ebx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
call fcn.008972ed
movsx edx, word [edx + 0x2a]
mov ecx, dword [ebx + 0x28]
push 2
mov dword [ebp - 0x2c], eax
pop eax
add edx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x34]
push edx
push ecx
mov dword [ebp - 0xc], eax
lea eax, [ecx + 1]
mov dword [ebp - 8], edx
mov ecx, edi
push 0x6e
pop edx
mov dword [ebx + 0x28], eax
call fcn.0086b177
mov ecx, dword [ebx + 0x2c]
mov edx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
inc eax
add eax, ecx
lea ebx, [ecx + 1]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 1]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0x2c], ecx
xor ecx, ecx
push ecx
push 4
push ecx
push ecx
push dword [ebp + 0x18]
mov ecx, eax
call fcn.0089fb34
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x8968fc
mov eax, dword [ebp + 8]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x2a]
jge 0x896762
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + esi*4]
lea eax, [ebx + 2]
add eax, esi
push eax
test ecx, ecx
js 0x896736
mov eax, dword [ebp + 0xc]
imul edx, ecx, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [edx + eax + 4]
call fcn.0087c40b
pop ecx
jmp 0x896753
push esi
push dword [ebp - 0xc]
mov edx, 0x9f
mov ecx, edi
call fcn.0086b0f3
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
call fcn.0086b680
mov eax, dword [ebp + 8]
inc esi
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x896711
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 0x20
jne 0x896795
mov esi, dword [ebp - 0xc]
mov ecx, edi
push ebx
push esi
push 0x7d
pop edx
call fcn.0086b177
mov edx, dword [ebp + 0x10]
lea eax, [ebx + 1]
pop ecx
pop ecx
push eax
test edx, edx
je 0x896790
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.0087c40b
jmp 0x8967ce
push esi
push 0x7d
jmp 0x8967c2
mov ecx, eax
call fcn.0088035b
push ebx
mov edx, 0x9f
mov ecx, edi
mov eax, dword [eax + 4]
movsx esi, word [eax]
push esi
push dword [ebp - 0xc]
call fcn.0086b0f3
add esp, 0xc
lea eax, [ebx + 1]
push eax
lea eax, [ebx + 2]
add eax, esi
push eax
push 0x4c
pop edx
mov ecx, edi
call fcn.0086b177
mov esi, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
call fcn.0089bd75
mov dword [ebp - 0x24], eax
test eax, eax
je 0x8967fe
mov edx, dword [ebp - 0x14]
mov ecx, edi
call fcn.0086b7e3
push dword [ebp - 0xc]
mov ecx, edi
push 0x72
pop edx
call fcn.0086b163
mov esi, dword [ebp - 0x10]
pop ecx
jmp 0x89683e
mov ecx, esi
call fcn.008838f8
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp - 8]
push ebx
push 0x65
pop edx
call fcn.0086b0f3
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x1c]
push esi
push 0x75
pop edx
call fcn.0086b177
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x20]
push esi
push 0x76
pop edx
call fcn.0086b0f3
add esp, 0x14
cmp dword [ebp - 0x24], 0
jne 0x89687d
mov ecx, dword [ebp - 0x18]
call fcn.008a0427
push esi
push 0x25
pop edx
mov ecx, edi
call fcn.0086b163
xor esi, esi
mov dword [ebp - 0x14], eax
pop ecx
cmp dword [ebp - 8], esi
jle 0x89687d
lea eax, [esi + ebx]
mov ecx, edi
push eax
push esi
push dword [ebp - 0x10]
push 0x62
pop edx
call fcn.0086b0f3
add esp, 0xc
inc esi
cmp esi, dword [ebp - 8]
jl 0x896862
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00898002
push 0xfffffffffffffff4
push dword [ebp - 0x2c]
mov ecx, edi
push ebx
push dword [ebp - 8]
push 0
push 0xc
pop edx
call fcn.0086b23d
mov eax, dword [ebp + 0x1c]
add esp, 0x14
movzx edx, ax
cmp eax, 0xb
mov ecx, edi
push 2
pop eax
cmove edx, eax
call fcn.0086b680
mov ecx, dword [ebp - 4]
call fcn.00883905
cmp dword [ebp - 0x24], 0
jne 0x8968f4
mov esi, dword [ebp - 0x14]
mov ecx, edi
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 1]
push eax
push ebx
push 7
pop edx
call fcn.0086b177
mov edx, esi
mov ecx, edi
call fcn.0086b698
push 0
push ebx
push 0x72
pop edx
mov ecx, edi
call fcn.0086b177
add esp, 0x10
jmp 0x8968fc
mov ecx, dword [ebp - 0x18]
call fcn.008a0427
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret