Function at 0x1400507b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x28], rdi
jne 0x1400507f4
xor al, al
jmp 0x140050beb
mov qword [rbp + 0x20], rdi
movabs r14, 0x6a80d457b7753c9d
mov qword [rbp + 0x90], r14
movabs rsi, 0x3374e4025e5f56e6
mov qword [rbp + 0x98], rsi
movabs r12, 0x7e2ea3ed8b91ad6f
mov qword [rbp + 0xa0], r12
movabs r15, 0x688749d00d316988
mov qword [rbp + 0xa8], r15
movabs rax, 0x20c9ce736c7488e1
mov qword [rbp + 0xb0], rax
movabs rax, 0xa7f79c1e0d8fe80a
mov qword [rbp + 0xb8], rax
movabs rax, 0x26871aa9414f6513
mov qword [rbp + 0xc0], rax
movabs rax, 0xf6b521cc197a6dcc
mov qword [rbp + 0xc8], rax
movabs rax, 0x606a550f0487aac5
mov qword [rbp + 0xd0], rax
movabs rcx, 0x3660fa9ad956650e
mov qword [rbp + 0xd8], rcx
movabs rax, 0x6ad4d404b72c3cce
mov qword [rsp + 0x50], rax
movabs rax, 0x3337e45e5e1256a3
mov qword [rsp + 0x58], rax
movabs rax, 0x7e4ba39f8be3ad1a
mov qword [rsp + 0x60], rax
movabs rax, 0x68e849930d4569e6
mov qword [rsp + 0x68], rax
movabs rax, 0x20a6ce016c00888f
mov qword [rsp + 0x70], rax
movabs rax, 0xa7839c7b0ddce866
mov qword [rsp + 0x78], rax
movabs rax, 0x26f51acc411c654f
mov qword [rbp - 0x80], rax
movabs rax, 0xf6d021af19136dba
mov qword [rbp - 0x78], rax
movabs rax, 0x606a550f0487aab6
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movups xmm2, xmmword [rsp + 0x70]
movups xmm3, xmmword [rbp - 0x80]
movups xmm4, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmmword [rbp + 0xa0]
movdqa xmmword [rbp - 0x30], xmm1
xorps xmm2, xmmword [rbp + 0xb0]
movdqa xmmword [rbp - 0x20], xmm2
xorps xmm3, xmmword [rbp + 0xc0]
movdqa xmmword [rbp - 0x10], xmm3
xorps xmm4, xmmword [rbp + 0xd0]
movdqa xmmword [rbp], xmm4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400509ab
xor bl, bl
jmp 0x140050bd9
mov qword [rbp + 0x18], rdi
lea rdx, [rbx + 0x38]
cmp qword [rdx + 0x18], 7
jbe 0x1400509bd
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rdi
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140050bc7
mov dword [rbp + 0x10], 1
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rsi
movabs rax, 0x6ae5d427b70c3cc9
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rsi
movaps xmm0, xmmword [rbp + 0x70]
xorps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140050bc7
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], rsi
movabs rax, 0x6adcd468b74a3cc1
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rsi
movaps xmm0, xmmword [rbp + 0x50]
xorps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rbx + 0x18]
lea rax, [rbp + 0x50]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140050a90
mov r8, qword [rdx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, r8
cmp rax, rcx
jb 0x140050c1c
cmp qword [rdx + 0x18], 7
jbe 0x140050abe
mov rdx, qword [rdx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.14001bf90
mov eax, dword [rbp + 0x38]
lea ecx, [rax*2 + 2]
lea rax, [rbp + 0x28]
cmp qword [rbp + 0x40], 7
cmova rax, qword [rbp + 0x28]
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r15
movabs rdx, 0x6ae7d436b7183cd4
mov qword [rbp + 0x50], rdx
movabs rdx, 0x3300e4635e0f5683
mov qword [rbp + 0x58], rdx
movabs rdx, 0x7e2ea3ed8b91ad07
mov qword [rbp + 0x60], rdx
mov qword [rbp + 0x68], r15
movups xmm0, xmmword [rbp + 0x50]
movups xmm1, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmmword [rbp + 0x80]
movdqa xmmword [rbp - 0x50], xmm1
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x140050bb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050baf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c16
call fcn.140117d3c
movdqa xmm0, xmmword [0x1408d3b60]
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], di
jmp 0x140050bc9
xor bl, bl
mov rcx, qword [rbp + 0x18]
test rcx, rcx
jle 0x140050bd9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jle 0x140050be8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140117aa0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140127908
nop
call fcn.140010960
int3