Function at 0x140039260
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9e0]
sub rsp, 0xae0
mov rax, qword [0x1400f0158]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov r14d, r12d
mov qword [rbp - 0x78], r12
mov eax, dword [rsp + 0x60]
mov rdi, qword [rbp - 0x80]
test eax, eax
je 0x140039586
mov esi, r12d
lea r13d, [r12 + 1]
nop word [rax + rax]
mov dword [rsp + 0x68], 0xff
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x30]
mov edx, esi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14003957a
xor bl, bl
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
lea r8d, [rax + 0x42]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkListProfiles_
lea rcx, [rbp - 0x58]
call fcn.140003fa0
nop
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140039390
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.140016340
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rax, [rsp + 0x70]
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 0x140039477
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.Description
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003946b
cmp dword [rsp + 0x6c], 1
jne 0x14003946b
cmp dword [rsp + 0x64], 0x400
jae 0x14003946b
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Description
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003946b
lea rdx, str.Windscribe
lea rcx, [rbp + 0x1d0]
call fcn.140079d70
movzx ebx, bl
test rax, rax
cmovne ebx, r13d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400394b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400394b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039689
call fcn.140071a3c
test bl, bl
je 0x14003957a
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400394e0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.140003fa0
nop
cmp rdi, r14
je 0x140039521
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rbp - 0x58], r12w
add rdi, 0x20
mov qword [rbp - 0x80], rdi
jmp 0x14003953e
lea r8, [rbp - 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140010860
mov r14, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14003957a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039575
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003967d
call fcn.140071a3c
inc esi
cmp esi, dword [rsp + 0x60]
jb 0x140039320
mov rsi, qword [rsp + 0x78]
mov rbx, rsi
cmp rsi, rdi
je 0x1400395b1
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400395a0
mov rdx, qword [rbx]
mov rcx, r15
call fcn.140039690
add rbx, 0x20
cmp rbx, rdi
jne 0x140039593
test rsi, rsi
je 0x14003964d
mov rbx, rsi
cmp rsi, rdi
je 0x14003961a
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140039601
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400395fc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039683
mov rcx, r8
call fcn.140071a3c
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
add rbx, 0x20
cmp rbx, rdi
jne 0x1400395c2
sub r14, rsi
and r14, 0xffffffffffffffe0
mov rax, rsi
cmp r14, 0x1000
jb 0x140039642
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039683
mov rdx, r14
mov rcx, rsi
call fcn.140071a3c
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.140071b40
lea r11, [rsp + 0xae0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140085c7c
nop
call fcn.140085c7c
nop
call fcn.140085c7c
int3