Function at 0x461160
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x461168
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461479
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x461215
cmp dword [ebp - 0x1c], 1
jne 0x4611dd
push 0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00417424
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x461494
call fcn.00407afc
mov edx, dword [ebp - 0x20]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440570
jmp 0x46145c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00417424
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x4614fc
call fcn.00407afc
mov edx, dword [ebp - 0x28]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440830
mov byte [ebp - 5], 1
jmp 0x46145c
mov eax, dword [ebp - 4]
push eax
mov eax, 0x461564
xor ecx, ecx
mov edx, 1
call fcn.004610f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x461448
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
jne 0x461268
cmp dword [ebp - 0x10], 0
je 0x4612d3
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x4612d3
cmp dword [ebp - 0x14], 0x103
je 0x461304
push 0x461578
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00417424
push dword [ebp - 0x34]
push 0x4615c8
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x38]
mov eax, 8
call fcn.00417608
push dword [ebp - 0x38]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00407b84
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440830
mov byte [ebp - 5], 1
call fcn.00406630
jmp 0x46145c
push 0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00417424
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x4615ec
call fcn.00407afc
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440570
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CheckRemoteDebuggerPresent
test eax, eax
jne 0x461331
cmp dword [ebp - 0x10], 0
je 0x461368
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CheckRemoteDebuggerPresent
test eax, eax
je 0x461368
cmp dword [ebp - 0x18], 0
je 0x461399
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00417424
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x461628
call fcn.00407afc
mov edx, dword [ebp - 0x44]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440300
jmp 0x461399
push 0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00417424
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x461668
call fcn.00407afc
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440570
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_TerminateProcess
test eax, eax
je 0x4613e2
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00417424
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x4616b4
call fcn.00407afc
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440830
mov byte [ebp - 5], 1
call fcn.00406630
jmp 0x46145c
push 0
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00417424
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x4616f4
call fcn.00407afc
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
mov ecx, 0x4614d4
call fcn.00440570
imul eax, dword [ebp - 0x1c], 0x190
push eax
call sub.KERNEL32.DLL_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46144f
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle
cmp dword [ebp - 0x10], 0
je 0x461445
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461480
lea eax, [ebp - 0x60]
mov edx, 0x11
call fcn.00406ea4
pop eax
jmp eax