Function at 0x140014290
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov rsi, qword [0x14005a0b8]
lea rdi, [0x14005a0a8]
cmp qword [0x14005a0c0], 8
cmovae rdi, qword [0x14005a0a8]
cmp rsi, 8
jae 0x14001430b
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], 7
jmp 0x14001434e
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x60]
call fcn.140001580
mov qword [rsp + 0x60], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.140024d40
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1400253f0
lea rdx, [r14 + 8]
mov r8d, 0x104
lea rcx, [rbp - 0x80]
call fcn.14002bbe0
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x1400143c2
lea rdi, [rcx + 0xb]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rcx*2]
mov r8d, 0x16
lea rdx, str.WebResource
call fcn.140024d40
mov word [rbx + rdi*2], r15w
jmp 0x1400143e3
mov qword [rsp + 0x20], 0xb
lea r9, str.WebResource
xor r8d, r8d
lea edx, [r8 + 0xb]
lea rcx, [rsp + 0x60]
call fcn.14000ec90
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001452c
mov eax, dword [r14]
mov dword [rsp + 0x58], eax
cmp eax, 0xffffffff
je 0x140014471
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.irandom
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140014521
mov eax, dword [r14 + 4]
mov dword [rsp + 0x58], eax
cmp eax, 0xffffffff
je 0x1400144af
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.iUpdateId
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140014521
mov rcx, r15
lea rdx, [rbp - 0x80]
lea r8, str.NULL
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
mov ebx, 1
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400144e7
cmp rcx, 5
jne 0x1400144c0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001452f
mov dword [rsp + 0x28], 0x208
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.tWebResourceInstallPath
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140014521
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001452f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, r15d
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001456e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001459c
call fcn.1400229fc
nop
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140022dc0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400294dc
nop
int3