Function at 0x180099c00
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xd8
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov rax, qword [0x18020d020]
xor rax, rsp
mov qword [rbp - 1], rax
mov r15, r9
mov r13, r8
mov qword [rbp - 0x61], rdx
mov r14, rcx
test r8, r8
je 0x180099da9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x1801b2820]
movdqu xmmword [rbp - 0x39], xmm1
xor ebx, ebx
mov word [rbp - 0x49], bx
lea r8d, [rbx + 0xc]
lea rdx, str.Advapi32.dll
lea rcx, [rbp - 0x49]
call fcn.180003960
nop
call fcn.18009c460
mov rcx, rax
lea rdx, [rbp - 0x49]
call fcn.18009c500
mov rdi, rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x180099cc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180099cc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180099eda
call fcn.18011e904
movdqa xmm0, xmmword [0x1801b2820]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], bx
test rdi, rdi
je 0x180099da9
lea rdx, str.RegOpenKeyExW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x59], rax
lea rdx, str.RegSetKeySecurity
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 9], rax
lea rdx, str.RegCloseKey
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.RegQueryInfoKeyW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x51], rax
lea rdx, str.RegEnumKeyW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov rax, qword [rbp - 0x59]
test rax, rax
je 0x180099da9
mov rdi, qword [rbp - 9]
test rdi, rdi
je 0x180099da9
test rsi, rsi
je 0x180099da9
cmp qword [rbp - 0x51], 0
je 0x180099da9
test r12, r12
je 0x180099da9
mov qword [rbp - 0x21], rbx
mov r9d, dword [r14 + 0x30]
bts r9d, 0x12
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rbp - 0x61]
call rax
test eax, eax
jne 0x180099da9
mov r8, r15
lea edx, [rax + 4]
mov rcx, qword [rbp - 0x21]
call rdi
test eax, eax
je 0x180099dcb
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180099da9
call rsi
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18011e4c0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rbp + 0x7f], 0
je 0x180099ec8
mov rcx, qword [rbp - 0x21]
call rsi
mov qword [rbp - 0x21], rbx
mov r9d, dword [r14 + 0x30]
or r9d, 0x20019
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x59]
call rax
mov rcx, qword [rbp - 0x21]
test eax, eax
jne 0x180099da2
mov dword [rbp - 0x19], ebx
mov dword [rbp - 9], ebx
mov dword [rbp - 0xd], ebx
mov dword [rbp - 0x11], ebx
mov dword [rbp - 0x15], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
lea rax, [rbp - 0x15]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0xd]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rbp - 0x51]
test eax, eax
jne 0x180099d9e
mov ecx, 0x20a
call fcn.18011e958
mov rdi, rax
cmp dword [rbp - 0x19], 0
jbe 0x180099ec0
nop dword [rax]
mov r9d, 0x105
mov r8, rdi
mov edx, ebx
mov rcx, qword [rbp - 0x21]
call r12
test eax, eax
jne 0x180099eb2
mov dword [rsp + 0x20], 1
mov r9, r15
mov r8, rdi
mov rdx, qword [rbp - 0x21]
mov rcx, r14
call fcn.180099c00
jmp 0x180099eb9
cmp eax, 0x103
je 0x180099ec0
inc ebx
cmp ebx, dword [rbp - 0x19]
jb 0x180099e80
mov rcx, rdi
call fcn.18011e904
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180099ed3
call rsi
mov al, 1
jmp 0x180099dab
call fcn.180146ad4
int3