Function at 0x140010f80
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14011d8d0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
xor r14d, r14d
mov qword [rbp - 0x21], r14
call qword [sym.imp.MSVCR100.dll__tzset]
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll__time64]
mov qword [rbp - 0x21], rax
test rax, rax
js 0x14001133c
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
lea rcx, [0x1400de328]
or rsi, 0xffffffffffffffff
test rcx, 0xffffffffffff0000
jne 0x14001102d
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x140011082
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140001f70
jmp 0x140011082
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140011082
cmp dword [rdx + 0x10], 0
jge 0x14001105b
cmp dword [rax - 0xc], 0
jge 0x140011051
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rax - 0x10], r14d
mov word [rax], r14w
jmp 0x140011082
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140011071
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x21]
call fcn.140010a70
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x39], rdi
lea r15, str.LastAppCheck
test r15, 0xffffffffffff0000
jne 0x1400110df
movzx edi, r15w
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x140011150
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140001f70
jmp 0x140011150
mov r13d, dword [rdi - 0x10]
mov r12, r15
sub r12, rdi
sar r12, 1
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, 0xc
or eax, ecx
jge 0x140011110
mov edx, 0xc
lea rcx, [rbp - 0x39]
call fcn.140001c20
mov rdi, qword [rbp - 0x39]
movsxd rdx, dword [rdi - 0xc]
mov r9d, 0x18
mov rcx, rdi
add rdx, rdx
cmp r12, r13
ja 0x140011131
lea r8, [rdi + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14001113a
mov r8, r15
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp dword [rdi - 0xc], 0xc
jl 0x140011331
mov dword [rdi - 0x10], 0xc
mov word [rdi + 0x18], r14w
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x29], rax
test rbx, rbx
je 0x1400111ac
test rbx, 0xffffffffffff0000
jne 0x140011199
movzx edi, bx
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x1400111bf
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140001f70
jmp 0x1400111bf
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x1400111af
mov ecx, r14d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140001e80
nop
lea r8, [0x1400e0818]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.140002ce0
nop
lea r8, [rbp - 0x29]
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140008ad0
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140011203
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r12, qword [rbp - 0x19]
mov qword [rbp - 0x11], r14
lea rax, [rbp - 1]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareSony_CorporationVAIO_Update5.0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400112b6
mov rbx, qword [rbp - 0x11]
mov qword [rbp + 0xf], rbx
mov eax, r14d
mov rdi, qword [rbp - 0x31]
test rdi, rdi
setne al
test eax, eax
je 0x140011291
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x1400112a6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
mov qword [rbp + 0xf], rbx
test rbx, rbx
je 0x1400112b6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400112b6
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400112d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400112f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140011313
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14001133c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001133c
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400cafa0
lea r11, [rsp + 0xc0]
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