Function at 0x14003a490
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, 0x3f0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c5180]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, rcx
xor r13d, r13d
lea rcx, [rbp + 0x190]
call fcn.140030e60
nop
movabs rax, 0x39180b15f64e3cf0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x42b14c7fbc441e39
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x3567327aee8439b0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0xab581468c8ec168
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0x195b520056789169
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x867f81ca92eb986c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xf8473cd15ce28bf5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0xf12ed3b2bde4323c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xed3f76be4a7ee7d8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rcx, 0x851deedb3c7bfce4
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs r12, 0x394c0b46f6173ca3
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x260], rax
movabs r15, 0x42f24c23bc091e7c
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x268], rax
movabs rax, 0x35023208eef639c5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x270], rax
movabs r14, 0xada81058cfac106
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x278], rax
movabs rax, 0x19345272560c9107
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x280], rax
movabs rax, 0x860b81af92b89800
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x288], rax
movabs rax, 0xf8353cb45cb18ba9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x290], rax
movabs rax, 0xf14bd3d1bd8d324a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x298], rax
movabs rax, 0xed3f76be4a22e7ab
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2a0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x2a8], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x260]
vmovdqa ymmword [rbp + 0xa0], ymm1
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x280]
vmovdqa ymmword [rbp + 0xc0], ymm1
vmovdqa xmm0, xmmword [rbp + 0xe0]
vxorps xmm0, xmm0, xmmword [rbp + 0x2a0]
vmovdqa xmmword [rbp + 0xe0], xmm0
lea rax, [rbp + 0xa0]
mov rdi, 0xffffffffffffffff
mov rcx, rdi
vzeroupper
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14003a722
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rdx, qword [rbp + 0x1a0]
sub rax, rdx
cmp rax, rcx
jb 0x14003b10e
lea rax, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 7
cmova rax, qword [rbp + 0x190]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xa0]
lea rcx, [rbp + 0x1f0]
call fcn.140038290
nop
movabs rax, 0x39100b79f6283cff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x220], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x228], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x220]
movdqa xmmword [rbp + 0x10], xmm0
lea rax, [rbp + 0x10]
mov rcx, rdi
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14003a7e0
mov rdx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14003b114
cmp qword [rbx + 0x18], 7
jbe 0x14003a807
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x10]
lea rcx, [rbp + 0x1b0]
call fcn.140038290
nop
lea rdx, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 7
cmova rdx, qword [rbp + 0x1f0]
lea r8, [rbp + 0x180]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14003a956
mov eax, dword [rbp + 0x1c0]
lea ecx, [rax + rax]
lea rdx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 7
cmova rdx, qword [rbp + 0x1b0]
movabs rax, 0x392b0b27f67a3cea
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x42864c42bc591e19
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x35023208eef639ad
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x340], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x348], rax
movabs rbx, 0x35023208eef639c5
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x350], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x358], rax
vmovdqu ymm0, ymmword [rbp + 0x50]
vpxor ymm1, ymm0, ymmword [rbp + 0x340]
vmovdqu ymmword [rbp + 0x50], ymm1
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov r9d, 2
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, qword [rbp + 0x180]
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x14003a9a8
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x14003b013
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b00e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b00e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movabs rax, 0x39290b36f66e3cf7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x230], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x238], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x230]
movdqa xmmword [rbp + 0x20], xmm0
mov dword [rsp + 0x28], 4
lea rax, [0x1400ace10]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x180]
test eax, eax
jne 0x14003a950
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0x5528252a9a7348cd
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x42f24c23bc091e10
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x240], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x248], rax
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x240]
movdqa xmmword [rbp + 0x30], xmm0
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14003a956
movabs rax, 0x4a396122b77b48f1
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x80], rcx
movabs rax, 0x279e2555d57b4e08
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x88], rcx
movabs rax, 0x35023208eef65ca2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rcx, 0xada81058cfac106
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x360], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x368], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x370], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x378], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x360]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rdx, [rbp + 0x80]
mov rcx, r14
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
movabs rax, 0x4b086f27995b48ed
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x40], rcx
movabs rax, 0x42f24c23ce6c6815
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x48], rcx
mov qword [rbp], r12
mov rcx, qword [rbp]
mov qword [rbp + 0x250], rcx
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x258], rax
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea r9, [rbp + 0x188]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
js 0x14003a956
movabs rax, 0x392b0b23f6453cff
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x100], rcx
movabs rax, 0x42804c57bc7a1e15
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0x35633245eeaa39bc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0xab4816c8c92c165
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x194d522156509162
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x866681ca92cc9873
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0xf8473cc15cf28bf5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0xf13fd3bfbde83238
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0xed4b76d04a4de7e8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rax, 0x854eeeb73c14fc96
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs rax, 0x94bfa9bc00dffd88
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs rax, 0xe78ecd4b3e683a6b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movabs rax, 0xa860f0399bfcd14c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rcx, 0xfce81ea732283528
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x2c0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x2c8], rax
movabs rax, 0x35023208eef639c5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2d0], rax
movabs rax, 0xada81058cfac106
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2d8], rax
movabs rax, 0x19345272560c9107
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2e0], rax
movabs rax, 0x860b81af92b89800
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2e8], rax
movabs rax, 0xf8353cb45cb18ba9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2f0], rax
movabs rax, 0xf14bd3d1bd8d324a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2f8], rax
movabs rax, 0xed3f76be4a22e7ab
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x300], rax
movabs rax, 0x851deedb3c7bfce4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x308], rax
movabs rax, 0x94eca9e000abfded
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x310], rax
movabs rax, 0xe7e7cd3d3e1a3a0e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x318], rax
movabs rax, 0xa83cf04a9b99d12f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x320], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x328], rax
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
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x300]
vmovdqa ymmword [rbp + 0x140], ymm1
vmovdqa xmm0, xmmword [rbp + 0x160]
vxorps xmm0, xmm0, xmmword [rbp + 0x320]
vmovdqa xmmword [rbp + 0x160], xmm0
lea rax, [rbp + 0x100]
vzeroupper
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14003af10
mov rcx, qword [rbp + 0x1a0]
sub rsi, rcx
cmp rsi, rdi
jb 0x14003b108
lea rax, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 7
cmova rax, qword [rbp + 0x190]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x100]
lea rcx, [rbp + 0x1d0]
call fcn.140038290
nop
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 7
cmova rdx, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x210]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x210]
call r14
mov ebx, eax
cmp eax, 0xc000010e
jne 0x14003afa2
mov bl, 1
jmp 0x14003afa8
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x14003aff1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003afec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003afec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008ffac
movdqa xmm0, xmmword [0x1400ad090]
movdqu xmmword [rbp + 0x1e0], xmm0
mov word [rbp + 0x1d0], r13w
jmp 0x14003a958
call fcn.14008ffac
movdqa xmm0, xmmword [0x1400ad090]
movdqu xmmword [rbp + 0x1c0], xmm0
mov word [rbp + 0x1b0], r13w
mov rdx, qword [rbp + 0x208]
cmp rdx, 7
jbe 0x14003b074
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b06f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b06f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008ffac
movdqa xmm0, xmmword [0x1400ad090]
movdqu xmmword [rbp + 0x200], xmm0
mov word [rbp + 0x1f0], r13w
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 7
jbe 0x14003b0d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b0d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b0d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008ffac
movzx eax, bl
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14008fcf0
lea r11, [rsp + 0x3f0]
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.140030d80
nop
call fcn.140030d80
nop
call fcn.140030d80
int3