Function at 0x454860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
mov esi, dword [0x635f50]
mov eax, ecx
push edi
mov dword [esp + 0x40], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov edi, dword [eax]
mov eax, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x98], 0
push eax
push 0x204a
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], 0x18
call dword [sym.imp.ntdll.dll_NtOpenProcess]
cmp eax, 0xc0000022
jne 0x454915
cmp esi, 5
jne 0x4549ea
lea eax, [esp + 0x20]
mov edx, 0x204a
push eax
lea ecx, [esp + 0x98]
call fcn.00523540
test eax, eax
js 0x4549ea
cmp dword [0x62dbb0], 0x64
jb 0x454936
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x1c]
call fcn.0051d440
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x28
push eax
mov dword [esp + 0x28], str.EnableHeapReflection
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x4549ea
mov esi, dword [esp + 0x94]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
test esi, esi
jne 0x454995
mov eax, dword [esp + 0x40]
push dword [eax]
lea eax, [esp + 0x14]
push 0x4a
push eax
call sym.SystemInformer.exe_PhOpenProcess
test eax, eax
js 0x4549ea
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.ntdll.dll_RtlCreateProcessReflection]
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4549ca
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4549ca
push ecx
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x20]
test eax, eax
js 0x4549ea
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], eax
push 0
mov esi, 0x10000
push esi
call dword [sym.imp.ntdll.dll_RtlCreateQueryDebugBuffer]
mov dword ds:[esp + 0x10], eax
test eax, eax
je 0x454a52
push eax
push 0x80000204
push edi
call dword [sym.imp.ntdll.dll_RtlQueryProcessDebugInformation]
mov edi, eax
test edi, edi
jns 0x454a57
mov eax, dword ds:[esp + 0x10]
push eax
call dword [sym.imp.ntdll.dll_RtlDestroyQueryDebugBuffer]
xor eax, eax
mov dword [esp + 0x10], eax
cmp edi, 0xc0000017
jne 0x454a57
lea eax, [esi + esi]
cmp eax, esi
jbe 0x454a57
mov esi, eax
push 0
push esi
call dword [sym.imp.ntdll.dll_RtlCreateQueryDebugBuffer]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x454a04
mov edi, 0xc0000001
mov eax, dword [esp + 0x14]
test eax, eax
je 0x454a66
push eax
call dword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
je 0x454a7a
push 0
push ebx
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
push ebx
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x94]
test eax, eax
je 0x454a8c
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x454ac6
xor eax, eax
mov dword [esp + 0x28], esi
push eax
push eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x38], al
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push 0x10
push eax
push 0x2c
mov dword [esp + 0x40], 3
call dword [sym.imp.ntdll.dll_NtPowerInformation]
push esi
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
js 0x454cd3
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x454ccc
mov eax, dword ds:[eax]
lea ecx, [eax*8]
sub ecx, eax
cmp dword [0x62dbb0], 0x72
lea esi, [ecx*4 + 0x24]
push esi
push 4
push dword [0x633f94]
jbe 0x454b1e
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
mov dword [esp + 0x2c], edi
call fcn.00580b30
mov ecx, dword [ebx + 0x38]
mov ecx, dword [ecx]
jmp 0x454b3a
mov edi, edi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
mov dword [esp + 0x24], eax
push 0
push edi
call fcn.00580b30
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
add esp, 0xc
mov dword [edi], ecx
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x454ccc
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], esi
jmp 0x454b60
cmp dword [0x62dbb0], 0x72
mov eax, dword [ebx + 0x38]
jbe 0x454b7c
add eax, 8
lea edi, [esp + 0x48]
add esi, eax
mov ecx, 0x12
jmp 0x454b8a
lea esi, [eax + 4]
add esi, ecx
lea edi, [esp + 0x48]
mov ecx, 0x10
rep movsd dword es:[edi], dword ds:[esi]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x14], eax
test esi, esi
je 0x454ca1
mov eax, dword ds:[esp + 0x40]
lea ecx, [esp + 0xa0]
add eax, 4
mov dword [esp + 0xb0], esi
push ecx
push eax
call sym.SystemInformer.exe_PhUpperDualBoundElementAvlTree
test eax, eax
je 0x454ca1
lea ebx, [eax - 8]
mov eax, dword [ebx + 0x24]
add eax, dword [ebx + 0x18]
cmp esi, eax
jae 0x454c9d
mov edi, edi
test ebx, ebx
je 0x454c9d
mov eax, dword [ebx + 0x70]
test eax, eax
cmovne ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x454c9d
mov dword [ebx + 0x98], 0xb
test ebx, ebx
je 0x454c9d
cmp dword ds:[esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x9c], eax
jbe 0x454c9d
mov eax, dword [esp + 0x14]
lea esi, [edi + 0xc]
lea esp, [esp]
test byte [esi - 8], 2
je 0x454c91
mov edi, dword [esi]
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x44]
add eax, 4
mov dword [esp + 0xb4], edi
push eax
call sym.SystemInformer.exe_PhUpperDualBoundElementAvlTree
test eax, eax
je 0x454c8d
lea ecx, [eax - 8]
mov eax, dword [ecx + 0x24]
add eax, dword [ecx + 0x18]
cmp edi, eax
jae 0x454c8d
test ecx, ecx
je 0x454c8d
cmp dword [ecx + 0x18], edi
jne 0x454c8d
cmp dword [ecx + 0x98], 0
mov eax, dword [esp + 0x14]
jne 0x454c91
mov dword [ecx + 0x98], 0xd
mov dword [ecx + 0x9c], ebx
jmp 0x454c91
mov eax, dword [esp + 0x14]
add esi, 0x10
sub eax, 1
mov dword [esp + 0x14], eax
jne 0x454c30
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
inc edi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
add esi, 0x48
add ecx, 0x40
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44], ecx
cmp edi, dword [eax]
jb 0x454b60
push ebx
call dword [sym.imp.ntdll.dll_RtlDestroyQueryDebugBuffer]
mov ecx, dword ds:[esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret