Function at 0x1400025ec
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r15
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov rax, qword [0x140005010]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov ecx, dword [0x140005004]
mov ebx, 1
lea r15d, [rbx + 5]
test ecx, ecx
je 0x140002875
lea r11d, [rbx + 1]
mov r14d, 0x80000001
lea r10, [0x140005090]
cmp ecx, ebx
jne 0x140002661
and dword [0x140005088], 0
mov ecx, r11d
and dword [0x14000508c], 0
and dword [0x14000ecd0], 0
mov dword [0x140005004], ecx
jmp 0x14000263d
cmp ecx, r11d
jne 0x14000267c
mov eax, dword [section..data]
xor ecx, ecx
cmp dword [0x140005088], eax
setle cl
add ecx, 3
jmp 0x140002659
cmp ecx, 3
jne 0x1400026b8
mov r8d, dword [0x14000ecd0]
mov eax, 0x51eb851f
add r8d, dword [0x140005088]
mov ecx, 0xc
add r8d, r8d
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub r8d, eax
mov dword [0x14000ecd0], r8d
jmp 0x140002659
cmp ecx, 4
jne 0x1400026d3
mov eax, dword [0x140005088]
xor ecx, ecx
cmp dword [0x14000508c], eax
setl cl
add ecx, 5
jmp 0x140002659
cmp ecx, 5
jne 0x1400026fc
movsxd rcx, dword [0x140005088]
mov edx, dword [0x14000ecd0]
add edx, ecx
imul rcx, rcx, 0x194
mov dword [rcx + r10], edx
mov ecx, 9
jmp 0x140002659
cmp ecx, r15d
jne 0x14000271f
mov eax, dword [0x14000508c]
and eax, r14d
jge 0x140002713
sub eax, ebx
or eax, 0xfffffffe
add eax, ebx
neg eax
sbb ecx, ecx
add ecx, 8
jmp 0x140002659
cmp ecx, 7
jne 0x140002755
movsxd rax, dword [0x140005088]
movsxd rdx, dword [0x14000508c]
mov r8d, eax
sub r8d, edx
imul r8d, dword [0x14000ecd0]
imul rcx, rax, 0x64
add rcx, rdx
mov dword [r10 + rcx*4], r8d
mov ecx, 8
jmp 0x140002659
cmp ecx, 8
jne 0x140002782
mov eax, dword [0x14000508c]
mov ecx, 4
add eax, ebx
add dword [0x14000ecd0], eax
cmp eax, dword [0x140005088]
mov dword [0x14000508c], eax
cmovl ecx, r15d
jmp 0x140002867
cmp ecx, 9
jne 0x1400027ce
mov r9d, dword [0x14000ecd0]
mov ecx, r9d
and ecx, r14d
jge 0x14000279d
sub ecx, ebx
or ecx, 0xfffffffe
add ecx, ebx
movsxd rdx, dword [0x140005088]
mov eax, r9d
imul r8, rdx, 0x194
test ecx, ecx
lea ecx, [rdx + 1]
cdq
jne 0x1400027be
idiv ecx
add dword [r8 + r10], eax
jmp 0x1400027c4
idiv ecx
sub dword [r8 + r10], eax
mov ecx, 0xa
jmp 0x140002659
cmp ecx, 0xa
jne 0x1400027f8
mov eax, dword [0x140005088]
mov ecx, 0xb
add eax, ebx
add dword [0x14000ecd0], eax
cmp eax, dword [section..data]
mov dword [0x140005088], eax
cmovle ecx, r11d
jmp 0x140002867
cmp ecx, 0xb
jne 0x14000282c
mov edx, dword [0x14000508c]
add edx, dword [0x140005088]
imul edx, dword [0x14000ecd0]
movsxd rax, dword [section..data]
imul rcx, rax, 0x194
mov dword [rcx + r10], edx
mov ecx, 3
jmp 0x140002659
cmp ecx, 0xc
jne 0x140002860
movsxd rax, dword [0x140005088]
movsxd rdx, dword [0x14000508c]
imul rcx, rax, 0x64
lea r8d, [rdx + rax]
imul r8d, dword [0x14000ecd0]
add rcx, rdx
mov dword [r10 + rcx*4], r8d
mov ecx, 0xd
jmp 0x140002659
cmp ecx, 0xd
jne 0x14000286d
xor ecx, ecx
mov dword [0x140005004], ecx
test ecx, ecx
jne 0x14000263d
and qword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp - 0x50], 0xbb0ab90a
mov r14d, 0x90
mov dword [rbp - 0x4c], 0xbf15bd1d
mov dword [rbp - 0x48], 0xa335a115
mov dword [rbp - 0x44], 0xa736a536
mov dword [rbp - 0x40], 0xab14a93d
mov dword [rbp - 0x3c], 0xaf0fad65
mov dword [rbp - 0x38], 0x9338910b
mov dword [rbp - 0x34], 0x973a9539
mov dword [rbp - 0x30], 0x9b249931
mov dword [rbp - 0x2c], 0x9f0d9d2f
mov dword [rbp - 0x28], 0x83148138
mov dword [rbp - 0x24], 0x8727851b
mov dword [rbp - 0x20], 0x8b2f8914
mov dword [rbp - 0x1c], 0x8f438d36
mov dword [rbp - 0x18], 0x73d57125
mov dword [rbp - 0x14], 0x77e575e0
mov dword [rbp - 0x10], 0x7be979e3
mov dword [rbp - 0xc], 0x7fe87ddc
mov dword [rbp - 8], 0x63d961c2
mov dword [rbp - 4], 0x67ca65c9
mov dword [rbp], 0x6bf969c2
mov dword [rbp + 4], 0x6ff96df3
mov dword [rbp + 8], 0x539551d2
mov dword [rbp + 0xc], 0x57c655c5
mov dword [rbp + 0x10], 0x5bff59c4
mov dword [rbp + 0x14], 0x5fc85df4
mov dword [rbp + 0x18], 0x43e741e8
mov dword [rbp + 0x1c], 0x47d145d0
mov dword [rbp + 0x20], 0x4bd949ed
mov dword [rbp + 0x24], 0x4ff04de4
mov dword [rbp + 0x28], 0x33a731fc
mov dword [rbp + 0x2c], 0x3734359c
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
add dl, 0x47
mov cl, byte [rbp + rax - 0x50]
mov al, dl
and al, cl
add al, al
sub dl, al
mov rax, qword [rsp + 0x48]
add dl, 0xf
add dl, cl
mov byte [rbp + rax - 0x50], dl
mov rax, qword [rsp + 0x48]
add rax, rbx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, r14
jb 0x140002976
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rbp - 0x78], 0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x70], rax
lea r8, [rbp - 0x80]
lea rax, [rsp + 0x48]
mov dword [rbp - 0x80], 0x30
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
xorps xmm0, xmm0
and qword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x20006
mov dword [rbp - 0x68], 0x240
movdqu xmmword [rbp - 0x60], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
js 0x140002bfe
xorps xmm0, xmm0
mov dword [rbp - 0x50], 0x23692d48
movups xmmword [rbp - 0x26], xmm0
mov dword [rbp - 0x4c], 0x277c216b
mov dword [rbp - 0x48], 0x3b882597
mov dword [rbp - 0x44], 0x3f78398c
mov dword [rbp - 0x40], 0x33813d8f
mov dword [rbp - 0x3c], 0x37713184
mov dword [rbp - 0x38], 0xbb73587
mov dword [rbp - 0x34], 0xfaf09b8
mov dword [rbp - 0x30], 0x3a30dbe
mov dword [rbp - 0x2c], 0x7b201b2
mov word [rbp - 0x28], 0x504
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
add dl, r15b
mov cl, byte [rbp + rax - 0x50]
mov al, dl
and al, cl
add al, al
sub dl, al
mov rax, qword [rsp + 0x40]
sub dl, 0x2a
add dl, cl
mov byte [rbp + rax - 0x50], dl
mov rax, qword [rsp + 0x40]
add rax, rbx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp rax, 0x3a
jb 0x140002a7c
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor eax, eax
mov dword [rbp - 0x50], 0x5b90599b
mov dword [rbp + 0x12], eax
xorps xmm0, xmm0
mov word [rbp + 0x16], ax
mov byte [rbp + 0x18], al
movups xmmword [rbp + 2], xmm0
mov dword [rbp - 0x4c], 0x57fb55f0
mov dword [rbp - 0x48], 0x53ef51e3
mov dword [rbp - 0x44], 0x2f9d2d9e
mov dword [rbp - 0x40], 0x2bfa298c
mov dword [rbp - 0x3c], 0x278425a9
mov dword [rbp - 0x38], 0x239b2194
mov dword [rbp - 0x34], 0x3f9a3d9f
mov dword [rbp - 0x30], 0x3bf539c4
mov dword [rbp - 0x2c], 0x37e835fb
mov dword [rbp - 0x28], 0x33843187
mov dword [rbp - 0x24], 0xfcc0d80
mov dword [rbp - 0x20], 0xbbd09bf
mov dword [rbp - 0x1c], 0x7c50588
mov dword [rbp - 0x18], 0x3b701b7
mov dword [rbp - 0x14], 0x1fbf1dac
mov dword [rbp - 0x10], 0x1bbb19ae
mov dword [rbp - 0xc], 0x179a15a2
mov dword [rbp - 8], 0x13b011e6
mov dword [rbp - 4], 0xef62ed4d
mov word [rbp], 0xe9e8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
add dl, 0x34
mov cl, byte [rbp + rax - 0x50]
mov al, dl
and al, cl
add al, al
sub dl, al
mov rax, qword [rsp + 0x40]
sub dl, 0x6c
add dl, cl
mov byte [rbp + rax - 0x50], dl
mov rax, qword [rsp + 0x40]
add rax, rbx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp rax, 0x69
jb 0x140002b79
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x70]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 8
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov ebx, eax
test eax, eax
js 0x140002bf1
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400035b0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov r15, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret