Function at 0x45d740
Capabilities:
Check for peb ntglobalflag flag
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6101b0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
lea eax, [esi + 0xb8]
push eax
mov dword [esp + 0x30], esi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x45d81c
lea ebx, [esi + 0x2ec]
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x88], esi
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45d80a
xor ebx, ebx
cmp esi, eax
jb 0x45d7d9
call fcn.005c475a
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x24]
add edx, ebx
call fcn.0045e010
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x18
cmp esi, eax
jb 0x45d7d9
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x88], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x2b]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00450fa0
mov dword [esp + 0x88], 2
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x45d843
call fcn.005c475a
mov ebx, dword [edi]
mov dword [esp + 0x18], ebx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
cmp dword [edi + 0xc], eax
jbe 0x45d85e
call fcn.005c475a
mov eax, dword [edi]
test ebx, ebx
je 0x45d868
cmp ebx, eax
je 0x45d86d
call fcn.005c475a
cmp esi, dword [esp + 0x20]
je 0x45d9ed
test ebx, ebx
jne 0x45d9ca
call fcn.005c475a
cmp esi, dword [ebx + 0x10]
jb 0x45d88e
call fcn.005c475a
mov ebx, dword [esp + 0x24]
push esi
call fcn.00462b50
test al, al
je 0x45d9a5
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45d9d1
call fcn.005c475a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45d8bd
call fcn.005c475a
mov eax, dword [esi]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x45d9a5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x45d99e
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45d9d8
call fcn.005c475a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45d906
call fcn.005c475a
mov eax, dword [esi + 0x10]
sub eax, 0x10
call fcn.0040fb70
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x88], 4
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x45d947
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.004123c0
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.005c44a8
add esp, 8
test esi, esi
jl 0x45d9e3
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x45d9e3
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
xor edx, edx
lea ecx, [esp + 0x14]
mov word [eax + esi*2], dx
push ecx
lea edx, [esp + 0x30]
push edx
lea ebx, [esp + 0x54]
call fcn.004251c0
mov byte [esp + 0x88], 2
lea ecx, [esp + 0x14]
call fcn.0040ba40
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45d9df
call fcn.005c475a
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45d9be
call fcn.005c475a
mov ebx, dword [esp + 0x18]
add esi, 0x18
jmp 0x45d849
mov ebx, dword [ebx]
jmp 0x45d884
mov eax, dword [eax]
jmp 0x45d8b3
mov eax, dword [eax]
jmp 0x45d8fc
mov eax, dword [eax]
jmp 0x45d9b4
push 0x80070057
call fcn.00403d10
cmp dword [esp + 0x48], 0
je 0x45dbbb
cmp dword [0x72a300], 0
je 0x45da61
mov eax, dword [esp + 0x44]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x45db13
call fcn.005c475a
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x45da24
call fcn.005c475a
mov eax, dword [edi + 0xc]
push ecx
mov esi, esp
sub eax, 0x10
mov dword [esp + 0x24], esp
mov dword [esp + 0x28], esi
call fcn.0040fb70
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x8c], 6
mov ecx, dword [0x72a300]
add ecx, 0xc0
push ecx
mov byte [esp + 0x90], 2
call fcn.004bc8f0
xor eax, eax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], eax
mov byte [esp + 0x5c], al
mov byte [esp + 0x88], 7
mov dword [esp + 0x74], eax
mov byte [esp + 0x88], 8
push eax
lea ecx, [esp + 0x5c]
call fcn.0041ec60
test al, al
je 0x45dba9
mov edx, dword [esp + 0x44]
mov edi, dword [edx]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
jmp 0x45dab0
mov ebx, dword [esp + 0x44]
test esi, esi
je 0x45dabe
cmp esi, dword [esp + 0x2c]
je 0x45dac3
call fcn.005c475a
cmp edi, ebx
je 0x45dba9
test esi, esi
jne 0x45db1a
call fcn.005c475a
cmp edi, dword [esi + 0x18]
jne 0x45dade
call fcn.005c475a
mov esi, dword [edi + 0xc]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
mov ebx, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x28], ebx
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x45db1e
cmp eax, dword [esi]
jne 0x45db1e
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x45db55
mov eax, dword [eax]
jmp 0x45da1a
mov esi, dword [esi]
jmp 0x45dad4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x45dba4
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.005c4800
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0x8c], 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, str.Application_blocked
call fcn.0040b990
mov byte [esp + 0x90], 0xb
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x94], 8
call fcn.0041fac0
lea esi, [esp + 0x18]
call fcn.0045be20
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x45dab0
call fcn.0040fb60
mov byte [esp + 0x88], 2
lea eax, [esp + 0x58]
push eax
call fcn.00417000
mov dword [esp + 0x88], 0xd
lea esi, [esp + 0x2c]
call fcn.004267f0
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005c396f
add esp, 4
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.005c397a
mov esp, ebp
pop ebp
ret