Function at 0x28be153
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov eax, dword [esi + 0x1c]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push eax
push 0x21
pop edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
call fcn.028ad74f
add esp, 0xc
test eax, eax
jne 0x28be402
mov ecx, edi
call fcn.0289935e
mov ecx, 0x140
mov dword [ebp - 0x14], eax
mov word [esi + 6], cx
mov edx, esi
push eax
mov ecx, ebx
call fcn.028bdf4e
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x10]
pop ecx
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
mov eax, ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], ecx
cmp dword [edx], eax
jle 0x28be203
lea ecx, [edx + 0x30]
test byte [ecx], 0x20
jne 0x28be1f9
inc eax
add ecx, 0x50
cmp eax, dword [edx]
jl 0x28be1ea
jmp 0x28be203
imul eax, eax, 0x50
mov eax, dword [eax + edx + 0x38]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0xc], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x28], eax
cmp byte [esi + 4], 0x73
jne 0x28be230
cmp dword [ebp - 8], 0
push 6
pop edx
mov dword [ebp - 0x24], 8
cmovne edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
inc eax
mov dword [ebx + 0x28], eax
jmp 0x28be23d
cmp dword [ebp - 8], 0
push 5
pop edx
push 7
pop eax
cmovne edx, eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.028bc33f
add esp, 4
mov ecx, edi
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
push 0x6f
pop edx
call fcn.0289910e
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x28be29d
push ecx
mov edx, esi
mov ecx, ebx
call fcn.028be096
pop ecx
push 0xfffffffffffffff7
push eax
mov eax, dword [ebp - 8]
mov ecx, edi
push 0
mov eax, dword [eax]
add eax, 2
push eax
push dword [ebp - 0xc]
push 0x6c
pop edx
call fcn.02899258
mov eax, dword [ebp - 8]
add esp, 0x14
mov dword [ebp - 0x38], eax
jmp 0x28be2af
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0xc]
push 0x6c
pop edx
call fcn.02899192
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x28be2cc
push 0
push eax
push 0x6c
pop edx
mov ecx, edi
call fcn.02899192
pop ecx
mov dword [esi + 0x14], eax
or dword [esi + 8], 0x20
pop ecx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
and dword [esi + 0x2c], 0
mov edx, eax
push ecx
mov ecx, ebx
and dword [eax + 0x34], 0
call fcn.028c0d7b
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x34], esi
test eax, eax
jne 0x28be3e6
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0xc]
push 0x25
pop edx
call fcn.02899192
push dword [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 0x20], eax
push 0x7c
pop edx
call fcn.0289917e
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x24]
test eax, eax
je 0x28be336
mov eax, dword [eax]
inc eax
push eax
push dword [ebp - 0xc]
push 0x60
pop edx
call fcn.0289910e
add esp, 0xc
jmp 0x28be343
push dword [ebp - 0xc]
push 0x7a
pop edx
call fcn.02899192
pop ecx
pop ecx
push dword [ebp - 0xc]
mov ecx, edi
push 0x76
pop edx
call fcn.0289917e
pop ecx
mov ecx, edi
call fcn.0289935e
mov edx, dword [ebp - 0x28]
mov ecx, edi
push eax
mov dword [ebp - 0x24], eax
call fcn.028bcbeb
pop ecx
push dword [ebp - 0x14]
mov edx, esi
mov ecx, ebx
push dword [ebp - 0x24]
push dword [ebp + 8]
push 0
push 0
push dword [ebp - 0x10]
push dword [esi]
call fcn.028bcc76
mov eax, dword [ebp - 0x2c]
add esp, 0x1c
test eax, eax
je 0x28be39c
push dword [ebp - 0x14]
mov ecx, edi
push eax
push 0x30
pop edx
call fcn.02899192
pop ecx
pop ecx
mov edx, dword [ebp - 0x24]
mov ecx, edi
call fcn.028993a0
test byte [esi + 8], 8
je 0x28be3ba
push 0x4ad654
push ebx
call fcn.02884527
pop ecx
jmp 0x28be3d1
and dword [esi + 0x30], 0
lea eax, [ebp - 0x4c]
push eax
mov edx, esi
mov ecx, ebx
call fcn.028c0d7b
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x30], eax
mov edx, dword [ebp - 0x20]
pop ecx
mov ecx, edi
call fcn.028991a7
mov edx, dword [ebp - 0x14]
mov ecx, edi
call fcn.028993a0
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebx]
call fcn.028a7f14
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret