Function at 0x1010ce50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101785d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1010cf61
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1010cf52
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x149]
mov dword [ebp - 0x148], eax
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.10002cf0
mov dword [ebp - 0x1d0], str.cannot_kill_process
mov ecx, dword [ebp - 0x1d0]
add ecx, 1
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x1d0]
mov al, byte [edx]
mov byte [ebp - 0x1d5], al
add dword [ebp - 0x1d0], 1
cmp byte [ebp - 0x1d5], 0
jne 0x1010ced8
mov ecx, dword [ebp - 0x1d0]
sub ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x1dc]
push edx
push str.cannot_kill_process
lea ecx, [ebp - 0x5c]
call fcn.10003590
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.100fcbd0
push 0x101aa74c
lea ecx, [ebp - 0x40]
push ecx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.10002cf0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1010d1c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 5
je 0x1010cf8b
cmp dword [ebp - 0x1e0], 0x490
je 0x1010d048
jmp 0x1010d105
lea eax, [ebp - 0x175]
mov dword [ebp - 0x174], eax
push 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.10002cf0
mov dword [ebp - 0x1e4], str.cannot_kill_process
mov ecx, dword [ebp - 0x1e4]
add ecx, 1
mov dword [ebp - 0x1e8], ecx
mov edx, dword [ebp - 0x1e4]
mov al, byte [edx]
mov byte [ebp - 0x1e9], al
add dword [ebp - 0x1e4], 1
cmp byte [ebp - 0x1e9], 0
jne 0x1010cfbf
mov ecx, dword [ebp - 0x1e4]
sub ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
push edx
push str.cannot_kill_process
lea ecx, [ebp - 0xa8]
call fcn.10003590
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x8c]
call fcn.100fda40
push 0x101b9a38
lea ecx, [ebp - 0x8c]
push ecx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.10002cf0
lea edx, [ebp - 0x189]
mov dword [ebp - 0x188], edx
push 0
push 0
lea ecx, [ebp - 0xf4]
call fcn.10002cf0
mov dword [ebp - 0x1f4], str.cannot_kill_process
mov eax, dword [ebp - 0x1f4]
add eax, 1
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f4]
mov dl, byte [ecx]
mov byte [ebp - 0x1f9], dl
add dword [ebp - 0x1f4], 1
cmp byte [ebp - 0x1f9], 0
jne 0x1010d07c
mov eax, dword [ebp - 0x1f4]
sub eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
push ecx
push str.cannot_kill_process
lea ecx, [ebp - 0xf4]
call fcn.10003590
mov dword [ebp - 4], 2
push 0
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0xd8]
call fcn.100fc5a0
push 0x101b6e74
lea eax, [ebp - 0xd8]
push eax
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xf4]
call fcn.10002cf0
lea ecx, [ebp - 0x1b5]
mov dword [ebp - 0x1b4], ecx
push 0
push 0
lea ecx, [ebp - 0x140]
call fcn.10002cf0
mov dword [ebp - 0x204], str.cannot_kill_process
mov edx, dword [ebp - 0x204]
add edx, 1
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x204]
mov cl, byte [eax]
mov byte [ebp - 0x209], cl
add dword [ebp - 0x204], 1
cmp byte [ebp - 0x209], 0
jne 0x1010d139
mov edx, dword [ebp - 0x204]
sub edx, dword [ebp - 0x208]
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x210]
push eax
push str.cannot_kill_process
lea ecx, [ebp - 0x140]
call fcn.10003590
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x124]
call fcn.100fcbd0
push 0x101aa74c
lea edx, [ebp - 0x124]
push edx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x140]
call fcn.10002cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret