Function at 0x14003b860
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rbp - 0x18], rax
xor eax, eax
mov r12, rcx
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x38], eax
mov esi, eax
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], eax
mov r15, r9
mov r14, r8
mov r13, rdx
call fcn.1400467d4
mov rax, qword [rbp - 0x20]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov rdx, r13
mov rcx, r12
call fcn.14003b3c0
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14003b90c
cmp dword [rbp - 0x30], 8
jne 0x14003b9b2
mov rdi, qword [rbx]
call fcn.140035b20
xor ebx, ebx
mov ecx, 1
test eax, eax
cmovne ebx, ecx
lea rcx, [rbp - 0x28]
call fcn.1400467d4
test ebx, ebx
mov ecx, 0x708
mov edx, 0x15180
cmove ecx, edx
add rcx, rdi
cmp qword [rbp - 0x28], rcx
jle 0x14003b993
mov rbx, qword [r12]
lea r9, [rbp - 0x28]
mov edx, 8
mov qword [rbp - 0x28], rsi
lea rcx, [rbp - 0x20]
call fcn.140036e00
mov rdi, rax
test eax, eax
je 0x14003b993
lea rax, [rbp - 0x20]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rbp - 0x28]
test eax, eax
jne 0x14003b97e
mov rcx, qword [rbp - 0x20]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, r13
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, edi
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov eax, esi
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
jbe 0x14003b993
lea rcx, [rbx + 9]
lea rdx, [0x14006d404]
call fcn.140038290
mov rdi, rax
test rax, rax
je 0x14003b993
mov rsi, qword [rbx]
test rsi, rsi
je 0x14003bb30
call fcn.140035b20
xor ebx, ebx
mov ecx, 1
test eax, eax
cmovne ebx, ecx
lea rcx, [rbp - 0x28]
call fcn.1400467d4
test ebx, ebx
mov ecx, 0x708
mov edx, 0x15180
cmove ecx, edx
add rcx, rsi
cmp qword [rbp - 0x28], rcx
jg 0x14003bb30
cmp qword [rdi + 8], 0
jbe 0x14003bbbb
mov rbx, 0xffffffffffffffff
test r14, r14
je 0x14003ba3c
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14003ba30
jmp 0x14003ba3e
xor ecx, ecx
test r15, r15
je 0x14003ba56
mov rax, rbx
inc rax
cmp byte [r15 + rax], 0
jne 0x14003ba46
add rax, 2
jmp 0x14003ba5b
mov eax, 1
lea r12, [rax + rcx]
mov rcx, r12
call fcn.1400462e4
mov rsi, rax
test rax, rax
je 0x14003bbbb
mov byte [rax], 0
test r14, r14
je 0x14003ba89
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.140046b08
test r15, r15
je 0x14003baae
lea r8, [0x14006d408]
mov rdx, r12
mov rcx, rsi
call fcn.140046b08
mov r8, r15
mov rdx, r12
mov rcx, rsi
call fcn.140046b08
mov r11, qword [rdi + 8]
xor r10d, r10d
test r11, r11
je 0x14003bb2b
mov r9, qword [rdi]
nop dword [rax]
mov rax, qword [r9]
test rax, rax
je 0x14003bae7
mov r8, rsi
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003bae3
inc rax
test ecx, ecx
jne 0x14003bad0
test edx, edx
je 0x14003bb23
inc r10d
add r9, 8
movsxd rax, r10d
cmp rax, r11
jb 0x14003bac0
mov r14d, dword [rbp - 0x38]
nop word [rax + rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14003bb00
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.1400452a0
mov rcx, rsi
call fcn.1400462d0
jmp 0x14003bbbf
mov r14d, 1
jmp 0x14003bb00
mov r14d, r10d
jmp 0x14003bb00
mov rbx, qword [r12]
lea r9, [rbp - 0x28]
mov edx, 8
mov qword [rbp - 0x28], 0
lea rcx, [rbp - 0x20]
call fcn.140036e00
mov rsi, rax
test eax, eax
je 0x14003bbbb
lea rax, [rbp - 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rbp - 0x28]
test eax, eax
jne 0x14003bba6
mov rcx, qword [rbp - 0x30]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov rdx, r13
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, esi
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov r14d, dword [rbp - 0x38]
xor esi, esi
mov ebx, esi
cmp qword [rdi + 8], rbx
jbe 0x14003bbec
nop dword [rax]
mov rcx, qword [rdi]
mov rcx, qword [rcx + rbx*8]
call fcn.1400462d0
mov rax, qword [rdi]
mov qword [rax + rbx*8], rsi
inc rbx
cmp rbx, qword [rdi + 8]
jb 0x14003bbd0
mov rcx, qword [rdi]
call fcn.1400462d0
mov rcx, rdi
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x18], esi
call fcn.1400462d0
mov eax, r14d
jmp 0x14003b995