Function at 0x454640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x62f040]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
mov esi, dword [0x637e88]
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 0x4546f5
cmp esi, 5
jne 0x4547ca
lea eax, [esp + 0x20]
mov edx, 0x204a
push eax
lea ecx, [esp + 0x98]
call fcn.00524a40
test eax, eax
js 0x4547ca
cmp dword [0x62fbb0], 0x64
jb 0x454716
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x1c]
call fcn.0051e8c0
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 0x4547ca
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 0x454775
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 0x4547ca
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 0x4547aa
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4547aa
push ecx
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x20]
test eax, eax
js 0x4547ca
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 0x454832
push eax
push 0x80000204
push edi
call dword [sym.imp.ntdll.dll_RtlQueryProcessDebugInformation]
mov edi, eax
test edi, edi
jns 0x454837
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 0x454837
lea eax, [esi + esi]
cmp eax, esi
jbe 0x454837
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 0x4547e4
mov edi, 0xc0000001
mov eax, dword [esp + 0x14]
test eax, eax
je 0x454846
push eax
call dword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
je 0x45485a
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 0x45486c
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4548a6
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 0x454ab3
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x454aac
mov eax, dword ds:[eax]
lea ecx, [eax*8]
sub ecx, eax
cmp dword [0x62fbb0], 0x72
lea esi, [ecx*4 + 0x24]
push esi
push 4
push dword [0x636044]
jbe 0x4548fe
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
mov dword [esp + 0x2c], edi
call fcn.005826f0
mov ecx, dword [ebx + 0x38]
mov ecx, dword [ecx]
jmp 0x45491a
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.005826f0
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 0x454aac
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], esi
jmp 0x454940
cmp dword [0x62fbb0], 0x72
mov eax, dword [ebx + 0x38]
jbe 0x45495c
add eax, 8
lea edi, [esp + 0x48]
add esi, eax
mov ecx, 0x12
jmp 0x45496a
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 0x454a81
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 0x454a81
lea ebx, [eax - 8]
mov eax, dword [ebx + 0x24]
add eax, dword [ebx + 0x18]
cmp esi, eax
jae 0x454a7d
mov edi, edi
test ebx, ebx
je 0x454a7d
mov eax, dword [ebx + 0x70]
test eax, eax
cmovne ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x454a7d
mov dword [ebx + 0x98], 0xb
test ebx, ebx
je 0x454a7d
cmp dword ds:[esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x9c], eax
jbe 0x454a7d
mov eax, dword [esp + 0x14]
lea esi, [edi + 0xc]
lea esp, [esp]
test byte [esi - 8], 2
je 0x454a71
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 0x454a6d
lea ecx, [eax - 8]
mov eax, dword [ecx + 0x24]
add eax, dword [ecx + 0x18]
cmp edi, eax
jae 0x454a6d
test ecx, ecx
je 0x454a6d
cmp dword [ecx + 0x18], edi
jne 0x454a6d
cmp dword [ecx + 0x98], 0
mov eax, dword [esp + 0x14]
jne 0x454a71
mov dword [ecx + 0x98], 0xd
mov dword [ecx + 0x9c], ebx
jmp 0x454a71
mov eax, dword [esp + 0x14]
add esi, 0x10
sub eax, 1
mov dword [esp + 0x14], eax
jne 0x454a10
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 0x454940
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.0058078f
mov esp, ebp
pop ebp
ret