Function at 0x14000f5d0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1198
call fcn.140052940
sub rsp, rax
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14006bbc0]
xor rax, rbp
mov qword [rbp + 0x1150], rax
mov r15, r8
mov r14, rdx
mov r13, rcx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x10], r8
mov qword [rbp + 0x28], r9
xor edi, edi
mov word [rbp], di
lea rdx, [rbp + 0x150]
call fcn.14000ccb8
cmp eax, edi
jl 0x14000faf7
lea rdx, [rbp]
lea rcx, [rbp + 0x150]
call fcn.14000ca80
cmp eax, edi
jne 0x14000f659
mov eax, 0x80020009
jmp 0x14000faf7
mov rcx, qword [r13]
cmp byte [rcx], 9
jl 0x14000f67d
cmp byte [rcx], 0xa
jle 0x14000f671
cmp byte [rcx], 0xd
je 0x14000f671
cmp byte [rcx], 0x20
jne 0x14000f67d
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r13], rax
jmp 0x14000f659
lea rdx, [rbp + 0x150]
mov rcx, r13
call fcn.14000ccb8
cmp eax, edi
jl 0x14000faf7
movzx eax, word [rbp]
cmp eax, 8
je 0x14000faa1
cmp eax, 0x11
je 0x14000f939
cmp eax, 0x13
je 0x14000f7ce
cmp eax, 0x4008
jne 0x14000fae4
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 2
mov qword [rbp + 0x40], rdi
movsxd rcx, eax
cmp rcx, rdi
je 0x14000f70e
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jae 0x14000f6f3
mov ecx, 0x80070057
call fcn.14000a640
cmp rcx, 0x100
jbe 0x14000f70e
mov rdx, rcx
lea rcx, [rbp + 0x40]
call fcn.14000d13c
mov rbx, qword [rbp + 0x40]
jmp 0x14000f716
lea rbx, [rbp + 0x48]
mov qword [rbp + 0x40], rbx
jmp 0x14000f72a
cmp rbx, rdi
je 0x14000f7ae
lea rsi, [rbp + 0x150]
cmp byte [rbp + 0x150], dil
je 0x14000f790
mov rcx, rsi
call qword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [rsi]
cmp cl, 0x5c
jne 0x14000f768
cmp byte [rax], 0x30
jne 0x14000f768
mov byte [rbx], dil
inc rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextA]
mov rsi, rax
jmp 0x14000f78b
mov byte [rbx], cl
mov cl, byte [rsi]
call qword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
cmp eax, edi
je 0x14000f785
inc rbx
inc rsi
mov al, byte [rsi]
cmp al, dil
je 0x14000f790
mov byte [rbx], al
inc rbx
inc rsi
cmp byte [rsi], dil
jne 0x14000f73f
mov byte [rbx], dil
mov byte [rbx + 1], dil
mov r8, qword [rbp + 0x40]
mov rdx, r15
mov rcx, r14
call fcn.14000c828
mov esi, eax
mov rbx, qword [rbp + 0x40]
jmp 0x14000f7b3
mov esi, 0xe
lea rax, [rbp + 0x48]
cmp rbx, rax
je 0x14000fad7
lea rcx, [rbp + 0x40]
call fcn.14000d100
jmp 0x14000fad7
mov rbx, rdi
mov qword [rbp + 0x10], rbx
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
movsxd r12, eax
add r12, r12
mov eax, 0x80000000
add rax, r12
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x14000f804
mov rcx, rdi
jmp 0x14000f8ad
cmp r12d, 0x400
jg 0x14000f843
movsxd rsi, r12d
mov rcx, rsi
call fcn.14000b990
cmp al, dil
je 0x14000f843
lea rax, [rsi + 0xf]
cmp rax, rsi
ja 0x14000f830
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140052940
sub rsp, rax
lea r12, [rsp + 0x30]
jmp 0x14000f874
movsxd rsi, r12d
or rax, 0xffffffffffffffff
sub rax, rsi
cmp rax, 0x10
jb 0x14000f92e
lea rcx, [rsi + 0x10]
call fcn.140025efc
cmp rax, rdi
jne 0x14000f86a
mov r12, rdi
jmp 0x14000f874
mov qword [rax], rdi
mov rbx, rax
lea r12, [rax + 0x10]
shr rsi, 1
cmp r12, rdi
je 0x14000f8aa
mov word [r12], di
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r12
or r9d, 0xffffffff
lea r8, [rbp + 0x150]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb rcx, rcx
and rcx, r12
jmp 0x14000f8ad
mov rcx, rdi
cmp rcx, rdi
jne 0x14000f8d1
cmp rbx, rdi
je 0x14000f8c7
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.140025e6c
cmp rbx, rdi
jne 0x14000f8b7
mov eax, 0x8007000e
jmp 0x14000faf7
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov r11d, dword [rbp]
mov dword [rbp + 8], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp rbx, rdi
je 0x14000fad7
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.140025e6c
cmp rbx, rdi
jne 0x14000f919
jmp 0x14000fad7
mov ecx, 0x80070057
call fcn.14000a640
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov dword [rbp + 8], eax
test al, 1
je 0x14000f959
mov eax, 0x80004005
jmp 0x14000faf7
cdq
sub eax, edx
sar eax, 1
movsxd rsi, eax
mov dword [rbp], esi
mov qword [rbp + 0x40], rdi
mov rcx, rsi
cmp rsi, rdi
je 0x14000f9a4
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jae 0x14000f989
mov ecx, 0x80070057
call fcn.14000a640
cmp rcx, 0x100
jbe 0x14000f9a4
mov rdx, rcx
lea rcx, [rbp + 0x40]
call fcn.14000d168
mov rcx, qword [rbp + 0x40]
jmp 0x14000f9ac
lea rcx, [rbp + 0x48]
mov qword [rbp + 0x40], rcx
jmp 0x14000f9c6
cmp rcx, rdi
jne 0x14000f9e7
lea rax, [rbp + 0x48]
cmp rax, rdi
je 0x14000f9dd
lea rcx, [rbp + 0x40]
call fcn.14000d108
mov eax, 0x80004005
jmp 0x14000faf7
movsxd r8, esi
xor edx, edx
call fcn.140025190
mov r11d, edi
mov r8, rdi
movsxd r10, ebx
cmp r10, rdi
jle 0x14000fa68
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
movsxd r9, eax
add r9, qword [rbp + 0x40]
mov dl, byte [rbp + r8 + 0x150]
cmp dl, 0x30
jl 0x14000fa43
cmp dl, 0x39
jle 0x14000fa3e
cmp dl, 0x40
jle 0x14000fa43
cmp dl, 0x46
jle 0x14000fa39
cmp dl, 0x60
jle 0x14000fa43
cmp dl, 0x66
jg 0x14000fa43
sub dl, 0x57
jmp 0x14000fa46
sub dl, 0x37
jmp 0x14000fa46
sub dl, 0x30
jmp 0x14000fa46
mov dl, dil
mov ecx, r11d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
mov cl, al
shl dl, cl
or byte [r9], dl
inc r11d
inc r8
cmp r8, r10
jl 0x14000f9ff
mov dword [rsp + 0x28], esi
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x40], rax
je 0x14000fad7
lea rcx, [rbp + 0x40]
call fcn.14000d108
jmp 0x14000fad7
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x150]
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 esi, eax
cmp esi, edi
je 0x14000fae4
mov ecx, esi
call fcn.14000a7fc
jmp 0x14000faf7
mov rdx, qword [rbp + 0x28]
mov rcx, r13
call fcn.14000ccb8
cmp eax, edi
cmovl edi, eax
mov eax, edi
mov rcx, qword [rbp + 0x1150]
xor rcx, rbp
call fcn.140025570
lea rsp, [rbp + 0x1168]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret