Function at 0x140007580
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x180
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400341a0]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r14d, r14d
mov qword [rbp + 8], r14
movabs rax, 0x8f5950f46f0cbdcc
mov qword [rbp + 0x20], rax
movabs rax, 0xfea647d14f878087
mov qword [rbp + 0x28], rax
movabs rax, 0x7ae8f1cd9db2edc5
mov qword [rbp + 0x30], rax
movabs rax, 0x9cd889deffa4f108
mov qword [rbp + 0x38], rax
movabs rax, 0xd2af1d1aada94e65
mov qword [rbp + 0x40], rax
movabs rax, 0xad326f53dfbdc39d
mov qword [rbp + 0x48], rax
movabs rax, 0x5eab23647e2ceb0a
mov qword [rbp + 0x50], rax
movabs rax, 0xef0ca593e1ff2d4b
mov qword [rbp + 0x58], rax
movabs rax, 0x20ac308ce1dbd189
mov qword [rbp + 0x60], rax
movabs rax, 0x2bb0bf022794b66a
mov qword [rbp + 0x68], rax
movabs rax, 0x4641e5c69a162cf
mov qword [rbp + 0x70], rax
movabs rax, 0x4d84a09605abe1ae
mov qword [rbp + 0x78], rax
movabs rax, 0x4b78bbd26cfbfcce
mov qword [rbp + 0x80], rax
movabs rax, 0xd707540bd582c265
mov qword [rbp + 0x88], rax
movabs rax, 0xe7f955c089296ba8
mov qword [rbp + 0x90], rax
movabs rcx, 0x923043a96c307b66
mov qword [rbp + 0x98], rcx
movabs r12, 0x8f0d50b26f43bd9f
mov qword [rbp + 0xa0], r12
movabs r13, 0xfee347834fc680d0
mov qword [rbp + 0xa8], r13
movabs rdi, 0x7a8bf1a49dffed99
mov qword [rbp + 0xb0], rdi
movabs r15, 0x9cb789adffcbf17a
mov qword [rbp + 0xb8], r15
movabs rax, 0xd2f81d46addd4e03
mov qword [rbp + 0xc0], rax
movabs rax, 0xad5d6f37dfd3c3f4
mov qword [rbp + 0xc8], rax
movabs rax, 0x5ee823387e5feb7d
mov qword [rbp + 0xd0], rax
movabs rax, 0xef69a5e1e18d2d3e
mov qword [rbp + 0xd8], rax
movabs rax, 0x20c930dae1afd1e7
mov qword [rbp + 0xe0], rax
movabs rax, 0x2bdfbf6b27e7b618
mov qword [rbp + 0xe8], rax
movabs rax, 0x40b1e0c69fd62a1
mov qword [rbp + 0xf0], rax
movabs rax, 0x4deda0f505c2e1c2
mov qword [rbp + 0xf8], rax
movabs rax, 0x4b2bbb8e6c88fcab
mov qword [rbp + 0x100], rax
movabs rax, 0xd762547fd5f1c21c
mov qword [rbp + 0x108], rax
movabs rax, 0xe7f955c089296bc5
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rcx
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x80], ymm1
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r14w
lea rax, [rbp + 0x20]
mov rsi, 0xffffffffffffffff
mov rdx, rsi
vzeroupper
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140007832
lea rcx, [rbp + 0xa0]
cmp rdx, 7
ja 0x14000786b
mov qword [rbp + 0xb0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x20]
call fcn.140013870
mov word [rbp + rbx + 0xa0], r14w
jmp 0x140007875
lea r9, [rbp + 0x20]
call fcn.14000cff0
nop
mov qword [rbp], r14
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007cf6
mov rbx, qword [rbp]
mov qword [rbp + 8], rbx
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x140007905
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d19
call fcn.140011a4c
movabs rax, 0x8f6f50d36f2dbdda
mov qword [rbp + 0x20], rax
movabs rax, 0xfeb647cf4fa380bc
mov qword [rbp + 0x28], rax
movabs rax, 0x7a8bf1a49dffedd8
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r15
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], r15
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqu ymmword [rbp + 0x20], ymm1
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r14w
lea rax, [rbp + 0x20]
mov rdx, rsi
vzeroupper
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140007990
lea rcx, [rbp + 0xa0]
cmp rdx, 7
ja 0x1400079d3
mov qword [rbp + 0xb0], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
lea rdx, [rbp + 0x20]
call fcn.140013870
mov word [rbp + rdi + 0xa0], r14w
movabs rdi, 0x7a8bf1a49dffed99
jmp 0x1400079dd
lea r9, [rbp + 0x20]
call fcn.14000cff0
nop
mov dword [rbp], r14d
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
mov dword [rsp + 0x28], 4
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140007d1f
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x140007a69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d42
call fcn.140011a4c
movabs rax, 0x8f7e50dc6f2cbddc
mov qword [rbp + 0x20], rax
movabs rax, 0xfeb347f74fa880b5
mov qword [rbp + 0x28], rax
movabs rax, 0x7afbf1c99d90edeb
mov qword [rbp + 0x30], rax
movabs rax, 0x9cdf89c8ff89f10e
mov qword [rbp + 0x38], rax
movabs rax, 0xd2971d2fadab4e62
mov qword [rbp + 0x40], rax
movabs rax, 0xad306f53df92c386
mov qword [rbp + 0x48], rax
movabs rax, 0x5ee823387e31eb14
mov qword [rbp + 0x50], rax
movabs rax, 0xef69a5e1e18d2d3e
mov qword [rbp + 0x58], rax
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], r15
movabs rcx, 0xd2f81d46addd4e03
mov qword [rbp + 0xc0], rcx
movabs rcx, 0xad5d6f37dfd3c3f4
mov qword [rbp + 0xc8], rcx
movabs rcx, 0x5ee823387e5feb7d
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x40], ymm1
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r14w
lea rax, [rbp + 0x20]
vzeroupper
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140007b80
lea rcx, [rbp + 0xa0]
cmp rsi, 7
ja 0x140007bb9
mov qword [rbp + 0xb0], rsi
lea rdi, [rsi + rsi]
mov r8, rdi
lea rdx, [rbp + 0x20]
call fcn.140013870
mov word [rbp + rdi + 0xa0], r14w
jmp 0x140007bc6
lea r9, [rbp + 0x20]
mov rdx, rsi
call fcn.14000cff0
nop
mov dword [rbp], r14d
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
mov dword [rsp + 0x28], 4
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140007d48
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x140007c52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007cf0
call fcn.140011a4c
mov edi, 0x80000000
test rbx, rbx
je 0x140007c8d
lea rax, [rbx + rdi]
cmp rax, 5
jbe 0x140007c8a
cmp rbx, 0xffffffff80000007
je 0x140007c8a
cmp rbx, 0xffffffff80000060
je 0x140007c8a
cmp rbx, 0xffffffff80000050
je 0x140007c8a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
test rbx, rbx
je 0x140007cc0
lea rax, [rbx + rdi]
cmp rax, 5
jbe 0x140007cc0
cmp rbx, 0xffffffff80000007
je 0x140007cc0
cmp rbx, 0xffffffff80000060
je 0x140007cc0
cmp rbx, 0xffffffff80000050
je 0x140007cc0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140011530
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140017e08
nop
lea r8, str.RegOpenKeyExW_failed.
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.140007490
lea rdx, [0x140032d30]
lea rcx, [rbp + 0x20]
call fcn.140013798
nop
call fcn.140017e08
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.140007490
lea rdx, [0x140032d30]
lea rcx, [rbp + 0x20]
call fcn.140013798
nop
call fcn.140017e08
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.140007490
lea rdx, [0x140032d30]
lea rcx, [rbp + 0x20]
call fcn.140013798
int3