Function at 0x140034b43
Capabilities:
Set registry value

Disassembly:
push rbp
sub rsp, 0x220
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1b0], rcx
mov qword [rbp + 0x1b8], rdx
mov qword [rbp + 0x1c0], r8
mov qword [rbp + 0x1c8], r9
mov qword [rbp + 0x198], 0
call fcn.1400e50b0
mov rax, qword [rbp + 0x1b0]
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.1400e56b0
mov rdx, qword [rbp + 0x1b8]
lea rax, [rbp + 0x1b8]
mov rcx, rax
call fcn.1400e56b0
mov rdx, qword [rbp + 0x1c0]
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.1400e56b0
mov rdx, qword [rbp + 0x1d0]
lea rax, [rbp + 0x1d0]
mov rcx, rax
call fcn.1400e56b0
mov qword [rbp - 0x28], 0
mov qword [rbp + 0x190], 0
mov qword [rbp + 0x180], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp + 0x178], 0
mov qword [rbp - 0x40], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x168], 0
mov qword [rbp - 0x48], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x158], 0
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.14003545f
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x1d0]
mov qword [rbp + 0x148], rax
lea rax, [0x140847d78]
mov qword [rbp + 0x140], rax
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
mov rcx, rax
call fcn.1400e55d0
test eax, eax
je 0x140034d9f
mov eax, dword [0x14086f7bc]
test eax, eax
je 0x140034d3d
mov rax, qword [0x14086f7a8]
mov qword [rbp + 0x138], rax
mov rax, qword [0x14086f3a8]
mov qword [rbp + 0x130], rax
mov eax, dword [0x14086f7e4]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x128], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x120], rax
mov r8, qword [rbp + 0x128]
mov rdx, qword [rbp + 0x130]
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x120]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0x188], rax
nop
jmp 0x140034eba
nop
mov rax, qword [0x14086f7a8]
mov qword [rbp + 0x110], rax
mov rax, qword [0x14086f3a8]
mov qword [rbp + 0x108], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x100], rax
mov rcx, qword [rbp + 0x100]
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x110]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x188], rax
jmp 0x140034eba
nop
mov rax, qword [0x14086f7a8]
mov qword [rbp + 0xf0], rax
lea rax, [rbp - 0x38]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x1d0]
mov rcx, rax
mov rdx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xf0]
mov r8, rdx
mov rdx, rax
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
cdqe
mov qword [rbp + 0x160], rax
mov eax, dword [0x14086f7bc]
test eax, eax
je 0x140034e6e
mov rax, qword [0x14086f3a8]
mov qword [rbp + 0xd8], rax
mov eax, dword [0x14086f7e4]
or eax, 0xf003f
cdqe
mov qword [rbp + 0xd0], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xc8]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x188], rax
jmp 0x140034eba
nop
mov rax, qword [0x14086f3a8]
mov qword [rbp + 0xb8], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0
jne 0x140035295
mov qword [rbp + 0x178], 0x400
call fcn.1400e5120
call fcn.1400e5120
call fcn.1400e5180
mov edx, eax
mov rax, qword [rbp + 0x178]
mov rcx, rax
call fcn.1400e2ad0
call fcn.1400e5180
mov edx, eax
lea rax, [rbp - 0x28]
mov rcx, rax
call fcn.1400e53d0
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0xa0], rax
cmp qword [rbp + 0xa0], 2
jne 0x140034f96
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call fcn.1400e2a20
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp], rax
mov rax, qword [rbp + 8]
add rax, rax
add rax, 1
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 8]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 2
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x188], rax
jmp 0x14003526a
cmp qword [rbp + 0xa0], 1
jne 0x140035018
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call fcn.1400e2a20
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x28]
add rax, rax
add rax, 1
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], rdx
mov r9d, 1
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x188], rax
jmp 0x14003526a
cmp qword [rbp + 0xa0], 4
jne 0x140035090
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call fcn.1400e3080
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], 4
mov rdx, qword [rbp + 0x38]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x188], rax
jmp 0x14003526a
cmp qword [rbp + 0xa0], 3
jne 0x140035269
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call fcn.1400e2a20
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov rdx, rax
shr rdx, 0x3f
add rax, rdx
sar rax, 1
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x180]
mov rcx, rax
call fcn.1400e3800
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x190], 0
mov rax, qword [rbp + 0x180]
cmp rax, qword [rbp + 0x190]
jle 0x1400351f7
call fcn.1400e5120
call fcn.1400e5120
mov rax, qword [rbp + 0x190]
add rax, rax
add rax, 1
mov qword [rbp + 0x88], rax
call fcn.1400e5180
mov ecx, eax
mov rax, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0x88]
mov r9d, ecx
mov r8d, 2
mov rcx, rax
call fcn.1400e24b0
call fcn.1400e5180
mov edx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.1400e53d0
call fcn.1400e5120
call fcn.1400e5120
lea rax, [0x140847862]
mov rcx, rax
call fcn.1400e5360
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.1400e5360
call fcn.1400e52d0
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov rcx, rax
call fcn.1400e3080
mov qword [rbp + 0x78], rax
call fcn.1400e51f0
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x158], rax
mov rdx, qword [rbp + 0x168]
mov rax, qword [rbp + 0x190]
add rax, rdx
mov qword [rbp + 0x70], rax
mov rdx, qword [rbp + 0x158]
mov rax, qword [rbp + 0x70]
mov rcx, rax
call fcn.1400e3bf0
mov qword [rbp + 0x68], rax
add qword [rbp + 0x190], 1
jmp 0x1400350fe
nop
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp + 0x180]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9d, 3
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov rcx, rax
call fcn.1400e37e0
mov qword [rbp + 0x48], rax
jmp 0x14003526a
nop
mov rax, qword [rbp - 0x30]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x170], 1
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x198], rax
jmp 0x1400352c0
nop
mov rax, qword [rbp - 0x30]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x20], rax
mov qword [rbp + 0x170], 0
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x198], rax
nop
mov rax, qword [rbp + 0x1d0]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
call fcn.1400e5630
mov rax, qword [rbp + 0x198]
add rsp, 0x220
pop rbp
ret