Function at 0x56a370
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e092
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
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 0x56a481
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x56a472
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.004028c0
mov dword [ebp - 0x1c8], str.cannot_kill_process
mov ecx, dword [ebp - 0x1c8]
add ecx, 1
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1c8]
mov al, byte [edx]
mov byte [ebp - 0x1cd], al
add dword [ebp - 0x1c8], 1
cmp byte [ebp - 0x1cd], 0
jne 0x56a3f8
mov ecx, dword [ebp - 0x1c8]
sub ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x1d4]
push edx
push str.cannot_kill_process
lea ecx, [ebp - 0x5c]
call fcn.00402910
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00564200
push 0x6a3798
lea ecx, [ebp - 0x40]
push ecx
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.004028c0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x56a6e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 5
je 0x56a4ab
cmp dword [ebp - 0x1d8], 0x490
je 0x56a568
jmp 0x56a625
lea eax, [ebp - 0x16d]
mov dword [ebp - 0x16c], eax
push 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004028c0
mov dword [ebp - 0x1dc], str.cannot_kill_process
mov ecx, dword [ebp - 0x1dc]
add ecx, 1
mov dword [ebp - 0x1e0], ecx
mov edx, dword [ebp - 0x1dc]
mov al, byte [edx]
mov byte [ebp - 0x1e1], al
add dword [ebp - 0x1dc], 1
cmp byte [ebp - 0x1e1], 0
jne 0x56a4df
mov ecx, dword [ebp - 0x1dc]
sub ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e8], ecx
mov edx, dword [ebp - 0x1e8]
push edx
push str.cannot_kill_process
lea ecx, [ebp - 0xa8]
call fcn.00402910
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00565070
push 0x69b040
lea ecx, [ebp - 0x8c]
push ecx
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.004028c0
lea edx, [ebp - 0x181]
mov dword [ebp - 0x180], edx
push 0
push 0
lea ecx, [ebp - 0xf4]
call fcn.004028c0
mov dword [ebp - 0x1ec], str.cannot_kill_process
mov eax, dword [ebp - 0x1ec]
add eax, 1
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1ec]
mov dl, byte [ecx]
mov byte [ebp - 0x1f1], dl
add dword [ebp - 0x1ec], 1
cmp byte [ebp - 0x1f1], 0
jne 0x56a59c
mov eax, dword [ebp - 0x1ec]
sub eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
push ecx
push str.cannot_kill_process
lea ecx, [ebp - 0xf4]
call fcn.00402910
mov dword [ebp - 4], 2
push 0
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0xd8]
call fcn.00563bd0
push 0x691bd4
lea eax, [ebp - 0xd8]
push eax
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xf4]
call fcn.004028c0
lea ecx, [ebp - 0x1ad]
mov dword [ebp - 0x1ac], ecx
push 0
push 0
lea ecx, [ebp - 0x140]
call fcn.004028c0
mov dword [ebp - 0x1fc], str.cannot_kill_process
mov edx, dword [ebp - 0x1fc]
add edx, 1
mov dword [ebp - 0x200], edx
mov eax, dword [ebp - 0x1fc]
mov cl, byte [eax]
mov byte [ebp - 0x201], cl
add dword [ebp - 0x1fc], 1
cmp byte [ebp - 0x201], 0
jne 0x56a659
mov edx, dword [ebp - 0x1fc]
sub edx, dword [ebp - 0x200]
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x208]
push eax
push str.cannot_kill_process
lea ecx, [ebp - 0x140]
call fcn.00402910
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x124]
call fcn.00564200
push 0x6a3798
lea edx, [ebp - 0x124]
push edx
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x140]
call fcn.004028c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret