Function at 0x198c4
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1989a
xor esi, esi
call fcn.0001709c
test eax, eax
je 0x198f6
call fcn.00018c4c
test eax, eax
jne 0x198f9
mov eax, 0xc0000001
pop esi
leave
ret
xor esi, esi
inc esi
push 0x198a6
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea eax, [ebp - 0x14]
push eax
call fcn.000171a6
test eax, eax
mov dword [0x1a6dc], eax
je 0x198ee
push eax
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x198ee
call fcn.000178dc
test eax, eax
je 0x198ee
mov eax, dword [0x1a6dc]
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [0x1a6c8], ecx
je 0x198ee
mov eax, dword [eax]
test eax, eax
mov dword [0x1a6cc], eax
je 0x198ee
push ecx
call fcn.00018bee
test eax, eax
je 0x198ee
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a8ec]
mov dword [eax + ecx*4 + 0xfa8], 0x10f5e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a878]
mov dword [eax + ecx*4 + 0xfa8], 0x1109e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1aa98]
mov dword [eax + ecx*4 + 0xfa8], 0x111d4
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1aa9c]
mov dword [eax + ecx*4 + 0xfa8], 0x112de
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a848]
mov dword [eax + ecx*4 + 0xfa8], 0x113f0
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a8c8]
mov dword [eax + ecx*4 + 0xfa8], 0x11502
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a76c]
mov dword [eax + ecx*4 + 0xfa8], 0x1161e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7b8]
mov dword [eax + ecx*4 + 0xfa8], 0x1173a
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a86c]
mov dword [eax + ecx*4 + 0xfa8], 0x11870
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a910]
mov dword [eax + ecx*4 + 0xfa8], 0x119ce
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7b0]
mov dword [eax + ecx*4 + 0xfa8], 0x11b28
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a808]
mov dword [eax + ecx*4 + 0xfa8], 0x11c56
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1aa94]
mov dword [eax + ecx*4 + 0xfa8], 0x11d96
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a800]
mov dword [eax + ecx*4 + 0xfa8], 0x11ee0
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a82c]
mov dword [eax + ecx*4 + 0xfa8], 0x12032
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a880]
mov dword [eax + ecx*4 + 0xfa8], 0x12196
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a904]
mov dword [eax + ecx*4 + 0xfa8], 0x122e0
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a920]
mov dword [eax + ecx*4 + 0xfa8], 0x12404
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7e0]
mov dword [eax + ecx*4 + 0xfa8], 0x1250e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a91c]
mov dword [eax + ecx*4 + 0xfa8], 0x1263e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a834]
mov dword [eax + ecx*4 + 0xfa8], 0x12770
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a8f0]
mov dword [eax + ecx*4 + 0xfa8], 0x128a2
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a778]
mov dword [eax + ecx*4 + 0xfa8], 0x129b4
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7a0]
mov dword [eax + ecx*4 + 0xfa8], 0x12ae2
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a874]
mov dword [eax + ecx*4 + 0xfa8], 0x12bf4
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a780]
mov dword [eax + ecx*4 + 0xfa8], 0x12d18
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a890]
mov dword [eax + ecx*4 + 0xfa8], 0x12e46
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1aaac]
mov dword [eax + ecx*4 + 0xfa8], 0x12f7e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7f4]
mov dword [eax + ecx*4 + 0xfa8], 0x130b6
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a8d0]
mov dword [eax + ecx*4 + 0xfa8], 0x131d2
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a868]
mov dword [eax + ecx*4 + 0xfa8], 0x13312
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a8b0]
mov dword [eax + ecx*4 + 0xfa8], 0x1342e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7d8]
mov dword [eax + ecx*4 + 0xfa8], 0x13552
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a768]
mov dword [eax + ecx*4 + 0xfa8], 0x1366e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a830]
mov dword [eax + ecx*4 + 0xfa8], 0x1377e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a850]
mov dword [eax + ecx*4 + 0xfa8], 0x1388c
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7bc]
mov dword [eax + ecx*4 + 0xfa8], 0x1973e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a84c]
mov dword [eax + ecx*4 + 0xfa8], 0x139b0
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a90c]
mov dword [eax + ecx*4 + 0xfa8], 0x13ac2
mov ecx, dword [0x1a7a8]
mov edx, dword [0x1a8ac]
mov eax, 0xfff
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x13bf8
mov ecx, dword [0x1a898]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x13d38
mov ecx, dword [0x1a8f8]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x13e48
mov ecx, dword [0x1a8b4]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x13f72
mov ecx, dword [0x1a7ec]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x1408a
mov ecx, dword [0x1a798]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x1426c
mov ecx, dword [0x1a858]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x14392
mov ecx, dword [0x1a8a0]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x144c6
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a8dc]
mov dword [ecx + edx*4 + 0xfa8], 0x145ec
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a854]
mov dword [ecx + edx*4 + 0xfa8], 0x14710
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a864]
mov dword [ecx + edx*4 + 0xfa8], 0x1486a
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a770]
mov dword [ecx + edx*4 + 0xfa8], 0x14986
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a7e4]
mov dword [ecx + edx*4 + 0xfa8], 0x14ac6
mov ecx, dword [0x1a89c]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x14c06
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a7fc]
mov dword [ecx + edx*4 + 0xfa8], 0x10e4c
mov ecx, dword [0x1a7b4]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x14d16
mov ecx, dword [0x1a7dc]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x14e40
mov ecx, dword [0x1a908]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x14f4a
mov ecx, dword [0x1a8e4]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15062
mov ecx, dword [0x1aaa8]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x1519a
mov ecx, dword [0x1a75c]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x152ba
mov ecx, dword [0x1a7f8]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x153dc
mov ecx, dword [0x1a860]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15502
mov ecx, dword [0x1a8c0]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15624
mov ecx, dword [0x1a918]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15738
mov ecx, dword [0x1a7e8]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15878
mov ecx, dword [0x1a784]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15990
mov ecx, dword [0x1a8c4]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15aa4
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a88c]
mov dword [ecx + edx*4 + 0xfa8], 0x15bb8
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a8e0]
mov dword [ecx + edx*4 + 0xfa8], 0x15cc8
mov ecx, dword [0x1a758]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x15e16
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a7f0]
mov dword [ecx + edx*4 + 0xfa8], 0x15f2e
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a8a4]
mov dword [ecx + edx*4 + 0xfa8], 0x16074
mov ecx, dword [0x1aaa4]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x16184
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a83c]
mov dword [ecx + edx*4 + 0xfa8], 0x162ca
mov ecx, dword [0x1a8cc]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x163e2
mov ecx, dword [sym.imp.ntoskrnl.exe_NtBuildNumber]
cmp word [ecx], 0xa28
mov edx, dword [0x1a8ac]
mov ecx, dword [0x1a7ac]
jne 0x1a04a
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x164fa
jmp 0x1a057
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x165ca
mov ecx, dword [0x1a914]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x166a2
mov ecx, dword [0x1a7c0]
mov edx, dword [0x1a8ac]
and ecx, eax
mov dword [edx + ecx*4 + 0x2ef0], 0x167a8
mov ecx, dword [0x1a8ac]
mov edx, dword [0x1a8f4]
mov dword [ecx + edx*4 + 0xfa8], 0x168ae
mov ecx, dword [0x1a7d0]
and ecx, eax
mov eax, dword [0x1a8ac]
mov dword [eax + ecx*4 + 0x2ef0], 0x169e2
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a8e8]
mov dword [eax + ecx*4 + 0xfa8], 0x16c0a
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7d4]
mov dword [eax + ecx*4 + 0xfa8], 0x16af2
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1aaa0]
mov dword [eax + ecx*4 + 0xfa8], 0x16d2e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a74c]
mov dword [eax + ecx*4 + 0xfa8], 0x16e3e
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a838]
mov dword [eax + ecx*4 + 0xfa8], 0x16f68
call fcn.00018a10
test eax, eax
jge 0x1a140
push dword [0x1a8ac]
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
jmp 0x198ee
push 0
push 0x18ece
call sub.ntoskrnl.exe_PsSetCreateProcessNotifyRoutine
test esi, esi
je 0x1a168
mov eax, dword [0x1a8ac]
mov ecx, dword [0x1a7bc]
mov dword [eax + ecx*4 + 0x3e94], 1
jmp 0x1a1ab
call fcn.0001909e
test eax, eax
je 0x1a1ab
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jl 0x1a1ab
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00018fca
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov ecx, dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x198f3