Function at 0x14006cd10
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x40
mov eax, dword [0x140256958]
mov edi, ecx
cmp ecx, eax
jne 0x14006cd2a
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbx
xor ebx, ebx
cmp qword [0x140256960], rbx
jne 0x14006cd7e
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
mov dword [rsp + 0x28], 0x40000080
lea rcx, [0x1401fa098]
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [case.0x1401ba071.53]
mov rcx, qword [0x140256960]
cmp rax, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x140256960], rcx
mov dword [0x140256968], ebx
mov ecx, edi
mov byte [0x140256a90], bl
test edi, edi
je 0x14006d5c0
sub ecx, 1
je 0x14006d35d
sub ecx, 1
je 0x14006d11e
cmp ecx, 1
je 0x14006cdbb
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x40
pop rdi
ret
call fcn.14006d810
mov rbx, rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtClose
mov rcx, rax
call fcn.14006d930
mov qword [0x140256a00], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtCreateFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a08], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtOpenFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a10], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryDirectoryFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a18], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryInformationFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a20], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQuerySystemInformation
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a28], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtReadFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a30], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtSetInformationFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a38], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtWriteFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a40], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a88], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtCreateKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a48], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a50], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a58], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtEnumerateKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a60], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtEnumerateValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a68], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtOpenKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a70], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a78], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtSetValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256a80], rax
test rax, rax
je 0x14006d34d
cmp qword [0x140256960], 0
je 0x14006d34d
mov rbx, qword [rsp + 0x50]
lea rax, [0x14006b950]
mov qword [0x140256970], rax
lea rax, [0x14006ba20]
mov qword [0x140256978], rax
lea rax, [0x14006bba0]
mov qword [0x140256980], rax
lea rax, [0x14006bcc0]
mov qword [0x140256988], rax
lea rax, [0x14006be50]
mov qword [0x140256990], rax
lea rax, [0x14006bf60]
mov qword [0x140256998], rax
lea rax, [0x14006c050]
mov qword [0x1402569a0], rax
lea rax, [0x14006c1a0]
mov qword [0x1402569a8], rax
lea rax, [0x14006c2b0]
mov qword [0x1402569b0], rax
lea rax, [0x14006cc40]
mov qword [0x1402569f8], rax
lea rax, [0x14006c400]
mov qword [0x1402569b8], rax
lea rax, [0x14006c530]
mov qword [0x1402569c0], rax
lea rax, [0x14006c600]
mov qword [0x1402569c8], rax
lea rax, [0x14006c6e0]
mov qword [0x1402569d0], rax
lea rax, [0x14006c800]
mov qword [0x1402569d8], rax
lea rax, [0x14006c920]
mov qword [0x1402569e0], rax
lea rax, [0x14006ca00]
mov qword [0x1402569e8], rax
lea rax, [0x14006cb20]
mov qword [0x1402569f0], rax
xor eax, eax
mov byte [0x140256a90], 1
mov dword [0x140256958], edi
add rsp, 0x40
pop rdi
ret
call fcn.14006d810
mov rbx, rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtClose
mov rcx, rax
call fcn.14006d930
mov qword [0x140256970], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtCreateFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256978], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtOpenFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256980], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryDirectoryFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256988], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryInformationFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256990], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQuerySystemInformation
mov rcx, rbx
call fcn.14006d930
mov qword [0x140256998], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtReadFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569a0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtSetInformationFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569a8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtWriteFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569b0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteFile
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569f8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtCreateKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569b8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569c0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569c8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtEnumerateKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569d0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtEnumerateValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569d8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtOpenKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569e0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569e8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtSetValueKey
mov rcx, rbx
call fcn.14006d930
mov qword [0x1402569f0], rax
test rax, rax
jne 0x14006d5a6
mov rbx, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x40
pop rdi
ret
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140256970], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtCreateFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140256978], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtOpenFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140256980], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryDirectoryFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140256988], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryInformationFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140256990], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQuerySystemInformation
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140256998], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtReadFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569a0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtSetInformationFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569a8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtWriteFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569b0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569f8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtCreateKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569b8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569c0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtDeleteValueKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569c8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtEnumerateKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569d0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtEnumerateValueKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569d8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtOpenKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569e0], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtQueryValueKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569e8], rax
test rax, rax
je 0x14006d34d
lea rdx, str.NtSetValueKey
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402569f0], rax
test rax, rax
je 0x14006d34d
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov byte [0x140256a90], 1
mov dword [0x140256958], edi
add rsp, 0x40
pop rdi
ret
mov byte [0x140256a90], bl
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov dword [0x140256958], edi
add rsp, 0x40
pop rdi
ret