Function at 0x28beaef
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
push edi
mov edi, dword [eax + 8]
mov esi, edx
mov ecx, edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
call fcn.0289950e
mov dword [ebp - 0x14], eax
call fcn.0289935e
mov ebx, dword [ebp + 8]
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x28bebac
push eax
push 0x16
pop edx
mov ecx, edi
call fcn.0289917e
mov edi, dword [ebp + 0x14]
mov esi, eax
pop ecx
mov ecx, dword [ebp + 0x18]
inc edi
push 0xfffffffffffffff7
call fcn.028bd3a1
mov ecx, dword [ebp - 8]
push eax
push dword [ebx + 0xc]
push edi
push dword [ebx + 8]
push 0x5e
pop edx
call fcn.02899258
mov ecx, dword [ebp - 8]
add esp, 0x14
add eax, 2
push eax
push dword [ebp - 0xc]
push eax
push 0x12
pop edx
call fcn.0289910e
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, esi
call fcn.02899643
mov eax, dword [ebx + 0xc]
dec eax
push eax
push edi
push dword [ebx + 8]
mov edi, dword [ebp - 8]
mov ecx, edi
push 0x40
pop edx
call fcn.0289910e
add esp, 0xc
mov ecx, edi
push dword [ebp + 0x14]
push 1
push 0x38
pop edx
call fcn.02899192
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax + 0x45], 0
je 0x28bebbe
xor eax, eax
jmp 0x28bed55
mov edx, dword [esi + 0x10]
push ecx
mov ecx, edi
call fcn.028bcbeb
mov esi, dword [ebp + 0xc]
pop ecx
movzx eax, byte [esi]
sub eax, 0xa
je 0x28bed0f
dec eax
je 0x28becb3
dec eax
je 0x28bec46
dec eax
je 0x28bec06
push dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 8]
push 0x43
pop edx
call fcn.02899192
push dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 4]
call fcn.028a96ff
jmp 0x28bec3e
cmp dword [esi + 8], 0
jne 0x28bec20
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 0xc]
call fcn.028ab45d
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
push dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push dword [esi + 8]
mov ecx, dword [ebp - 4]
call fcn.028a9708
push dword [esi + 4]
mov ecx, edi
push 0x10
pop edx
call fcn.0289917e
add esp, 0xc
jmp 0x28bed21
mov ecx, dword [ebp - 4]
call fcn.028ab3fb
mov edi, eax
call fcn.028ab3fb
push edi
push dword [ebx + 0xc]
mov esi, eax
push dword [ebx + 8]
mov ebx, dword [ebp - 8]
mov ecx, ebx
push 0x63
pop edx
call fcn.0289910e
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, ebx
push esi
push dword [eax + 4]
push 0x73
pop edx
call fcn.02899192
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push esi
push edi
push dword [eax + 4]
push 0x74
pop edx
call fcn.0289910e
add esp, 0x14
mov ecx, ebx
push 8
pop edx
call fcn.0289962b
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.028ab41a
mov edx, edi
call fcn.028ab41a
mov edi, ebx
jmp 0x28bed21
mov ecx, dword [ebp - 4]
call fcn.028ab3fb
push dword [ebx + 0xc]
mov esi, eax
mov ecx, edi
mov eax, dword [ebp + 0xc]
push dword [eax + 0x10]
push esi
push dword [ebx + 0xc]
push dword [ebx + 8]
push 0x63
pop edx
call fcn.02899258
mov edx, dword [ebx + 8]
add esp, 0x14
mov ecx, dword [ebp - 4]
push dword [ebx + 0xc]
call fcn.028a96ff
mov eax, dword [ebp + 0xc]
pop ecx
push dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 8]
push esi
push dword [eax + 4]
push 0x7e
pop edx
call fcn.0289930f
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, esi
call fcn.028ab41a
jmp 0x28bed21
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 4]
push 1
push dword [esi + 4]
call fcn.028a9708
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x28bed3c
push dword [ebp + 0x1c]
mov ecx, edi
push dword [eax + 0xc]
push 0x30
pop edx
call fcn.02899192
pop ecx
pop ecx
mov edx, dword [ebp - 0xc]
mov ecx, edi
call fcn.028993a0
push dword [ebp + 0x10]
push 0x34
pop edx
call fcn.0289917e
mov eax, dword [ebp - 0x14]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret