Function at 0x14001c908
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.14005dd10
sub rsp, rax
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14009b3d0]
xor rax, rbp
mov qword [rbp + 0x1160], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x30], r9
xor edi, edi
mov word [rbp], di
lea rdx, [rbp + reloc.MurocApi.dll_Ordinal_352]
call fcn.140020a24
test eax, eax
js 0x14001ce2c
lea rdx, [rbp]
lea rcx, [rbp + reloc.MurocApi.dll_Ordinal_352]
call fcn.140024908
test eax, eax
jne 0x14001c991
mov eax, 0x80020009
jmp 0x14001ce2c
mov rcx, qword [r15]
cmp byte [rcx], 0x20
ja 0x14001c9b8
movsx rax, byte [rcx]
movabs rdx, 0x100002600
bt rdx, rax
jae 0x14001c9b8
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r15], rax
jmp 0x14001c991
lea rdx, [rbp + reloc.MurocApi.dll_Ordinal_352]
mov rcx, r15
call fcn.140020a24
test eax, eax
js 0x14001ce2c
movzx eax, word [rbp]
cmp eax, 8
je 0x14001cdd6
cmp eax, 0x11
je 0x14001cc7b
cmp eax, 0x13
je 0x14001cafa
cmp eax, 0x4008
jne 0x14001ce19
lea rcx, [rbp + reloc.MurocApi.dll_Ordinal_352]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add eax, 2
mov qword [rbp + 0x50], rdi
movsxd rcx, eax
test eax, eax
je 0x14001ca41
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jb 0x14001ce4f
cmp rcx, 0x100
jbe 0x14001ca41
mov rdx, rcx
lea rcx, [rbp + 0x50]
call fcn.14001da58
mov rbx, qword [rbp + 0x50]
jmp 0x14001ca49
lea rbx, [rbp + 0x58]
mov qword [rbp + 0x50], rbx
jmp 0x14001ca5d
test rbx, rbx
je 0x14001cada
lea rsi, [rbp + reloc.MurocApi.dll_Ordinal_352]
cmp byte [rbp + reloc.MurocApi.dll_Ordinal_352], dil
je 0x14001cabf
mov rcx, rsi
call qword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [rsi]
cmp cl, 0x5c
jne 0x14001ca98
cmp byte [rax], 0x30
jne 0x14001ca98
mov byte [rbx], dil
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextA]
mov rsi, rax
jmp 0x14001cab7
mov byte [rbx], cl
mov cl, byte [rsi]
call qword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x14001cab4
inc rbx
inc rsi
mov al, byte [rsi]
test al, al
je 0x14001cabf
mov byte [rbx], al
inc rsi
inc rbx
cmp byte [rsi], dil
jne 0x14001ca72
and word [rbx], 0
mov r8, qword [rbp + 0x50]
mov rdx, r13
mov rcx, r12
call fcn.1400239e0
mov esi, eax
mov rbx, qword [rbp + 0x50]
jmp 0x14001cadf
mov esi, 0xe
lea rax, [rbp + 0x58]
cmp rbx, rax
je 0x14001ce0c
lea rcx, [rbp + 0x50]
call fcn.14001f468
jmp 0x14001ce0c
mov rbx, rdi
mov qword [rbp + 0x28], rbx
lea rcx, [rbp + reloc.MurocApi.dll_Ordinal_352]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc eax
cdqe
lea rcx, [rax + rax]
mov eax, 0x80000000
add rax, rcx
mov edx, 0xffffffff
cmp rax, rdx
ja 0x14001cbe0
movsxd rsi, ecx
cmp ecx, 0x400
jg 0x14001cb68
mov rcx, rsi
call fcn.140024b80
test al, al
je 0x14001cb68
lea rax, [rsi + 0xf]
cmp rax, rsi
ja 0x14001cb55
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14005dd10
sub rsp, rax
lea r14, [rsp + 0x30]
jmp 0x14001cbab
mov rax, rsi
not rax
cmp rax, 0x10
lea rdx, [rsi + 0x10]
jae 0x14001cb7c
mov rdx, qword [rbp + 0x30]
sbb ecx, ecx
and ecx, 0x80070216
cmp rax, 0x10
jb 0x14001ce5a
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x14001cba1
mov r14, rdi
jmp 0x14001cbab
mov qword [rax], rdi
mov rbx, rax
lea r14, [rax + 0x10]
shr rsi, 1
test r14, r14
je 0x14001cbe0
mov word [r14], di
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
or r9d, 0xffffffff
lea r8, [rbp + reloc.MurocApi.dll_Ordinal_352]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb rcx, rcx
and rcx, r14
jmp 0x14001cbe3
mov rcx, rdi
test rcx, rcx
jne 0x14001cc05
jmp 0x14001cbf6
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x14001cbea
mov eax, 0x8007000e
jmp 0x14001ce2c
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov esi, eax
test eax, eax
jns 0x14001cc34
jmp 0x14001cc28
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x14001cc1c
mov eax, esi
jmp 0x14001ce2c
mov eax, dword [rbp]
mov dword [rbp + 8], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x14001cc71
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x14001cc65
jmp 0x14001ce0c
lea rcx, [rbp + reloc.MurocApi.dll_Ordinal_352]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rsi, rax
mov dword [rbp + 8], eax
test al, 1
je 0x14001cc9b
mov eax, 0x80004005
jmp 0x14001ce2c
cdq
sub eax, edx
sar eax, 1
movsxd r14, eax
mov dword [rbp], r14d
mov qword [rbp + 0x50], rdi
mov rbx, r14
mov qword [rbp + 0x28], rbx
test eax, eax
je 0x14001cce4
xor edx, edx
or rax, 0xffffffffffffffff
div rbx
cmp rax, 1
jb 0x14001ce60
cmp rbx, 0x100
jbe 0x14001cce4
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.14001dab0
mov rcx, qword [rbp + 0x50]
jmp 0x14001ccec
lea rcx, [rbp + 0x58]
mov qword [rbp + 0x50], rcx
jmp 0x14001cd0b
test rcx, rcx
jne 0x14001cd1e
lea rcx, [rbp + 0x50]
call fcn.14001f480
jmp 0x14001cc91
mov r8, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, edi
movsxd r11, esi
test esi, esi
jle 0x14001cd9b
mov r8, rdi
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
movsxd r10, eax
add r10, qword [rbp + 0x50]
mov dl, byte [rbp + r8 + reloc.MurocApi.dll_Ordinal_352]
cmp dl, 0x30
jl 0x14001cd76
cmp dl, 0x39
jle 0x14001cd71
cmp dl, 0x40
jle 0x14001cd76
cmp dl, 0x46
jle 0x14001cd6c
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x14001cd76
sub dl, 0x57
jmp 0x14001cd79
sub dl, 0x37
jmp 0x14001cd79
sub dl, 0x30
jmp 0x14001cd79
mov dl, dil
mov ecx, r9d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
mov cl, al
shl dl, cl
or byte [r10], dl
inc r9d
inc r8
cmp r8, r11
jl 0x14001cd35
mov dword [rsp + 0x28], r14d
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x50], rax
je 0x14001ce0c
lea rcx, [rbp + 0x50]
call fcn.14001f480
jmp 0x14001ce0c
lea rcx, [rbp + reloc.MurocApi.dll_Ordinal_352]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + reloc.MurocApi.dll_Ordinal_352]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x14001ce19
mov ecx, esi
call fcn.14001ddb8
jmp 0x14001ce2c
mov rdx, qword [rbp + 0x30]
mov rcx, r15
call fcn.140020a24
test eax, eax
cmovs edi, eax
mov eax, edi
mov rcx, qword [rbp + 0x1160]
xor rcx, rbp
call fcn.14005d930
lea rsp, [rbp + 0x1178]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070216
call fcn.14001ebd0
nop
call fcn.14001ebd0
nop
mov ecx, 0x80070216
call fcn.14001ebd0
int3