Function at 0x180096540
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 [0x18028e088]
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 0x1800966e9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x18023af10]
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.1800089e0
nop
call fcn.180098a90
mov rcx, rax
lea rdx, [rbp - 0x49]
call fcn.180098b30
mov rdi, rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x180096609
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180096604
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009681a
call fcn.1801ccd54
movdqa xmm0, xmmword [0x18023af10]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], bx
test rdi, rdi
je 0x1800966e9
lea rdx, [0x180225180]
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, [0x1802250f0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x1802261b8]
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 0x1800966e9
mov rdi, qword [rbp - 9]
test rdi, rdi
je 0x1800966e9
test rsi, rsi
je 0x1800966e9
cmp qword [rbp - 0x51], 0
je 0x1800966e9
test r12, r12
je 0x1800966e9
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 0x1800966e9
mov r8, r15
lea edx, [rax + 4]
mov rcx, qword [rbp - 0x21]
call rdi
test eax, eax
je 0x18009670b
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1800966e9
call rsi
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1801ccd30
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 0x180096808
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 0x1800966e2
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 0x1800966de
mov ecx, 0x20a
call fcn.1801cd51c
mov rdi, rax
cmp dword [rbp - 0x19], 0
jbe 0x180096800
nop dword [rax]
mov r9d, 0x105
mov r8, rdi
mov edx, ebx
mov rcx, qword [rbp - 0x21]
call r12
test eax, eax
jne 0x1800967f2
mov dword [rsp + 0x20], 1
mov r9, r15
mov r8, rdi
mov rdx, qword [rbp - 0x21]
mov rcx, r14
call fcn.180096540
jmp 0x1800967f9
cmp eax, 0x103
je 0x180096800
inc ebx
cmp ebx, dword [rbp - 0x19]
jb 0x1800967c0
mov rcx, rdi
call fcn.1801ccd54
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180096813
call rsi
mov al, 1
jmp 0x1800966eb
call fcn.1801d1a6c
int3