Function at 0x180096550
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 0x1800966f9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x18023b310]
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.180098aa0
mov rcx, rax
lea rdx, [rbp - 0x49]
call fcn.180098b40
mov rdi, rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x180096619
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180096614
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009682a
call fcn.1801ccd64
movdqa xmm0, xmmword [0x18023b310]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], bx
test rdi, rdi
je 0x1800966f9
lea rdx, [0x180225498]
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, [0x1802254c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x180226520]
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 0x1800966f9
mov rdi, qword [rbp - 9]
test rdi, rdi
je 0x1800966f9
test rsi, rsi
je 0x1800966f9
cmp qword [rbp - 0x51], 0
je 0x1800966f9
test r12, r12
je 0x1800966f9
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 0x1800966f9
mov r8, r15
lea edx, [rax + 4]
mov rcx, qword [rbp - 0x21]
call rdi
test eax, eax
je 0x18009671b
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1800966f9
call rsi
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1801ccd40
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 0x180096818
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 0x1800966f2
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 0x1800966ee
mov ecx, 0x20a
call fcn.1801cd52c
mov rdi, rax
cmp dword [rbp - 0x19], 0
jbe 0x180096810
nop dword [rax]
mov r9d, 0x105
mov r8, rdi
mov edx, ebx
mov rcx, qword [rbp - 0x21]
call r12
test eax, eax
jne 0x180096802
mov dword [rsp + 0x20], 1
mov r9, r15
mov r8, rdi
mov rdx, qword [rbp - 0x21]
mov rcx, r14
call fcn.180096550
jmp 0x180096809
cmp eax, 0x103
je 0x180096810
inc ebx
cmp ebx, dword [rbp - 0x19]
jb 0x1800967d0
mov rcx, rdi
call fcn.1801ccd64
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180096823
call rsi
mov al, 1
jmp 0x1800966fb
call fcn.1801d1a7c
int3