Function at 0x1e9e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor eax, eax
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
push str.RtlGetVersion
lea eax, [ebp - 8]
push eax
call esi
mov edi, dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea ecx, [ebp - 8]
push ecx
call edi
mov ebx, eax
test ebx, ebx
je 0x1ea65
push 0x11c
lea edx, [ebp - 0x134]
push 0
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x134], 0x11c
call ebx
test eax, eax
jne 0x1ea65
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
mov ebx, dword [ebp - 0x128]
mov dword [ebp - 0x18], ecx
movzx ecx, word [ebp - 0x20]
mov dword [ebp - 0xc], edx
jmp 0x1ea6a
mov ecx, dword [ebp - 0x14]
mov ebx, ecx
mov eax, dword [ebp - 0x18]
xor edx, edx
sub eax, 5
mov dword [0x22518], edx
je 0x1ee32
sub eax, 1
je 0x1eb3d
sub eax, 4
jne case.default.0x1efe8
push str.PsReferenceProcessFilePointer
lea eax, [ebp - 8]
push eax
call esi
lea ecx, [ebp - 8]
push ecx
call edi
cmp dword [ebp - 0xc], 0
mov dword [0x224e4], eax
jne case.default.0x1efe8
push str.ObQueryNameInfo
lea edx, [ebp - 8]
push edx
call esi
lea eax, [ebp - 8]
push eax
call edi
push str.ObGetObjectType
lea ecx, [ebp - 8]
push ecx
mov dword [0x224dc], eax
call esi
lea edx, [ebp - 8]
push edx
call edi
pop edi
pop esi
mov dword [0x224e0], eax
mov dword [0x224f8], 0x70
mov dword [0x224fc], 0x90
mov dword [0x22500], 0x284
mov dword [0x22508], 0
mov dword [0x2250c], 4
mov dword [0x22504], 0xc
mov dword [0x22510], 0x2c
mov dword [0x22514], 0x20
mov dword [0x22518], 0x11
pop ebx
mov esp, ebp
pop ebp
ret
push str.PsReferenceProcessFilePointer
lea eax, [ebp - 8]
push eax
call esi
lea ecx, [ebp - 8]
push ecx
call edi
mov dword [0x224e4], eax
mov eax, dword [ebp - 0xc]
cmp eax, 3
ja case.default.0x1efe8
jmp dword [eax*4 + 0x1f0b8]
sub ebx, 0x1770
mov eax, 0x24
mov dword [0x224e8], 0x187
mov dword [0x224ec], 0x1a2
mov dword [0x224f0], 0x1f8
mov dword [0x224f4], 0x142
mov dword [0x224f8], 0x38
mov dword [0x224fc], 0x5c
mov dword [0x22500], 0x238
mov dword [0x22508], 4
mov dword [0x2250c], 8
mov dword [0x22504], 0xc
mov dword [0x22510], eax
mov dword [0x22514], eax
je 0x1ec11
sub ebx, 1
je 0x1ec00
sub ebx, 1
jne case.default.0x1efe8
pop edi
pop esi
mov dword [0x22518], 0xb
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x22518], 0xa
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x22518], 9
pop ebx
mov esp, ebp
pop ebp
ret
push str.ObQueryNameInfo
lea edx, [ebp - 8]
push edx
mov dword [0x224e8], 0x18c
mov dword [0x224ec], 0x1a7
mov dword [0x224f0], 0x203
mov dword [0x224f4], 0x143
call esi
lea eax, [ebp - 8]
push eax
call edi
push str.ObGetObjectType
lea ecx, [ebp - 8]
push ecx
mov dword [0x224dc], eax
call esi
lea edx, [ebp - 8]
push edx
call edi
mov dword [0x224e0], eax
mov eax, 0x24
mov ecx, 0xc
mov dword [0x224f8], 0x40
mov dword [0x224fc], 0x68
mov dword [0x22500], 0x278
mov dword [0x22508], 4
mov dword [0x2250c], 8
mov dword [0x22504], ecx
mov dword [0x22510], eax
mov dword [0x22514], eax
cmp ebx, 0x1db0
ja 0x1ecfb
je 0x1ecdd
sub ebx, 0x1b58
je 0x1ecee
sub ebx, 0x64
jne case.default.0x1efe8
pop edi
pop esi
mov dword [0x22518], 0xd
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x22518], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x1db1
jne case.default.0x1efe8
pop edi
pop esi
mov dword [0x22518], 0xe
pop ebx
mov esp, ebp
pop ebp
ret
push str.ObQueryNameInfo
lea eax, [ebp - 8]
push eax
call esi
lea ecx, [ebp - 8]
push ecx
call edi
push str.ObGetObjectType
lea edx, [ebp - 8]
push edx
mov dword [0x224dc], eax
call esi
lea eax, [ebp - 8]
push eax
call edi
pop edi
pop esi
mov dword [0x224e0], eax
mov dword [0x224f8], 0x70
mov dword [0x224fc], 0x90
mov dword [0x22500], 0x274
mov dword [0x22508], 4
mov dword [0x2250c], 8
mov dword [0x22504], 0xc
mov dword [0x22510], 0x2c
mov dword [0x22518], 0xf
mov dword [0x22514], 0x24
pop ebx
mov esp, ebp
pop ebp
ret
push str.ObQueryNameInfo
lea ecx, [ebp - 8]
push ecx
call esi
lea edx, [ebp - 8]
push edx
call edi
mov dword [0x224dc], eax
push str.ObGetObjectType
lea eax, [ebp - 8]
push eax
call esi
lea ecx, [ebp - 8]
push ecx
call edi
pop edi
pop esi
mov dword [0x224e0], eax
mov dword [0x224f8], 0x70
mov dword [0x224fc], 0x90
mov dword [0x22500], 0x274
mov dword [0x22508], 0
mov dword [0x2250c], 4
mov dword [0x22504], 0xc
mov dword [0x22510], 0x2c
mov dword [0x22514], 0x20
mov dword [0x22518], 0x10
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
sub eax, edx
je 0x1f033
sub eax, 1
je 0x1ef6b
sub eax, 1
jne case.default.0x1efe8
mov eax, ecx
sub eax, edx
mov dword [0x224e8], 0x179
mov dword [0x224ec], 0x193
mov dword [0x224f0], 0x1e1
mov dword [0x224f4], 0x137
je 0x1ef20
sub eax, 1
je 0x1eed5
sub eax, 1
jne case.default.0x1efe8
mov eax, 8
mov dword [0x22518], eax
mov dword [0x224f8], 0x28
mov dword [0x224fc], 0x4c
mov dword [0x22500], 0x250
mov dword [0x22508], 4
mov dword [0x2250c], eax
mov dword [0x22504], 0xc
jmp 0x1f09d
mov dword [0x22518], 7
mov dword [0x224f8], 0x28
mov dword [0x224fc], 0x4c
mov dword [0x22500], 0x250
mov dword [0x22508], 4
mov dword [0x2250c], 8
mov dword [0x22504], 0xc
jmp 0x1f09d
mov dword [0x22518], 6
mov dword [0x224f8], 0x28
mov dword [0x224fc], 0x4c
mov dword [0x22500], 0x258
mov dword [0x22508], 4
mov dword [0x2250c], 8
mov dword [0x22504], 0xc
jmp 0x1f09d
mov dword [0x224e8], 0x17a
mov dword [0x224ec], 0x194
mov dword [0x224f0], 0x1e3
mov dword [0x224f4], 0x138
mov dword [0x224f8], 0x34
mov dword [0x224fc], 0x2d
mov dword [0x22500], 0x11c
mov dword [0x22508], 0xc
mov dword [0x2250c], 0x10
mov dword [0x22504], edx
mov dword [0x22510], 0x18
mov dword [0x22514], 0x24
cmp ecx, 4
ja case.default.0x1efe8
jmp dword [ecx*4 + 0x1f0c8]
pop edi
pop esi
mov dword [0x22518], 2
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x22518], 3
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x22518], 4
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [0x22518], 5
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x22518], 1
mov dword [0x224e8], 0x170
mov dword [0x224ec], 0x189
mov dword [0x224f0], 0x1d2
mov dword [0x224f4], 0x12e
mov dword [0x224f8], 0x34
mov dword [0x224fc], 0x2d
mov dword [0x22500], 0x194
mov dword [0x22508], 0xc
mov dword [0x2250c], 0x10
mov dword [0x22504], edx
mov dword [0x22510], 0x18
mov dword [0x22514], 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret