Function at 0x28af2e7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
mov dword [ebp - 0x10], esi
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
jne 0x28af30d
cmp dword [ebp + 0x10], 0
je 0x28af68c
mov ebx, dword [esi + 0x1b0]
test ebx, ebx
je 0x28af68c
cmp byte [edi + 0x99], 0
je 0x28af335
mov eax, dword [edi + 0x94]
mov dword [ebx + 0x1c], eax
cmp eax, 1
jne 0x28af335
or dword [ebx + 0x24], eax
test byte [ebp + 0xc], 0x20
je 0x28af377
mov eax, dword [ebx + 0x24]
test al, 8
je 0x28af354
push 0x4ac184
push esi
call fcn.02884527
pop ecx
pop ecx
jmp 0x28af68c
test al, 4
jne 0x28af36a
push dword [ebx]
push 0x4ac1b8
push esi
call fcn.02884527
add esp, 0xc
jmp 0x28af377
or eax, 0x60
mov edx, ebx
mov dword [ebx + 0x24], eax
call fcn.028aefe6
mov edx, dword [ebx + 0x48]
mov ecx, edi
call fcn.028bbc8a
cmp dword [ebx + 0x18], 0
mov dword [ebp - 0xc], eax
je 0x28af39d
push dword [ebx + 0x18]
mov edx, ebx
mov ecx, esi
push 0
push 4
call fcn.028a67db
add esp, 0xc
mov ecx, ebx
call fcn.028aef29
mov eax, dword [ebx + 8]
test eax, eax
je 0x28af3be
mov edi, eax
mov ecx, edi
call fcn.028aef6a
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x28af3ad
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0x99], 0
jne 0x28af63e
mov ecx, esi
call fcn.028bdf3f
mov dword [ebp - 8], eax
test eax, eax
je 0x28af68c
push 0
push 0x70
pop edx
mov ecx, eax
call fcn.0289917e
cmp dword [ebx + 0xc], 0
pop ecx
jne 0x28af400
mov dword [ebp - 0x20], 0x4a4a74
mov dword [ebp - 0x1c], 0x4a452c
jmp 0x28af40e
mov dword [ebp - 0x20], 0x4ac1d8
mov dword [ebp - 0x1c], 0x4a4598
cmp dword [ebp + 0x10], 0
je 0x28af572
inc dword [esi + 0x2c]
mov ecx, esi
mov edi, dword [esi + 0x2c]
lea eax, [edi + 1]
mov dword [ebp - 0x1c], eax
inc eax
mov dword [ebp - 0x18], eax
mov dword [esi + 0x2c], eax
call fcn.028b17a3
push dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push dword [esi + 0x64]
push 1
push 0x69
pop edx
call fcn.0289910e
mov ecx, dword [ebp - 8]
add esp, 0xc
push 0x10
pop edx
call fcn.0289962b
mov dword [esi + 0x28], 2
call fcn.0289950e
lea esi, [eax + 1]
push esi
push 0
push edi
push 0xf
pop edx
call fcn.0289910e
add esp, 0xc
lea ecx, [ebp - 0x3c]
push edi
push 0xd
pop edx
call fcn.028bc33f
mov edx, dword [ebp + 0x10]
add esp, 4
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.028c0d7b
pop ecx
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.02899341
lea edx, [esi - 1]
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.02899643
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x24], 0
jne 0x28af68c
mov edx, dword [ebp + 0x10]
mov ecx, eax
call fcn.028bde5b
test eax, eax
je 0x28af68c
mov cx, word [eax + 0x2a]
mov edx, eax
mov edi, dword [ebp - 0x14]
mov word [ebx + 0x2a], cx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
xor ecx, ecx
and dword [eax + 4], ecx
mov word [eax + 0x2a], cx
mov ecx, edi
call fcn.028ae069
push dword [ebp - 0x38]
mov ecx, esi
push 0x10
pop edx
call fcn.0289917e
pop ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov esi, eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x63
pop edx
call fcn.0289910e
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, ebx
push 0
call fcn.028b62ef
pop ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push 1
push 0x73
pop edx
call fcn.02899192
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x1c]
push 1
push 0x74
pop edx
call fcn.0289910e
mov ecx, dword [ebp - 8]
add esp, 0x14
mov edx, esi
call fcn.028991a7
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.02899643
mov ecx, dword [ebp - 8]
push 1
push 0x70
pop edx
call fcn.0289917e
pop ecx
mov edx, ebx
mov ecx, edi
call fcn.028aed26
mov esi, dword [ebp - 0x10]
jmp 0x28af5ac
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x184]
mov edx, dword [ebp + 8]
cmovne edx, eax
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [esi + 0x17c]
cmp byte [eax], 0x3b
je 0x28af594
add ecx, dword [edx + 4]
push dword [esi + 0x17c]
push ecx
push dword [ebp - 0x1c]
push 0x4ac1e0
push edi
call fcn.028839bd
add esp, 0x14
push dword [esi + 0x60]
mov ecx, dword [ebp - 0xc]
push eax
push dword [esi + 0x64]
mov dword [ebp - 0x1c], eax
push dword [ebx]
mov eax, dword [edi + 0x10]
push dword [ebx]
shl ecx, 4
push dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
push 0x4a4dec
push dword [ecx + eax]
push 0x4ac1f0
push esi
call fcn.028adabe
mov edx, dword [ebp - 0x1c]
add esp, 0x28
mov ecx, edi
call fcn.02882404
mov edx, dword [ebp - 0xc]
mov ecx, esi
call fcn.028aec4c
test byte [ebx + 0x24], 8
je 0x28af618
mov ecx, dword [edi + 0x10]
add ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x28af618
push dword [ecx]
push 0x4ac248
push esi
call fcn.028adabe
add esp, 0xc
push dword [ebx]
push 0x4ac274
push edi
call fcn.028839bd
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 8]
push eax
call fcn.028992d3
cmp byte [edi + 0x99], 0
pop ecx
je 0x28af68c
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx]
push ebx
lea ecx, [ecx + 8]
call fcn.028859a7
pop ecx
test eax, eax
je 0x28af65a
mov ecx, edi
call fcn.02882832
jmp 0x28af68c
xor edx, edx
mov dword [esi + 0x1b0], edx
or dword [edi + 0x18], 0x800000
cmp dword [ebx + 0xc], edx
jne 0x28af68c
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x17c]
cmp dword [eax], edx
cmove eax, dword [ebp + 8]
mov edx, dword [eax]
sub edx, ecx
call fcn.02884322
add eax, 0xd
mov dword [ebx + 0x34], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret