Function at 0x18001c5a0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [0x180146040]
lea rbp, [0x180146040]
cmp rcx, rbp
je 0x18001c5eb
test byte [rcx + 0x1c], 1
je 0x18001c5eb
cmp byte [rcx + 0x19], 5
jb 0x18001c5eb
mov rcx, qword [rcx + 0x10]
lea r8, [0x180132248]
mov edx, 0x1c
call fcn.180011520
mov rcx, qword [rbx]
lea rdx, str.BdhkmRegisterClient2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword ds:[rbx + 0x18], rax
test rax, rax
jne 0x18001c69e
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c632
test byte [rcx + 0x1c], 1
je 0x18001c632
cmp byte ds:[rcx + 0x19], 3
jb 0x18001c632
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmRegisterClient2
call fcn.18001c040
mov rcx, qword ds:[rbx]
lea rdx, str.BdhkmRegisterClient
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x18001c67d
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c678
test byte ds:[rcx + 0x1c], 1
je 0x18001c678
cmp byte [rcx + 0x19], 3
jb 0x18001c678
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmRegisterClient
call fcn.18001c040
xor dil, dil
jmp 0x18001c6ce
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c6cb
test byte [rcx + 0x1c], 1
je 0x18001c6cb
cmp byte [rcx + 0x19], 5
jb 0x18001c6cb
lea r9, str.BdhkmRegisterClient
jmp 0x18001c6bd
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c6cb
test byte [rcx + 0x1c], 1
je 0x18001c6cb
cmp byte [rcx + 0x19], 5
jb 0x18001c6cb
lea r9, str.BdhkmRegisterClient2
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.18001c0b0
mov dil, 1
lea r8, ds:[rbx + 0x20]
mov rcx, rbx
lea rdx, str.BdhkmUnregisterClient
call fcn.18001c940
lea r8, [rbx + 0x28]
mov rcx, rbx
lea rdx, str.BdhkmBeginHooking
and dil, al
call fcn.18001c940
lea r8, [rbx + 0x30]
mov rcx, rbx
lea rdx, str.BdhkmEndHooking
and dil, al
call fcn.18001c940
mov rcx, qword ds:[rbx]
lea rdx, str.BdhkmInstallInlineHook
and dil, al
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x18001c75d
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c758
test byte ds:[rcx + 0x1c], 1
je 0x18001c758
cmp byte [rcx + 0x19], 3
jb 0x18001c758
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmInstallInlineHook
call fcn.18001c040
xor sil, sil
jmp 0x18001c78d
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c78a
test byte [rcx + 0x1c], 1
je 0x18001c78a
cmp byte [rcx + 0x19], 5
jb 0x18001c78a
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmInstallInlineHook
mov qword [rsp + 0x20], rax
call fcn.18001c0b0
mov sil, 1
lea r8, ds:[rbx + 0x40]
mov rcx, rbx
lea rdx, str.BdhkmRemoveInlineHook
call fcn.18001c9e0
and al, sil
lea r8, [rbx + 0x48]
lea rdx, str.BdhkmSuspendInlineHook
mov rcx, rbx
and dil, al
call fcn.18001c9e0
lea r8, [rbx + 0x50]
mov rcx, rbx
lea rdx, str.BdhkmResumeInlineHook
and dil, al
call fcn.18001c9e0
mov rcx, qword [rbx]
lea rdx, str.BdhkmInstallPointerHook
movzx esi, al
and sil, dil
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
test rax, rax
jne 0x18001c822
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c81b
test byte [rcx + 0x1c], 1
je 0x18001c81b
cmp byte [rcx + 0x19], 3
jb 0x18001c81b
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmInstallPointerHook
call fcn.18001c040
xor sil, sil
jmp 0x18001c84f
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c84f
test byte [rcx + 0x1c], 1
je 0x18001c84f
cmp byte [rcx + 0x19], 5
jb 0x18001c84f
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmInstallPointerHook
mov qword [rsp + 0x20], rax
call fcn.18001c0b0
mov rcx, qword [rbx]
lea rdx, str.BdhkmQueryRegion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x18001c89d
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c899
test byte [rcx + 0x1c], 1
je 0x18001c899
cmp byte ds:[rcx + 0x19], 3
jb 0x18001c899
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmQueryRegion
call fcn.18001c040
mov rcx, qword [0x180146040]
xor al, al
jmp 0x18001c8d3
mov rcx, qword [0x180146040]
cmp rcx, rbp
je 0x18001c8d1
test byte [rcx + 0x1c], 1
je 0x18001c8d1
cmp byte [rcx + 0x19], 5
jb 0x18001c8d1
mov rcx, qword [rcx + 0x10]
lea r9, str.BdhkmQueryRegion
mov qword [rsp + 0x20], rax
call fcn.18001c0b0
mov rcx, qword [0x180146040]
mov al, 1
test al, sil
jne 0x18001c905
cmp rcx, rbp
je 0x18001c8fe
test byte [rcx + 0x1c], 1
je 0x18001c8fe
cmp byte [rcx + 0x19], 1
jb 0x18001c8fe
mov rcx, qword [rcx + 0x10]
lea r8, [0x180132248]
mov edx, 0x1d
call fcn.180011520
mov eax, 0xe8040052
jmp 0x18001c907
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret