Function at 0x140051b80
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, 0x410
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14014b0c0]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rcx
xor r14d, r14d
lea rcx, [rbp + 0x190]
call fcn.140047070
nop
movabs rax, 0xfeb1c819060628ac
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x3d13c3f760144505
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0xf183395e90d51364
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x314ac3ae33efd95c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0x24a42d3cdd61803d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x4cffd11aab0dcd48
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x2b3e25454bfa8b59
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0xb71429296d004a0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xc3ca9c52175ab8d4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rcx, 0xb6c349d3346a6b28
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs r12, 0xfee5c84a065f28ff
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x260], rax
movabs r15, 0x3d50c3ab60594540
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x268], rax
movabs rax, 0xf1e6392c90a71311
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x270], rax
movabs r13, 0x3125c3ed339bd932
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x278], rax
movabs rax, 0x24cb2d4edd158053
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x280], rax
movabs rax, 0x4c8bd17fab5ecd24
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x288], rax
movabs rax, 0x2b4c25204ba98b05
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x290], rax
movabs rax, 0xb1442f196b904d6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x298], rax
movabs rax, 0xc3ca9c521706b8a7
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 0x140051e12
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rdx, qword [rbp + 0x1a0]
sub rax, rdx
cmp rax, rcx
jb 0x140052827
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.14004f0c0
nop
movabs rax, 0xfeb9c875066028a3
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 0x140051ed0
mov rdx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005282d
cmp qword [rbx + 0x18], 7
jbe 0x140051ef7
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.14004f0c0
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 0x1400526e1
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, 0xfe82c82b063228b6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x3d24c3ca60094525
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xf1e6392c90a71379
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x58], 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, 0xf1e6392c90a71311
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x350], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x358], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x340]
vmovdqu ymmword [rbp + 0x40], ymm1
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov r9d, 2
lea r8, [rbp + 0x40]
xor edx, edx
mov rcx, qword [rbp + 0x180]
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x14005204b
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400526e1
movabs rax, 0xfe80c83a062628ab
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, reloc.WS2_32.dll_accept
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
je 0x1400520df
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400526e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0xfe89c82e062b2891
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x3d3cc3cf6077452c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xf1e6392c90a7137d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x78], 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], r13
mov rax, qword [rbp]
mov qword [rbp + 0x378], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x360]
vmovdqu ymmword [rbp + 0x60], ymm1
lea rcx, [rbp + 0x60]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
test rax, rax
je 0x1400526de
movabs rax, 0x8d90a22e47335cad
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x80], rcx
movabs rax, 0x583caadd092b1534
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x88], rcx
movabs rax, 0xf1e6392c90a77676
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x380], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x388], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x390], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x398], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x380]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rdx, [rbp + 0x80]
mov rcx, r14
vzeroupper
call fcn.140046f30
mov rbx, rax
movabs rax, 0x8ca1ac2b69135cb1
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x30], rcx
movabs rax, 0x3d50c3ab123c3329
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x38], rcx
mov qword [rbp], r12
mov rcx, qword [rbp]
mov qword [rbp + 0x240], rcx
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 rdx, [rbp + 0x30]
mov rcx, r14
call fcn.140046f30
mov r14, rax
lea r9, [rbp + 0x188]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
js 0x1400526de
movabs rax, 0xfe82c82f060d28a3
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x100], rcx
movabs rax, 0x3d22c3df602a4529
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0xf187396190fb1368
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x314bc38433f3d951
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x24b22d1ddd498036
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x4ce6d11aab2acd57
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0x2b3e25554bea8b59
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0xb60429f96dc04a4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0xc3be9c3c1769b8e4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rax, 0xb69049bf34056b5a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs rax, 0x386bab4860df417c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs rax, 0x1df117e3fedf335f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movabs rax, 0xec7c7a050acfc658
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rcx, 0x38fe252797a380cc
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, 0xf1e6392c90a71311
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2d0], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x2d8], rax
movabs rax, 0x24cb2d4edd158053
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2e0], rax
movabs rax, 0x4c8bd17fab5ecd24
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2e8], rax
movabs rax, 0x2b4c25204ba98b05
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2f0], rax
movabs rax, 0xb1442f196b904d6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x2f8], rax
movabs rax, 0xc3ca9c521706b8a7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x300], rax
movabs rax, 0xb6c349d3346a6b28
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x308], rax
movabs rax, 0x3838ab1460ab4119
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x310], rax
movabs rax, 0x1d981795fead333a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x318], rax
movabs rax, 0xec207a760aaac63b
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
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400525e0
mov rcx, qword [rbp + 0x1a0]
sub rsi, rcx
cmp rsi, rdi
jb 0x140052821
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.14004f0c0
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 0x140052672
mov bl, 1
jmp 0x140052678
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x1400526c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400526bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400526bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1e50
movdqa xmm0, xmmword [0x140135180]
movdqu xmmword [rbp + 0x1e0], xmm0
xor r14d, r14d
mov word [rbp + 0x1d0], r14w
jmp 0x1400526e3
xor r14d, r14d
xor bl, bl
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x14005272c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052727
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052727
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1e50
movdqa xmm0, xmmword [0x140135180]
movdqu xmmword [rbp + 0x1c0], xmm0
mov word [rbp + 0x1b0], r14w
mov rdx, qword [rbp + 0x208]
cmp rdx, 7
jbe 0x14005278d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052788
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1e50
movdqa xmm0, xmmword [0x140135180]
movdqu xmmword [rbp + 0x200], xmm0
mov word [rbp + 0x1f0], r14w
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 7
jbe 0x1400527ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400527e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400527e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1e50
movzx eax, bl
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400f1a00
lea r11, [rsp + 0x410]
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.140046aa0
nop
call fcn.140046aa0
nop
call fcn.140046aa0
int3