Function at 0x1400f05e0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x11a8
call fcn.14010d1a0
sub rsp, rax
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rbp
mov qword [rbp + 0x1160], rax
mov r15, r8
mov qword [rbp + 0x18], r8
mov r14, rdx
mov qword [rbp + 0x30], rdx
mov rsi, rcx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x10], r8
mov qword [rbp + 0x38], r9
xor r12d, r12d
mov word [rbp], r12w
lea rdx, [rbp + 0x160]
call fcn.1400ee430
test eax, eax
js 0x1400f0ad1
lea rdx, [rbp]
lea rcx, [rbp + 0x160]
call fcn.1400ee160
test eax, eax
jne 0x1400f0673
mov eax, 0x80020009
jmp 0x1400f0ad1
mov rcx, qword [rsi]
movzx eax, byte [rcx]
cmp al, 9
jl 0x1400f0694
cmp al, 0xa
jle 0x1400f0689
cmp al, 0xd
je 0x1400f0689
cmp al, 0x20
jne 0x1400f0694
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [rsi], rax
jmp 0x1400f0673
lea rdx, [rbp + 0x160]
mov rcx, rsi
call fcn.1400ee430
test eax, eax
js 0x1400f0ad1
movzx eax, word [rbp]
cmp eax, 8
je 0x1400f0a79
cmp eax, 0x11
je 0x1400f091e
cmp eax, 0x13
je 0x1400f07e2
cmp eax, 0x4008
jne 0x1400f0abc
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 2
mov qword [rbp + 0x50], r12
movsxd rcx, eax
test eax, eax
je 0x1400f0720
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jae 0x1400f0709
mov ecx, 0x80070216
call fcn.140003e90
cmp rcx, 0x100
jbe 0x1400f0720
mov rdx, rcx
lea rcx, [rbp + 0x50]
call fcn.1400eea40
jmp 0x1400f0728
lea rax, [rbp + 0x58]
mov qword [rbp + 0x50], rax
jmp 0x1400f0739
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x1400f07c1
lea rdi, [rbp + 0x160]
cmp byte [rbp + 0x160], 0
je 0x1400f07a9
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
movzx ecx, byte [rdi]
cmp cl, 0x5c
jne 0x1400f0780
cmp byte [rax], 0x30
jne 0x1400f0780
mov byte [rbx], 0
inc rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextA]
mov rdi, rax
jmp 0x1400f07a4
mov byte [rbx], cl
movzx ecx, byte [rdi]
call qword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x1400f079e
inc rbx
inc rdi
movzx eax, byte [rdi]
test al, al
je 0x1400f07a9
mov byte [rbx], al
inc rbx
inc rdi
cmp byte [rdi], 0
jne 0x1400f0756
mov word [rbx], 0
mov r8, qword [rbp + 0x50]
mov rdx, r15
mov rcx, r14
call fcn.1400edfc0
mov edi, eax
jmp 0x1400f07c6
mov edi, 0xe
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x50], rax
je 0x1400f0aaf
lea rcx, [rbp + 0x50]
call fcn.1400ee9f0
jmp 0x1400f0aaf
mov rbx, r12
mov qword [rbp + 8], rbx
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
movsxd r13, eax
add r13, r13
mov eax, 0x80000000
add rax, r13
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x1400f08f4
cmp r13d, 0x400
jg 0x1400f0852
movsxd rdi, r13d
mov rcx, rdi
call fcn.1400045f0
test al, al
je 0x1400f0852
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x1400f083f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14010d1a0
sub rsp, rax
lea rcx, [rsp + 0x30]
jmp 0x1400f0887
movsxd rdi, r13d
or rax, 0xffffffffffffffff
sub rax, rdi
cmp rax, 0x10
jb 0x1400f08e9
lea rcx, [rdi + 0x10]
call fcn.14010cd34
test rax, rax
jne 0x1400f0879
mov rcx, r12
jmp 0x1400f0887
mov qword [rax], r12
mov rbx, rax
mov qword [rbp + 8], rax
lea rcx, [rax + 0x10]
shr rdi, 1
mov r9d, 3
mov r8d, edi
lea rdx, [rbp + 0x160]
call fcn.140003e20
test rax, rax
je 0x1400f08f4
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov r8d, dword [rbp]
mov rdx, r15
mov rcx, r14
call fcn.1400edf10
mov edi, eax
test rbx, rbx
je 0x1400f0aaf
mov rcx, rbx
mov rbx, qword [rbx]
mov qword [rbp + 8], rbx
call fcn.14010cdec
test rbx, rbx
jne 0x1400f08d0
jmp 0x1400f0aaf
mov ecx, 0x80070216
call fcn.140003e90
nop
test rbx, rbx
je 0x1400f0914
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx]
mov qword [rbp + 8], rbx
call fcn.14010cdec
test rbx, rbx
jne 0x1400f0900
mov eax, 0x8007000e
jmp 0x1400f0ad1
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov dword [rbp + 8], eax
test al, 1
jne 0x1400f09c8
cdq
sub eax, edx
sar eax, 1
movsxd r13, eax
mov dword [rbp], r13d
mov qword [rbp + 0x50], r12
mov rcx, r13
test eax, eax
jne 0x1400f0954
mov rcx, r12
jmp 0x1400f096d
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jae 0x1400f096d
mov ecx, 0x80070216
call fcn.140003e90
cmp rcx, 0x100
jbe 0x1400f0984
mov rdx, rcx
lea rcx, [rbp + 0x50]
call fcn.1400eea70
jmp 0x1400f098c
lea rax, [rbp + 0x58]
mov qword [rbp + 0x50], rax
jmp 0x1400f09ac
mov rcx, qword [rbp + 0x50]
test rcx, rcx
jne 0x1400f09d2
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x50], rax
je 0x1400f09c8
lea rcx, [rbp + 0x50]
call fcn.1400eea00
mov eax, 0x80004005
jmp 0x1400f0ad1
movsxd r8, r13d
xor edx, edx
call fcn.14010da60
mov r14d, r12d
mov r15, r12
movsxd rax, ebx
test ebx, ebx
jle 0x1400f0a3a
mov r13, rax
nop dword [rax]
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
movsxd rdi, eax
mov rbx, qword [rbp + 0x50]
movzx ecx, byte [rbp + r15 + 0x160]
call fcn.1400ee260
movzx r11d, al
mov ecx, r14d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
movzx ecx, al
shl r11b, cl
or byte [rdi + rbx], r11b
inc r14d
inc r15
cmp r15, r13
jl 0x1400f09f0
mov r13d, dword [rbp]
mov dword [rsp + 0x28], r13d
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x50], rax
je 0x1400f0aaf
lea rcx, [rbp + 0x50]
call fcn.1400eea00
jmp 0x1400f0aaf
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test edi, edi
je 0x1400f0abc
mov ecx, edi
call fcn.1400ed9d0
jmp 0x1400f0ad1
mov rdx, qword [rbp + 0x38]
mov rcx, rsi
call fcn.1400ee430
test eax, eax
cmovs r12d, eax
mov eax, r12d
mov rcx, qword [rbp + 0x1160]
xor rcx, rbp
call fcn.14010d170
lea rsp, [rbp + 0x1178]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret