Function at 0x140070770
Capabilities:
Set 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
sub rsp, 0x3d0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400af010]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
lea rcx, [rbp + 0x170]
call fcn.14006b8d0
nop
movabs rax, 0x6c209a2156a61e00
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x27252e0b723ae749
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x24c63aae51279b08
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x21aa68ea8bb9ea48
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x2b2ff4746ae00d79
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x2704d41e4fb7c51c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x67253905ce550eed
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x472f82aeceee8a9c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0xdd372bea649fc5a8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rcx, 0x526ffaaf082e3fd4
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs r13, 0x6c749a7256ff1e53
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x240], rax
movabs r12, 0x27662e577277e70c
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x248], rax
movabs rax, 0x24a33adc51559b7d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x250], rax
movabs r14, 0x21c568a98bcdea26
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x258], rax
movabs rax, 0x2b40f4066a940d17
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x260], rax
movabs rax, 0x2770d47b4fe4c570
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x268], rax
movabs rax, 0x67573960ce060eb1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x270], rax
movabs rax, 0x474a82cdce878aea
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x278], rax
movabs rax, 0xdd372bea64c3c5db
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x280], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x288], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x240]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x260]
vmovdqa ymmword [rbp + 0xa0], ymm1
vmovdqa xmm0, xmmword [rbp + 0xc0]
vpxor xmm0, xmm0, xmmword [rbp + 0x280]
vmovdqa xmmword [rbp + 0xc0], xmm0
lea rax, [rbp + 0x80]
mov rdi, 0xffffffffffffffff
mov rcx, rdi
vzeroupper
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140070a00
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rdx, qword [rbp + 0x180]
sub rax, rdx
cmp rax, rcx
jb 0x140071381
lea rax, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
cmovae rax, qword [rbp + 0x170]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x80]
lea rcx, [rbp + 0x1d0]
call fcn.14006ecf0
nop
mov rcx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 4
jb 0x140071387
cmp qword [rbx + 0x18], 8
jb 0x140070a82
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 4
lea r9, [0x1400a3680]
lea rcx, [rbp + 0x190]
call fcn.14006ecf0
nop
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae rdx, qword [rbp + 0x1d0]
lea r8, [rbp + 0x160]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor r15d, r15d
test eax, eax
jne 0x140070bd9
mov eax, dword [rbp + 0x1a0]
lea ecx, [rax + rax]
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rdx, qword [rbp + 0x190]
movabs rax, 0x6c139a1356921e1a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x27122e367227e769
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x24a33adc51559b15
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x320], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x328], rax
movabs rbx, 0x24a33adc51559b7d
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x330], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x338], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x320]
vmovdqu ymmword [rbp + 0x40], ymm1
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
lea r9d, [r15 + 2]
lea r8, [rbp + 0x40]
xor edx, edx
mov rcx, qword [rbp + 0x160]
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x140070c2b
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 8
jb 0x140071282
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007127d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007127d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movabs rax, 0x6c119a0256861e07
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x200], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x208], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x28], 4
lea rax, [0x1400a368c]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x160]
test eax, eax
jne 0x140070bd3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0x10b41e3a9b6a3d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x27662e577277e760
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x210], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x218], rax
movdqa xmm0, xmmword [rbp + 0x20]
pxor xmm0, xmmword [rbp + 0x210]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x140070bd9
movabs rax, 0x1f01f01617936a01
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x60], rcx
movabs rax, 0x420a47211b05b778
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x68], rcx
movabs rax, 0x24a33adc5155fe1a
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x70], rcx
movabs rcx, 0x21c568a98bcdea26
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x340], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x348], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x350], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x358], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x340]
vmovdqa ymmword [rbp + 0x60], ymm1
lea rdx, [rbp + 0x60]
mov rcx, r14
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
movabs rax, 0x1e30fe1339b36a1d
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x30], rcx
movabs rax, 0x27662e5700129165
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x38], rcx
mov qword [rbp], r13
mov rcx, qword [rbp]
mov qword [rbp + 0x220], rcx
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x228], rax
movdqa xmm0, xmmword [rbp + 0x30]
pxor xmm0, xmmword [rbp + 0x220]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea r9, [rbp + 0x168]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
js 0x140070bd9
movabs rax, 0x6c139a1756ad1e0f
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0xe0], rcx
movabs rax, 0x27142e237204e765
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x24c23a9151099b04
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x21ab68c08ba5ea45
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
movabs rax, 0x2b39f4556ac80d72
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0x271dd41e4f90c503
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0x67253915ce450eed
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x473e82a3cee28a98
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0xdd432b8464acc598
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x523cfac308413fa6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0x785945e8ad74b480
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0x5d432577e478762b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0xc4f5cfcd7223f69c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rcx, 0x6e849373e05a96f8
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x2a0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x2a8], rax
movabs rax, 0x24a33adc51559b7d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2b0], rax
movabs rax, 0x21c568a98bcdea26
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2b8], rax
movabs rax, 0x2b40f4066a940d17
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2c0], rax
movabs rax, 0x2770d47b4fe4c570
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2c8], rax
movabs rax, 0x67573960ce060eb1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2d0], rax
movabs rax, 0x474a82cdce878aea
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2d8], rax
movabs rax, 0xdd372bea64c3c5db
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2e0], rax
movabs rax, 0x526ffaaf082e3fd4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2e8], rax
movabs rax, 0x780a45b4ad00b4e5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2f0], rax
movabs rax, 0x5d2a2501e40a764e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2f8], rax
movabs rax, 0xc4a9cfbe7246f6ff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x300], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x308], rax
vmovdqu ymm0, ymmword [rbp + 0xe0]
vpxor ymm1, ymm0, ymmword [rbp + 0x2a0]
vmovdqa ymmword [rbp + 0xe0], ymm1
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x2c0]
vmovdqa ymmword [rbp + 0x100], ymm1
vmovdqu ymm0, ymmword [rbp + 0x120]
vpxor ymm1, ymm0, ymmword [rbp + 0x2e0]
vmovdqa ymmword [rbp + 0x120], ymm1
vmovdqa xmm0, xmmword [rbp + 0x140]
vpxor xmm0, xmm0, xmmword [rbp + 0x300]
vmovdqa xmmword [rbp + 0x140], xmm0
lea rax, [rbp + 0xe0]
vzeroupper
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x140071180
mov rcx, qword [rbp + 0x180]
sub rsi, rcx
cmp rsi, rdi
jb 0x14007137b
lea rax, [rbp + 0x170]
cmp qword [rbp + 0x188], 8
cmovae rax, qword [rbp + 0x170]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xe0]
lea rcx, [rbp + 0x1b0]
call fcn.14006ecf0
nop
lea rdx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 8
cmovae rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x1f0]
call r14
cmp eax, 0xc000010e
jne 0x140071210
mov bl, 1
jmp 0x140071215
test eax, eax
setns bl
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 8
jb 0x14007125e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071259
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140071259
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072428
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r15w
jmp 0x140070bdb
call fcn.140072428
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], 7
mov word [rbp + 0x190], r15w
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x1400712e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400712e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400712e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072428
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r15w
mov rdx, qword [rbp + 0x188]
cmp rdx, 8
jb 0x140071348
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071343
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140071343
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072428
movzx eax, bl
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140071e50
lea r11, [rsp + 0x3d0]
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.1400594c0
nop
call fcn.1400594c0
nop
call fcn.1400594c0
int3