Function at 0x140049e00
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 [0x1409b0280]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x28], rdi
jne 0x140049e44
xor al, al
jmp 0x14004a1f9
mov qword [rbp + 0x20], rdi
movabs r14, 0xed7c311d1d7263f5
mov qword [rbp + 0x90], r14
movabs rsi, 0x808012dcc318690a
mov qword [rbp + 0x98], rsi
movabs r12, 0x85e23ef02b851b7
mov qword [rbp + 0xa0], r12
movabs r15, 0x4f00428e4c56e804
mov qword [rbp + 0xa8], r15
movabs rax, 0xba010629dc7676c9
mov qword [rbp + 0xb0], rax
movabs rax, 0x1352d10868e2e84e
mov qword [rbp + 0xb8], rax
movabs rax, 0x9a8abf5b5f3ed30b
mov qword [rbp + 0xc0], rax
movabs rax, 0xe4cbfda750728b8
mov qword [rbp + 0xc8], rax
movabs rax, 0x83533085fb597d5d
mov qword [rbp + 0xd0], rax
movabs rcx, 0xbb185c4c65a7c72
mov qword [rbp + 0xd8], rcx
movabs rax, 0xed28314e1d2b63a6
mov qword [rsp + 0x50], rax
movabs rax, 0x80c31280c355694f
mov qword [rsp + 0x58], rax
movabs rax, 0x83b239d02ca51c2
mov qword [rsp + 0x60], rax
movabs rax, 0x4f6f42cd4c22e86a
mov qword [rsp + 0x68], rax
movabs rax, 0xba6e065bdc0276a7
mov qword [rsp + 0x70], rax
movabs rax, 0x1326d16d68b1e822
mov qword [rsp + 0x78], rax
movabs rax, 0x9af8bf3e5f6dd357
mov qword [rbp - 0x80], rax
movabs rax, 0xe29bfb9756e28ce
mov qword [rbp - 0x78], rax
movabs rax, 0x83533085fb597d2e
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 0x140049ffb
xor bl, bl
jmp 0x14004a1e7
mov qword [rbp + 0x18], rdi
lea rdx, [rbx + 0x38]
cmp qword [rdx + 0x18], 7
jbe 0x14004a00d
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 0x14004a1d5
mov dword [rbp + 0x10], 1
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rsi
movabs rax, 0xed19316d1d0b63a1
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 0x14004a1d5
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], rsi
movabs rax, 0xed2031221d4d63a9
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 rcx, [rbp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14004a0e0
mov r8, qword [rdx + 0x10]
movabs rcx, 0x7ffffffffffffffe
sub rcx, r8
cmp rcx, rax
jb 0x14004a224
cmp qword [rdx + 0x18], 7
jbe 0x14004a10e
mov rdx, qword [rdx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.14001a820
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, 0xed1b317c1d1f63bc
mov qword [rbp + 0x50], rdx
movabs rdx, 0x80f412bdc348696f
mov qword [rbp + 0x58], rdx
movabs rdx, 0x85e23ef02b851df
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]
mov ebx, eax
lea rcx, [rbp + 0x28]
call fcn.140010ac0
test ebx, ebx
sete bl
jmp 0x14004a1d7
xor bl, bl
mov rcx, qword [rbp + 0x18]
test rcx, rcx
jle 0x14004a1e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jle 0x14004a1f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14015a1f0
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.1400108a0
nop
int3