Function at 0x1b008
Capabilities:
Link many functions at runtime

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r13
sub rsp, 0xa0
xor ebp, ebp
mov rsi, rdx
mov rdi, rcx
lea rax, [0x00015130]
lea rdx, [0x0001a560]
lea rcx, [rsp + 0x30]
mov qword [0x000170a0], rbp
mov qword [0x000170b0], rbp
mov qword [0x000170c0], rbp
mov qword [0x000170a8], rax
mov byte [0x000170c8], 1
mov byte [0x000170c9], bpl
mov word [0x000170ca], bp
mov dword [0x000170cc], ebp
mov dword [r11 + 0x18], ebp
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rdx, [0x0001a580]
lea rcx, [rsp + 0x30]
mov qword [0x00017088], rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x00017070], rax
cmp rax, rbp
jne 0x1b0d1
lea rax, [0x00011260]
mov qword [0x00017070], rax
lea eax, [rbp + 1]
mov dword [0x00017090], eax
jmp 0x1b18c
lea rdx, [0x0001a5a0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov r10, qword [0x00017088]
mov qword [0x00017068], rax
mov eax, 2
mov dword [0x00017090], eax
cmp r10, rbp
je 0x1b125
lea rcx, [rsp + 0xd0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call r10
mov eax, dword [0x00017090]
cmp dword [rsp + 0xd0], 6
jb 0x1b18c
lea rdx, [0x0001a5e0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x00017080], rax
cmp rax, rbp
je 0x1b186
lea rdx, [0x0001a620]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x00017078], rax
mov eax, 4
jmp 0x1b0c6
mov eax, dword [0x00017090]
mov rcx, qword [0x00016168]
lea rbx, [0x000170a0]
mov qword [0x000170c0], rbp
cmp rcx, rbx
je 0x1b21c
mov qword [0x00016168], rbx
cmp eax, 4
jne 0x1b1df
mov rcx, qword [rbx + 8]
lea rax, [rbx + 0x38]
lea r8, [0x000113b8]
mov r9, rbx
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rax], rbp
call qword [0x00017080]
mov rbx, qword [rbx + 0x10]
cmp rbx, rbp
jne 0x1b1b2
jmp 0x1b215
lea r8, [0x00019008]
cmp eax, 2
jne 0x1b202
mov edx, 0x80010001
mov rcx, rbx
mov qword [0x000170a0], r8
call qword [sym.imp.ntoskrnl.exe_IoWMIRegistrationControl]
jmp 0x1b215
mov rcx, qword [0x00016e48]
mov r9, rbx
mov rdx, rdi
call qword [0x00016588]
mov rcx, qword [0x00016168]
lea r13, [0x00016168]
cmp rcx, r13
je 0x1b249
test byte [rcx + 0x2c], 1
je 0x1b249
cmp byte [rcx + 0x29], 4
jb 0x1b249
mov rcx, qword [rcx + 0x18]
lea r8, [0x00015190]
mov edx, 0xa
call fcn.00011008
mov ebx, 0x20
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, rbx
call fcn.000140c0
lea rax, [0x00019324]
mov dword [rsp + 0x40], ebx
mov ebx, 0x38
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8, rbx
mov qword [rsp + 0x48], rax
call fcn.000140c0
mov rcx, qword [0x00016e48]
lea rax, [0x00019cf8]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x60]
mov r8, rsi
mov rdx, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x7c], 1
mov qword [rsp + 0x20], rax
call qword [0x00016560]
cmp eax, ebp
mov ebx, eax
jge 0x1b306
mov rcx, qword [0x00016168]
cmp rcx, r13
je 0x1b2fe
test byte [rcx + 0x2c], 2
je 0x1b2fe
cmp byte [rcx + 0x29], 2
jb 0x1b2fe
mov rcx, qword [rcx + 0x18]
lea r8, [0x00015190]
mov edx, 0xb
mov r9d, eax
call fcn.0001111c
mov rcx, rdi
call fcn.000192b4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret