Function at 0x48b200
Capabilities:
Check processdebugport
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, edx
mov dword [ebp - 0x104], ebx
push edi
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
je 0x48b25f
movzx eax, word [esi + 0x38]
mov ecx, eax
test ax, ax
jne 0x48b254
call sym.SystemInformer.exe_PhReferenceEmptyString
jmp 0x48b27a
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
jmp 0x48b26d
mov dword [ebp - 0xc], str.System_Idle_Process
mov dword [ebp - 0x10], 0x26
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call sym.SystemInformer.exe_PhCreateString3
mov ecx, ebx
mov edx, 0x18
mov dword [ecx + edx], eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x48b2b1
push 0xa
lea eax, [ebx + 0x94]
push eax
push ecx
call fcn.00582eea
add esp, 0xc
lea eax, [ebx + 0xae]
push 0x10
push eax
push dword [ebx + 0x10]
call fcn.00582eea
add esp, 0xc
mov eax, dword [ebx + 0x10]
test eax, eax
jle 0x48b2e5
push eax
push 0x400
lea edi, [ebx + 0x30]
push edi
call sym.SystemInformer.exe_PhOpenProcess
test eax, eax
js 0x48b2d2
or dword [ebx + 0x7c], 0x80
cmp dword [edi], 0
jne 0x48b2e5
push dword [ebx + 0x10]
push 0x1000
push edi
call sym.SystemInformer.exe_PhOpenProcess
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48b460
push 0
push 0x20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x20
push ecx
push 0
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48b365
mov edx, dword [ebp - 0x24]
mov ecx, edx
mov eax, dword [ebx + 0x7c]
and ecx, 1
and eax, 0xffffdfff
shl ecx, 0xd
or ecx, eax
mov eax, edx
and eax, 0x80
and ecx, 0xffffbfff
shl eax, 7
or eax, ecx
mov ecx, edx
and eax, 0xffff7fff
and ecx, 0x100
shl ecx, 7
or ecx, eax
mov eax, edx
and eax, 2
and ecx, 0xfffffdff
shl eax, 8
and edx, 0x40
or eax, ecx
shl edx, 0xa
and eax, 0xfffeffff
or edx, eax
mov dword [ebx + 0x7c], edx
cmp dword [0x635f50], 2
lea eax, [ebx + 0x20]
mov edi, dword [ebx + 0x30]
jl 0x48b392
push ecx
push 8
push eax
mov edx, 0xf
mov ecx, edi
call fcn.005242a0
test eax, eax
js 0x48b460
jmp 0x48b43f
push 0
push 8
lea eax, [ebp - 0x10]
push eax
push 0x5c
push edi
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov ecx, eax
cmp ecx, 0xc0000003
jne 0x48b419
push 0x60
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.00580ff0
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0
push 0x60
push eax
push 0x40
push edi
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov ecx, eax
cmp ecx, 0x80000005
jne 0x48b3ec
xor ecx, ecx
jmp 0x48b3f0
test ecx, ecx
js 0x48b460
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xb0]
add eax, edx
lea edx, [ebp - 0x80]
cmp edx, eax
ja 0x48b460
mov edx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
jmp 0x48b41f
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
nop
test ecx, ecx
js 0x48b460
mov ecx, dword [0x7ffe02c4]
xor eax, eax
shl ecx, 0x10
or eax, edx
or ecx, edi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edi
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
push 0x10
lea eax, [ebx + 0xfe]
lfence
push eax
push dword [ebx + 0x20]
mov dword [ebx + 0xfa], 0x780030
call fcn.00582eea
add esp, 0xc
mov eax, dword [ebx + 0x10]
cmp eax, 4
je 0x48b4d9
test eax, eax
jle 0x48b4f0
lea ecx, [ebp - 0x44]
push ecx
push eax
call sym.SystemInformer.exe_PhGetProcessImageFileNameByProcessId
test eax, eax
js 0x48b484
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48b49f
lea ecx, [ebp - 0x44]
push ecx
push eax
call sym.SystemInformer.exe_PhGetProcessImageFileNameWin32
test eax, eax
js 0x48b49f
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x48b4f0
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x48b4b2
cmp dword [ecx], 0
jne 0x48b4f0
push eax
call sym.SystemInformer.exe_PhGetFileName
mov ecx, dword ds:[ebx + 0x34]
mov dword [ebx + 0x34], eax
test ecx, ecx
je 0x48b4f0
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x48b4f0
call fcn.004fbe40
jmp 0x48b4f0
call sym.SystemInformer.exe_PhGetKernelFileName2
mov edi, edi
test eax, eax
je 0x48b4f0
push eax
mov dword [ebx + 0x38], eax
call sym.SystemInformer.exe_PhGetFileName
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48b674
cmp dword [0x635f50], 3
lea ecx, [ebp - 0x44]
push ecx
jl 0x48b516
mov edx, 8
mov ecx, eax
call fcn.00523b40
jmp 0x48b52b
push 8
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcessToken]
nop
cmp eax, 0xc0000022
je 0x48b674
test eax, eax
js 0x48b674
lea eax, [ebp - 0x20]
push eax
push 0x4c
lea eax, [ebp - 0x100]
push eax
push 1
push dword [ebp - 0x44]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48b599
mov ebx, dword [ebp - 0x100]
movzx eax, byte [ebx + 1]
lea edi, [eax*4 + 8]
push edi
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push edi
mov esi, eax
push ebx
push esi
call fcn.00581150
mov ebx, dword [ebp - 0x104]
add esp, 0xc
mov ecx, dword [ebp - 0x100]
mov dword [ebx + 0x58], esi
call fcn.0048a9b0
mov esi, dword [ebp - 0x18]
mov dword [ebx + 0x304], eax
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x12
push dword [ebp - 0x44]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48b5b8
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x5c], eax
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push 0x14
push dword [ebp - 0x44]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48b5e6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
neg ecx
sbb ecx, ecx
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
mov dword [ebx + 0x7c], ecx
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x44]
call sym.SystemInformer.exe_PhGetTokenIntegrityLevel
test eax, eax
js 0x48b60c
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x104]
mov dword [ebx + 0x64], eax
lea eax, ds:[ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1a
push dword [ebp - 0x44]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48b64a
cmp dword [ebp - 0x18], 0
mov edx, 0x20000
setne al
xor ecx, ecx
test al, al
mov eax, dword [ebx + 0x7c]
cmovne ecx, edx
and eax, 0xfffdffff
or ecx, eax
mov dword [ebx + 0x7c], ecx
cmp dword [0x62dbb0], 0x3e
jb 0x48b66b
test dword [ebx + 0x7c], 0x10000
je 0x48b66b
mov ecx, dword ds:[ebp - 0x44]
call fcn.00514400
mov dword [ebx + 0x300], eax
push dword [ebp - 0x44]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x48b685
jmp 0x48b680
cmp eax, 4
jne 0x48b6f5
cmp dword [ebx + 0x58], 0
jne 0x48b6b8
push 0xc
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [0x5d4d34]
mov dword [eax], ecx
mov ecx, dword [0x5d4d38]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d4d3c]
mov dword [eax + 8], ecx
mov dword [ebx + 0x58], eax
cmp dword ds:[ebx + 0x304], 0
jne 0x48b6f5
mov eax, dword [0x634ce8]
test eax, eax
je 0x48b6ed
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x5d4d34
push ecx
push eax
call sym.SystemInformer.exe_PhFindEntryHashtable
lea esp, [esp]
test eax, eax
je 0x48b6ed
mov eax, dword [eax + 4]
lock inc dword [eax - 4]
jmp 0x48b6ef
xor eax, eax
mov dword [ebx + 0x304], eax
push dword ds:[ebx + 0x34]
push dword [ebx + 0x10]
call sym.SystemInformer.exe__PhGetProcessKnownTypeEx_8
mov dword [ebx + 0x350], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48b756
cmp dword [0x62dbb0], 0x3f
jb 0x48b73b
push 0
push 1
lea ecx, [ebp - 0x11]
push ecx
push 0x3d
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48b75d
mov al, byte [ebp - 0x11]
mov byte [ebx + 0x354], al
jmp 0x48b75d
test dword [ebx + 0x7c], 0x2000
je 0x48b75d
mov al, byte [ebx + 0x354]
and al, 0xfa
or al, 2
mov byte [ebx + 0x354], al
jmp 0x48b75d
mov byte [ebx + 0x354], 0xff
cmp dword [0x62dbb0], 0x3f
jb 0x48b81f
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48b81f
test dword [0x633cb8], 0x80000
nop
je 0x48b81f
push 0
push 8
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 7
push ecx
push 0x34
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48b7c2
mov al, byte [ebp - 0xc]
and al, 1
movzx ecx, al
mov eax, dword [ebx + 0x7c]
shl ecx, 0x12
and eax, 0xfffbffff
or ecx, eax
mov dword [ebx + 0x7c], ecx
cmp dword [0x62dbb0], 0x72
jb 0x48b81f
push 0
push 8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 7
push eax
push 0x34
push dword [ebx + 0x30]
mov dword [ebp - 0xc], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48b81f
mov edx, dword [ebp - 0xc]
mov ecx, edx
shr ecx, 3
movzx ecx, cl
shl ecx, 0x14
xor ecx, dword [ebx + 0x7c]
shr edx, 4
and ecx, 0x100000
xor ecx, dword [ebx + 0x7c]
movzx eax, dl
shl eax, 0x15
xor eax, ecx
and eax, 0x200000
xor eax, ecx
mov dword [ebx + 0x7c], eax
cmp dword [0x62dbb0], 0x6d
jb 0x48b89c
test dword [0x633cb8], 0x100000
je 0x48b89c
cmp dword [ebx + 0x10], 4
jne 0x48b85f
push 0
push 4
lea eax, [ebp - 0x1c]
push eax
push 0xdd
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x48b89c
mov ecx, dword [ebp - 0x1c]
and ecx, 0x100
shl ecx, 0xb
jmp 0x48b88f
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48b89c
push 0
push 8
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0xf
push ecx
push 0x34
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov edi, edi
test eax, eax
js 0x48b89c
mov al, byte [ebp - 0xc]
and al, 1
movzx ecx, al
shl ecx, 0x13
mov eax, dword [ebx + 0x7c]
and eax, 0xfff7ffff
or ecx, eax
mov dword [ebx + 0x7c], ecx
cmp dword [0x62dbb0], 0x71
jb 0x48b8ee
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x48b8ee
test dword [ebx + 0x7c], 0x8000
je 0x48b8ee
cmp dword [0x635f50], 3
jl 0x48b8ee
push ecx
push 4
lea eax, [ebp - 0x1c]
mov edx, 0xd
push eax
call fcn.005242a0
test eax, eax
js 0x48b8ee
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + 0xe0]
push 0xa
push eax
push ecx
mov dword [ebx + 0x36c], ecx
call fcn.00582eea
add esp, 0xc
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x34]
adc eax, dword [esi + 0x2c]
or ecx, eax
jne 0x48b91a
mov edi, edi
cmp dword [esi + 4], ecx
jne 0x48b91a
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48b91a
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [ebx + 0x30], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret