Function at 0x180096280
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 [0x180201020]
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 0x180096429
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x1801a9390]
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.180003950
nop
call fcn.180098ae0
mov rcx, rax
lea rdx, [rbp - 0x49]
call fcn.180098b80
mov rdi, rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x180096349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180096344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009655a
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], bx
test rdi, rdi
je 0x180096429
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 0x180096429
mov rdi, qword [rbp - 9]
test rdi, rdi
je 0x180096429
test rsi, rsi
je 0x180096429
cmp qword [rbp - 0x51], 0
je 0x180096429
test r12, r12
je 0x180096429
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 0x180096429
mov r8, r15
lea edx, [rax + 4]
mov rcx, qword [rbp - 0x21]
call rdi
test eax, eax
je 0x18009644b
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180096429
call rsi
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180116780
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 0x180096548
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 0x180096422
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 0x18009641e
mov ecx, 0x20a
call fcn.180116bf8
mov rdi, rax
cmp dword [rbp - 0x19], 0
jbe 0x180096540
nop dword [rax]
mov r9d, 0x105
mov r8, rdi
mov edx, ebx
mov rcx, qword [rbp - 0x21]
call r12
test eax, eax
jne 0x180096532
mov dword [rsp + 0x20], 1
mov r9, r15
mov r8, rdi
mov rdx, qword [rbp - 0x21]
mov rcx, r14
call fcn.180096280
jmp 0x180096539
cmp eax, 0x103
je 0x180096540
inc ebx
cmp ebx, dword [rbp - 0x19]
jb 0x180096500
mov rcx, rdi
call fcn.180116bc4
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180096553
call rsi
mov al, 1
jmp 0x18009642b
call fcn.18013ed94
int3