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 r12
sub rsp, 0xa0
xor ebp, ebp
mov rsi, rdx
mov rdi, rcx
lea rax, [0x00015148]
lea rdx, [0x0001a6c0]
lea rcx, [rsp + 0x30]
mov qword [0x000170c0], rbp
mov qword [0x000170d0], rbp
mov qword [0x000170e0], rbp
mov qword [0x000170c8], rax
mov byte [0x000170e8], 1
mov byte [0x000170e9], bpl
mov word [0x000170ea], bp
mov dword [0x000170ec], 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, [0x0001a6e0]
lea rcx, [rsp + 0x30]
mov qword [0x000170a8], rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x00017090], rax
cmp rax, rbp
jne 0x1b0d1
lea rax, [0x000111ac]
mov qword [0x00017090], rax
lea eax, [rbp + 1]
mov dword [0x000170b0], eax
jmp 0x1b18c
lea rdx, [0x0001a700]
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 [0x000170a8]
mov qword [0x00017088], rax
mov eax, 2
mov dword [0x000170b0], eax
cmp r10, rbp
je 0x1b125
lea rcx, [rsp + 0xd0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call r10
mov eax, dword [0x000170b0]
cmp dword [rsp + 0xd0], 6
jb 0x1b18c
lea rdx, [0x0001a740]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x000170a0], rax
cmp rax, rbp
je 0x1b186
lea rdx, [0x0001a780]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x00017098], rax
mov eax, 4
jmp 0x1b0c6
mov eax, dword [0x000170b0]
mov rcx, qword [0x00016190]
lea rbx, [0x000170c0]
mov qword [0x000170e0], rbp
cmp rcx, rbx
je 0x1b21c
mov qword [0x00016190], rbx
cmp eax, 4
jne 0x1b1df
mov rcx, qword [rbx + 8]
lea rax, [rbx + 0x38]
lea r8, [0x00011304]
mov r9, rbx
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rax], rbp
call qword [0x000170a0]
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 [0x000170c0], r8
call qword [sym.imp.ntoskrnl.exe_IoWMIRegistrationControl]
jmp 0x1b215
mov rcx, qword [0x00016e68]
mov r9, rbx
mov rdx, rdi
call qword [0x000165a8]
mov rcx, qword [0x00016190]
lea r12, [0x00016190]
cmp rcx, r12
je 0x1b289
test byte [rcx + 0x2c], 1
je 0x1b250
cmp byte [rcx + 0x29], 4
jb 0x1b250
mov rcx, qword [rcx + 0x18]
lea r8, [0x000151a8]
mov edx, 0xa
call fcn.00011008
mov rcx, qword [0x00016190]
cmp rcx, r12
je 0x1b289
test byte [rcx + 0x2c], 1
je 0x1b289
cmp byte [rcx + 0x29], 4
jb 0x1b289
mov rcx, qword [rcx + 0x18]
lea rax, [0x0001b3c0]
lea r9, [0x0001b3d0]
lea r8, [0x000151a8]
mov edx, 0xb
mov qword [rsp + 0x20], rax
call fcn.00011134
mov ebx, 0x20
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, rbx
call fcn.00014080
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.00014080
mov rcx, qword [0x00016e68]
lea eax, [rbx - 0x37]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], eax
lea rax, [0x00019bb8]
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 qword [rsp + 0x20], rax
mov dword [rsp + 0x60], ebx
call qword [0x00016580]
cmp eax, ebp
mov ebx, eax
jge 0x1b341
mov rcx, qword [0x00016190]
cmp rcx, r12
je 0x1b339
test byte [rcx + 0x2c], 2
je 0x1b339
cmp byte [rcx + 0x29], 2
jb 0x1b339
mov rcx, qword [rcx + 0x18]
lea r8, [0x000151a8]
mov edx, 0xc
mov r9d, eax
call fcn.00011098
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 r12
pop rdi
pop rsi
ret