Function at 0x180009380
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x18002f010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r8
mov rbx, rdx
xor r13d, r13d
mov dword [rbp - 0x59], r13d
mov dword [rbp - 0x55], 7
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov rdx, qword [r8 + 8]
mov rcx, qword [r8]
call fcn.18000a4f0
mov rax, qword [rsi]
mov qword [rsi + 8], rax
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
lea r8d, [r13 + 0x2d]
lea rdx, str.SystemCurrentControlSetServiceskernelquick
lea rcx, [rbp - 0x29]
call fcn.180009af0
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x51]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea r15, [r13 - 1]
test eax, eax
je 0x180009481
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000965f
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x55]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000965f
cmp dword [rbp - 0x55], 7
jne 0x18000965f
mov eax, dword [rbp - 0x59]
test eax, eax
je 0x18000965f
lea rcx, [rax + 2]
call fcn.18000bff8
mov rdi, rax
mov qword [rbp - 0x39], rax
mov ecx, 0x18
call fcn.18000bfbc
mov r12, rax
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_unsigned_char_.0
mov qword [r12], rax
mov qword [r12 + 0x10], rdi
mov edx, 1
xor ecx, ecx
call fcn.18000bf88
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], r12
mov r8d, dword [rbp - 0x59]
add r8, 2
xor edx, edx
mov rcx, rdi
call fcn.18000dc30
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x55]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180009663
mov edx, dword [rbp - 0x59]
cmp edx, 1
jbe 0x18000965a
mov r14d, r13d
mov ecx, edx
shr ecx, 1
mov ebx, r13d
je 0x180009588
mov rax, rdi
cmp word [rax], r14w
je 0x180009582
inc ebx
add rax, 2
cmp ebx, ecx
jb 0x180009570
jmp 0x180009588
mov r14d, 1
test ebx, ebx
je 0x180009645
mov qword [rbp - 9], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 7
mov word [rbp - 9], r13w
mov r8, r15
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1800095b0
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.180009af0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1800095f6
movups xmm0, xmmword [rbp - 9]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rdx + 0x10], xmm1
mov eax, 7
mov qword [rbp + 0xf], rax
mov word [rbp - 9], r13w
add qword [rsi + 8], 0x20
jmp 0x180009606
lea r8, [rbp - 9]
mov rcx, rsi
call fcn.180009ce0
mov rax, qword [rbp + 0xf]
cmp rax, 8
jb 0x180009642
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000963d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000971a
call fcn.18000bf88
mov edx, dword [rbp - 0x59]
lea ecx, [rbx + r14]
imul eax, ecx, 0xfffffffe
add edx, eax
mov dword [rbp - 0x59], edx
lea rdi, [rdi + rcx*2]
jmp 0x180009558
mov dil, 1
jmp 0x180009666
mov r12, qword [rbp - 0x41]
xor dil, dil
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1800096a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000969d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009714
call fcn.18000bf88
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
test r12, r12
je 0x1800096e9
mov eax, r15d
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x1800096e9
mov rbx, qword [rbp - 0x41]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x1800096e9
mov rcx, qword [rbp - 0x41]
mov rdx, qword [rcx]
call qword [rdx + htons]
movzx eax, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18000b980
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800107a0
nop
call fcn.1800107a0
int3