Function at 0x140014770
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14005a458]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r15, rcx
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r14, qword [0x14005a0b8]
lea rbx, [0x14005a0a8]
cmp qword [0x14005a0c0], 8
cmovae rbx, qword [0x14005a0a8]
cmp r14, 8
jae 0x1400147e5
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
lea esi, [r12 + 7]
jmp 0x140014823
mov rsi, r14
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.14000c990
mov qword [rsp + 0x40], rax
lea r8, [r14*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.140023d80
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r14
mov rax, rsi
sub rax, r14
cmp rax, 0xb
jb 0x14001486e
lea rdi, [r14 + 0xb]
mov qword [rsp + 0x50], rdi
lea rbx, [rsp + 0x40]
cmp rsi, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + r14*2]
mov r8d, 0x16
lea rdx, str.WebResource
call fcn.140023d80
mov word [rbx + rdi*2], r12w
jmp 0x14001488f
mov qword [rsp + 0x20], 0xb
lea r9, str.WebResource
xor r8d, r8d
lea edx, [r8 + 0xb]
lea rcx, [rsp + 0x40]
call fcn.14000ec90
mov dword [rsp + 0x38], 0xffffffff
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140024430
mov dword [rsp + 0x3c], 4
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400149e4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.irandom
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, 0xffffffff
mov ecx, ebx
test eax, eax
cmove ecx, dword [rsp + 0x38]
mov dword [r15], ecx
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.iUpdateId
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove ebx, dword [rsp + 0x38]
mov dword [r15 + 4], ebx
mov dword [rsp + 0x60], 0x208
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.tWebResourceInstallPath
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r9, [r15 + 8]
test eax, eax
jne 0x1400149c3
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x70]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [rax]
mov word [r9 + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x1400149b0
jmp 0x1400149d8
mov r8d, 5
lea rdx, str.NULL
mov rcx, r9
call fcn.14002bb80
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140014a23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014a1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014a53
call fcn.140021950
nop
mov eax, 1
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400218f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140029498
nop
int3