Function at 0x18010c380
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x850
mov rax, qword [0x180157688]
mov qword [rsp + 0x848], rax
mov dword [rsp + 0x840], 0
mov word [rsp + 0x40], 0
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
cmp qword [rsp + 0x868], 0
jne 0x18010c3d4
jmp 0x18010c695
lea rax, str.AhnCtlKD.dll
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x868]
lea r8, [0x180136990]
mov edx, 0x400
lea rcx, [rsp + 0x40]
call fcn.180003110
mov dword [rsp + 0x840], eax
cmp dword [rsp + 0x840], 0
je 0x18010c414
jmp 0x18010c695
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x860]
mov qword [rcx], rax
mov rax, qword [rsp + 0x860]
cmp qword [rax], 0
je 0x18010c605
lea rdx, str.AhnCtlKd_RegDeleteAllSubKey
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 8], rax
lea rdx, str.AhnCtlKd_RegisterLegacyDriverEx
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x10], rax
lea rdx, str.AhnCtlKd_RegisterLegacyDriver
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x18], rax
lea rdx, str.AhnCtlKd_UnRegisterLegacyDriver
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x20], rax
lea rdx, str.AhnCtlKd_StartLegacyDriver
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x28], rax
lea rdx, str.AhnCtlKd_StopLegacyDriver
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x30], rax
lea rdx, str.AhnCtlKd_PauseLegacyDriver
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x38], rax
lea rdx, str.AhnCtlKd_ResumeLegacyDriver
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x40], rax
lea rdx, str.AhnCtlKd_QueryLegacyDriverStatus
mov rax, qword [rsp + 0x860]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x860]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x860]
cmp qword [rax + 8], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
cmp qword [rax + 0x10], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
cmp qword [rax + 0x18], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
cmp qword [rax + 0x20], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
cmp qword [rax + 0x28], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
cmp qword [rax + 0x30], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
cmp qword [rax + 0x38], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
cmp qword [rax + 0x40], 0
je 0x18010c600
mov rax, qword [rsp + 0x860]
jmp 0x18010c695
mov rax, qword [rsp + 0x860]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x860]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x860]
mov rcx, qword [rsp + 0x848]
call fcn.180124250
add rsp, 0x850
pop rdi
ret