Function at 0x41ccf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x481050
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
test eax, eax
jne 0x41cd24
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push eax
mov ecx, 0x4a9888
call fcn.0041a2b0
mov esi, eax
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
mov dword [ebp + 8], eax
cmp eax, dword [eax]
je 0x41cf4f
push edi
cmp byte [eax + 0xd], 0
je 0x41cd4e
mov ecx, dword [eax + 8]
jmp 0x41cd8e
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x41cd6d
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x41cd8e
nop
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x41cd60
jmp 0x41cd8e
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x41cd85
cmp eax, dword [edx]
jne 0x41cd85
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x41cd76
cmp byte [eax + 0xd], 0
mov ecx, eax
cmove ecx, edx
mov esi, dword [ecx + 0x10]
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41cf36
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x41ce6a
push esi
lea eax, [ebp - 0x40]
push str.INFO:_Successfully_terminated_PID_d_n
push eax
call fcn.00409960
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x4a9a88
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x41cdf7
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x41ce12
mov esi, dword [esi]
push esi
push 0x48649c
push eax
call fcn.0040e7e0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x10
jb 0x41ce36
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404120
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x41ce64
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404120
inc ebx
jmp 0x41cf2f
push 0xa
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x41cf2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x40]
push str.WARNING:_Could_not_terminate_PID_d._Error__d_._n
push eax
call fcn.00409960
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x4a9a88
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x41cec2
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x41cedd
mov esi, dword [esi]
push esi
push 0x48649c
push eax
call fcn.0040e7e0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x10
jb 0x41cf01
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404120
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x41cf2f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404120
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00402ec0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
cmp eax, dword [ecx]
jne 0x41cd43
pop edi
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.004717a0
push dword [esi]
call fcn.004314a6
push 8
push esi
call fcn.004314ab
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, ebx
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret