Function at 0x10000b110
Capabilities:
Set registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x70
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rdi
mov rax, qword [0x100011100]
xor rax, rbp
mov qword [rbp + 0x38], rax
mov r13, rcx
mov qword [rbp + 0x30], rcx
xor r14d, r14d
mov ecx, 0x2000
mov qword [rbp], r9
mov qword [rbp + 0x10], r8
mov rbx, r14
mov qword [rbp + 0x18], rdx
call qword [sym.imp.msvcrt.dll_malloc]
mov r15, rax
mov qword [rbp + 8], rax
cmp rax, r14
jne 0x10000b17a
mov eax, 0x8007000e
jmp 0x10000b71e
mov rdx, rax
mov rcx, r13
call fcn.10000af88
cmp eax, r14d
mov edi, eax
jl 0x10000b4e2
mov eax, dword [0x100011978]
mov ecx, 8
lea edx, [rcx + 0xb]
lea r8d, [rcx + 9]
test al, 1
jne 0x10000b1ef
or eax, 1
mov word [0x100011b18], cx
mov word [0x100011b28], dx
mov dword [0x100011978], eax
lea rax, [0x100001a80]
mov word [0x100011b38], r8w
mov qword [0x100011b10], rax
lea rax, [0x100001a7c]
mov qword [0x100011b20], rax
lea rax, [0x100001a78]
mov qword [0x100011b30], rax
lea r12, [0x100011b10]
mov edi, r14d
mov rsi, r12
mov rdx, qword [rsi]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
je 0x10000b222
inc edi
add rsi, 0x10
cmp edi, 3
jb 0x10000b1fc
mov edi, 0x80020009
jmp 0x10000b4e2
movsxd rax, edi
mov ecx, 0x2000
add rax, rax
movzx r12d, word [r12 + rax*8 + 8]
call qword [sym.imp.msvcrt.dll_malloc]
mov rdi, rax
cmp rax, r14
je 0x10000b4dd
mov rcx, qword [r13]
movzx eax, word [rcx]
cmp eax, 9
jl 0x10000b26c
cmp eax, 0xa
jle 0x10000b260
cmp eax, 0xd
je 0x10000b260
cmp eax, 0x20
jne 0x10000b26c
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r13], rax
jmp 0x10000b245
mov rdx, rdi
mov rcx, r13
call fcn.10000af88
cmp eax, r14d
mov esi, eax
jge 0x10000b28e
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov edi, esi
jmp 0x10000b4e2
movzx eax, r12w
cmp eax, 8
je 0x10000b485
cmp eax, 0x11
je 0x10000b316
cmp eax, 0x13
jne 0x10000b2ea
lea r9, [rbp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov r11d, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
mov rcx, qword [rcx]
mov rdx, qword [rbp + 0x10]
lea rax, [rbp + 8]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rbp + 8], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r12, qword [rbp]
mov rcx, qword [rbp + 0x30]
mov rdx, r12
call fcn.10000af88
mov rcx, rdi
cmp eax, r14d
mov esi, eax
jge 0x10000b700
call qword [sym.imp.msvcrt.dll_free]
mov rcx, r15
jmp 0x10000b6f1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r13, eax
test r13b, 1
je 0x10000b33b
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov edi, 0x80004005
jmp 0x10000b4e2
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
movsxd r14, eax
cmp r14d, 0x400
ja 0x10000b384
mov rcx, r14
mov rsi, r14
call fcn.10000a800
test al, al
je 0x10000b384
lea rax, [r14 + 0xf]
cmp rax, r14
ja 0x10000b371
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.10000f300
sub rsp, rax
lea r12, [rsp + 0x30]
jmp 0x10000b3aa
lea rcx, [r14 + 0x10]
mov rsi, r14
cmp rcx, r14
jae 0x10000b395
xor r12d, r12d
jmp 0x10000b3aa
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
je 0x10000b390
and qword [rax], rbx
lea r12, [rax + 0x10]
mov rbx, rax
test r12, r12
jne 0x10000b3d8
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, r15
jmp 0x10000b3c3
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
test rbx, rbx
jne 0x10000b3bd
mov eax, 0x80004005
jmp 0x10000b71e
mov r8, rsi
xor edx, edx
mov rcx, r12
call sub.msvcrt.dll_memset
xor r11d, r11d
xor r9d, r9d
test r13d, r13d
jle 0x10000b459
movzx r8d, word [rdi + r9*2]
cmp r8d, 0x30
mov eax, r8d
jl 0x10000b427
cmp eax, 0x39
jle 0x10000b421
cmp eax, 0x40
jle 0x10000b427
cmp eax, 0x46
jle 0x10000b41b
add eax, 0xffffff9f
cmp eax, 5
ja 0x10000b427
sub r8b, 0x57
jmp 0x10000b42a
sub r8b, 0x37
jmp 0x10000b42a
sub r8b, 0x30
jmp 0x10000b42a
xor r8b, r8b
mov eax, r11d
mov ecx, r11d
inc r9
cdq
and ecx, 1
inc r11d
sub eax, edx
shl ecx, 2
sar eax, 1
movsxd rdx, eax
mov eax, 4
sub eax, ecx
mov cl, al
shl r8b, cl
or byte [rdx + r12], r8b
cmp r9, r13
jl 0x10000b3f0
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov r9d, 3
mov rcx, qword [rcx]
xor r8d, r8d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor r14d, r14d
jmp 0x10000b2ea
mov r15, r14
cmp byte [rbp + 0x90], r14b
je 0x10000b69d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xffe
jle 0x10000b4b9
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov r15, qword [rbp + 8]
mov edi, 0x80004005
jmp 0x10000b4e2
mov ecx, 0x2000
call qword [sym.imp.msvcrt.dll_malloc]
mov r15, rax
mov qword [rbp + 0x28], rax
cmp rax, r14
jne 0x10000b4f2
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov r15, qword [rbp + 8]
mov edi, 0x8007000e
mov rcx, r15
call qword [sym.imp.msvcrt.dll_free]
mov eax, edi
jmp 0x10000b71e
mov r12, qword [r13 + 8]
mov esi, r14d
cmp dword [r12 + 8], r14d
jle 0x10000b53f
mov r13, r14
mov rax, qword [r12]
lea rdx, [0x100002b00]
mov rcx, qword [r13 + rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
je 0x10000b530
inc esi
add r13, 8
cmp esi, dword [r12 + 8]
jl 0x10000b503
jmp 0x10000b53f
mov rax, qword [r12]
movsxd rcx, esi
mov rcx, qword [rax + rcx*8]
mov r14, qword [rcx + 8]
xor edx, edx
mov rsi, rdi
cmp r14, rdx
je 0x10000b697
cmp word [r14], dx
je 0x10000b5ce
cmp word [rdi], dx
je 0x10000b5cb
mov r12, rsi
mov r13, r14
cmp word [rsi], dx
je 0x10000b5a9
cmp word [r13], dx
je 0x10000b689
mov cx, word [r12]
cmp cx, word [r13]
jne 0x10000b5a9
mov rcx, r12
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, r13
mov r15, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, r15
sub rax, r13
sub rcx, r12
xor rax, rcx
test rax, 0xfffffffffffffffe
je 0x10000b672
xor edx, edx
cmp word [r13], dx
je 0x10000b689
mov rcx, rsi
call qword [sym.imp.USER32.dll_CharNextW]
xor edx, edx
mov rsi, rax
cmp word [rax], dx
jne 0x10000b558
mov r15, qword [rbp + 0x28]
mov rsi, rdx
mov r12, qword [rbp]
cmp rsi, rdx
je 0x10000b692
cmp rsi, r12
je 0x10000b5f8
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharPrevW]
cmp word [rax], 0x22
je 0x10000b692
xor edx, edx
mov word [r15], dx
mov r8, rsi
mov rcx, r15
sub r8, rdi
mov rdx, rdi
sar r8, 1
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rdx, [0x100002b10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x100002b10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rdx, [rsi + rcx*2]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rsi, r15
xor r14d, r14d
jmp 0x10000b6a4
add r12, 2
add r13, 2
mov cx, word [r12]
cmp cx, word [r13]
je 0x10000b677
cmp r12, r15
jb 0x10000b65e
xor edx, edx
cmp word [r12], dx
jne 0x10000b563
jmp 0x10000b5a9
mov r15, qword [rbp + 0x28]
jmp 0x10000b5ce
xor r14d, r14d
jmp 0x10000b6a1
mov r12, qword [rbp]
jmp 0x10000b659
mov r12, qword [rbp]
mov rsi, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rcx]
lea eax, [rax + rax + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp r15, r14
je 0x10000b6e2
mov rcx, r15
call qword [sym.imp.msvcrt.dll_free]
mov r15, qword [rbp + 8]
jmp 0x10000b2ee
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, r14
jne 0x10000b6eb
mov eax, esi
jmp 0x10000b71e
call qword [sym.imp.msvcrt.dll_free]
mov rcx, r15
jmp 0x10000b711
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, r14
jne 0x10000b70b
xor eax, eax
mov rcx, qword [rbp + 0x38]
xor rcx, rbp
call fcn.10000ed30
mov rbx, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x78]
mov rdi, qword [rbp + 0x80]
lea rsp, [rbp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret