Function at 0x4be9ac
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x4be9b4
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4becdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417110]
call fcn.00403858
mov dword [ebp - 0x10], eax
xor edx, edx
mov eax, 2
call fcn.004ae2ac
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x148], 0x128
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004ae2cc
mov dword [ebp - 4], eax
jmp 0x4bec84
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4bec73
inc eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x150]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00408c40
mov edx, dword [ebp - 0x14c]
mov eax, 0x4becf4
call fcn.00404cc0
test eax, eax
je 0x4beaed
lea ecx, [ebp - 0x154]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x18]
call fcn.00408c40
mov edx, dword [ebp - 0x18]
mov eax, 0x4becf4
call fcn.00404cc0
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00404c1c
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0x140]
call fcn.004ae34c
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
call fcn.00404944
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.00408c40
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x18]
call fcn.00404cc0
test eax, eax
je 0x4bec25
mov dword [ebp - 8], 0xffffffff
jmp 0x4bec25
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040492c
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.004097f8
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00408c40
mov eax, dword [ebp - 0x164]
push eax
lea ecx, [ebp - 0x174]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.00408c40
mov edx, dword [ebp - 0x170]
pop eax
call fcn.00404ac8
je 0x4bebb6
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040492c
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.00408c40
mov eax, dword [ebp - 0x178]
push eax
lea ecx, [ebp - 0x184]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00408c40
mov edx, dword [ebp - 0x180]
pop eax
call fcn.00404ac8
jne 0x4bec25
lea ecx, [ebp - 0x18c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
call fcn.00408c40
mov eax, dword [ebp - 0x188]
mov edx, 0x4bed00
call fcn.00404ac8
jne 0x4bec1e
mov ecx, dword [0x4c5ed0]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4bd374]
call fcn.00464224
mov dword [ebp - 0x20], eax
mov ecx, 0x4bed18
mov edx, 0x4bed8c
mov eax, dword [ebp - 0x20]
call fcn.004bd5e8
cmp eax, 2
je 0x4bec69
mov eax, dword [ebp - 0x20]
call fcn.00403888
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 8], 0
je 0x4bec69
push 0
mov eax, dword [ebp - 0x140]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4bec69
lea ecx, [ebp - 0x190]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x1c]
jne 0x4bea22
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004ae2ec
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4bea0c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bece2
lea eax, [ebp - 0x190]
mov edx, 0xc
call fcn.004046e0
lea eax, [ebp - 0x160]
call fcn.00404df0
lea eax, [ebp - 0x15c]
mov edx, 5
call fcn.004046e0
lea eax, [ebp - 0x18]
call fcn.004046bc
ret