Function at 0x411150
Capabilities:
Check for peb ntglobalflag flag
Check for time delay via queryperformancecounter
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47dd58
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49ffb8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x49ffb8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 4]
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
call fcn.0040bf20
mov dword [esp + 0x88], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
mov byte [esp + 0x8c], 1
call fcn.00411650
mov byte [esp + 0x88], 0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x411203
push dword [esp + 0x24]
lea ecx, [esp + 0x24]
push esi
call fcn.00406870
push esi
call fcn.0043d98b
add esp, 4
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x1c]
mov esi, dword [eax]
mov dword [esp + 0x1c], ecx
cmp esi, eax
je 0x411557
mov edi, dword [esp + 0x14]
jmp 0x411220
cmp dword [0x4a1a34], 3
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x14], ebx
jl 0x4112d3
mov dword [esp + 0x34], vtable.Log.0
call fcn.0041ddc0
mov ebx, eax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x14], ecx
call fcn.0042f280
mov dword [ebx + 0x18], eax
mov byte [esp + 0x88], 2
mov dword [ebx + 8], 3
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x411283
add ecx, 0x10
jmp 0x411285
xor ecx, ecx
mov ebx, dword [esp + 0x14]
lea eax, [ebx + 0x18]
push eax
push ecx
push str._image_File_Name:
push ecx
push dword [esi + 0x10]
push ecx
push str.Pid2Handle::TerminateAllProcesses_terminating_process_pid:
push ecx
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.00404210
add esp, 4
push eax
call fcn.00407740
add esp, 0xc
push eax
call fcn.004079f0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0
call fcn.0041dee0
test ebx, ebx
je 0x411502
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4113d3
cmp dword [0x4a1a34], eax
jl 0x4114ce
mov dword [esp + 0x20], vtable.Log.0
call fcn.0041ddc0
mov ebx, eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x14], ecx
call fcn.0042f280
mov dword [ebx + 0x18], eax
mov byte [esp + 0x88], 3
mov dword [ebx + 8], 0
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x411348
add ebx, 0x10
jmp 0x41134a
xor ebx, ebx
lea ecx, [esp + 0x60]
call fcn.00425510
push eax
push ecx
push str._failed
push ecx
mov byte [esp + 0x98], 4
push dword [esi + 0x10]
push ecx
push str.Pid2Handle::TerminateAllProcesses_for_PID:
push ebx
call fcn.00407740
add esp, 0xc
mov ecx, eax
call fcn.00404210
add esp, 4
push eax
call fcn.00407740
add esp, 0xc
push eax
call fcn.004079f0
add esp, 8
cmp dword [esp + 0x74], 0x10
jb 0x4113a4
push dword [esp + 0x60]
call fcn.0043d98b
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov byte [esp + 0x88], 0
call fcn.0041dee0
mov ebx, dword [esp + 0x14]
jmp 0x4114ce
mov eax, dword [esp + 0x30]
mov byte [eax], 1
cmp byte [ebx + 0x10], 0
je 0x41141e
lea ecx, [esp + 0x3c]
call fcn.00438800
push 0
push 0x3e8
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.0043f340
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.00438860
mov eax, dword [esp + 0x14]
sub eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [ebx + 0xc]
jmp 0x411423
or eax, 0xffffffff
or ecx, eax
push ecx
push eax
push dword [ebx]
lea eax, [ebx + 0x18]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00405240
mov eax, dword [edi]
push dword [esi + 0x10]
mov ecx, edi
call dword [eax + 4]
cmp byte [ebx + 0x10], 0
je 0x411498
lea ecx, [esp + 0x44]
call fcn.00438800
push 0
push 0x3e8
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.0043f340
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
call fcn.00438860
mov eax, dword [esp + 0x18]
sub eax, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [ebx + 0xc]
jmp 0x41149d
or eax, 0xffffffff
or ecx, eax
push ecx
push eax
push dword [ebx]
lea eax, [ebx + 0x18]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00405240
mov eax, dword [edi]
push dword [esi + 0x10]
mov ecx, edi
call dword [eax + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x2c], 0x10
jb 0x4114e7
push dword [ebx + 0x18]
call fcn.0043d98b
add esp, 4
mov dword [ebx + 0x2c], 0xf
mov dword [ebx + 0x28], 0
push ebx
mov byte [ebx + 0x18], 0
call fcn.0043d98b
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x411547
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41152c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x411547
jmp 0x411520
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x411520
jmp 0x411547
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x411545
cmp esi, dword [eax + 8]
jne 0x411545
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x411535
mov esi, eax
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx]
jne 0x411220
mov edi, dword [esp + 0x2c]
mov eax, dword [ecx]
mov ebx, dword [eax + 4]
mov esi, ebx
cmp byte [ebx + 0xd], 0
jne 0x411583
push dword [esi + 8]
call fcn.0040a8f0
mov esi, dword [esi]
push ebx
call fcn.0043d98b
mov ecx, dword [esp + 0x20]
add esp, 4
cmp byte [esi + 0xd], 0
mov ebx, esi
je 0x411564
mov eax, dword [ecx]
push edi
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov eax, dword [ecx]
mov dword [eax + 8], eax
mov dword [ecx + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0043cee8
mov esp, ebp
pop ebp
ret 4