Function at 0x180014560
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x130], rbx
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r8
mov rbx, rdx
mov qword [rbp - 0x41], 7
xor r13d, r13d
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
lea r8d, [r13 + 0x3c]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea rcx, [rbp - 0x59]
call fcn.180007510
nop
cmp qword [rbx + 0x18], 8
jb 0x1800145d0
mov rbx, qword [rbx]
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.180013890
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x180014662
cmp qword [rbp - 0x69], 8
jb 0x180014639
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
cmp qword [rbp - 0x41], 8
jb 0x18001465b
mov rcx, qword [rbp - 0x59]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor al, al
jmp 0x180014d43
mov r8d, 0xd
lea rdx, str.OpenWithList
lea rcx, [rbp - 0x59]
call fcn.180013890
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1800147d1
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1800147a9
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x1800146d6
mov rsi, qword [rsi]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdi, [0x180039828]
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18001472d
cmp qword [rbp - 0x69], 8
jb 0x180014716
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x18001464b
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.MRUList
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180014781
cmp qword [rbp - 0x69], 8
jb 0x18001476a
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x18001464b
cmp qword [rbp - 0x69], 8
jb 0x180014792
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x180014d31
cmp qword [rbp - 0x69], 8
jb 0x1800147ba
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x18001464b
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r13
mov word [rbp - 9], r13w
mov r8d, 7
lea rdx, str.MRUList
lea rcx, [rbp - 9]
call fcn.180007510
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r13
mov word [rbp - 0x31], r13w
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x31]
call fcn.180007510
nop
mov qword [rsp + 0x38], 0xffffffff80000001
lea r9, [rsp + 0x48]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x31]
lea rcx, [rsp + 0x38]
call fcn.180014200
test al, al
sete dil
cmp qword [rbp - 0x19], 8
jb 0x18001486a
mov rcx, qword [rbp - 0x31]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r13
mov word [rbp - 0x31], r13w
cmp qword [rbp + 0xf], 8
jb 0x18001488b
mov rcx, qword [rbp - 9]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test dil, dil
je 0x180014975
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x1800148a2
mov rsi, qword [rsi]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdi, [0x180039828]
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1800148f9
cmp qword [rbp - 0x69], 8
jb 0x1800148e2
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x18001464b
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.MRUList
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18001494d
cmp qword [rbp - 0x69], 8
jb 0x180014936
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x18001464b
cmp qword [rbp - 0x69], 8
jb 0x18001495e
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x180014d31
mov r12, qword [rbp - 0x71]
test r12, r12
jne 0x180014a63
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x180014990
mov rsi, qword [rsi]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdi, [0x180039828]
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1800149e7
cmp qword [rbp - 0x69], 8
jb 0x1800149d0
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x18001464b
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.MRUList
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180014a3b
cmp qword [rbp - 0x69], 8
jb 0x180014a24
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x18001464b
cmp qword [rbp - 0x69], 8
jb 0x180014a4c
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r13
mov word [rsp + 0x48], r13w
jmp 0x180014d31
lea r14, [rsp + 0x48]
mov r15, qword [rsp + 0x48]
mov r13, qword [rbp - 0x69]
cmp r13, 8
cmovae r14, r15
lea rax, [rsp + 0x48]
cmovae rax, r15
lea rdi, [rax + r12*2]
lea rbx, [rsp + 0x48]
cmovae rbx, r15
cmp rbx, rdi
je 0x180014abb
sub r14, rbx
movzx ecx, word [rbx]
call qword [sym.imp.MSVCR100.dll_tolower]
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, rdi
jne 0x180014a97
mov r13, qword [rbp - 0x69]
mov r12, qword [rbp - 0x71]
mov r15, qword [rsp + 0x48]
mov edi, 0x61
xor r8d, r8d
movzx edx, di
lea rcx, [rsp + 0x48]
call fcn.180013730
cmp rax, 0xffffffffffffffff
je 0x180014b07
inc di
cmp di, 0x7a
jne 0x180014ac0
cmp r13, 8
jb 0x180014aed
mov rcx, r15
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
xor r14d, r14d
mov qword [rbp - 0x71], r14
mov word [rsp + 0x48], r14w
jmp 0x18001464b
or rax, 0xffffffffffffffff
sub rax, r12
cmp rax, 1
ja 0x180014b22
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rbx, [r12 + 1]
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x180014b44
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
cmp r13, rbx
jae 0x180014b68
mov r8, r12
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.180003670
mov r13, qword [rbp - 0x69]
mov r12, qword [rbp - 0x71]
mov r15, qword [rsp + 0x48]
jmp 0x180014b94
test rbx, rbx
jne 0x180014b94
xor r14d, r14d
mov qword [rbp - 0x71], r14
lea rax, [rsp + 0x48]
cmp r13, 8
cmovae rax, r15
mov word [rax], r14w
mov r13, qword [rbp - 0x69]
mov r12, qword [rbp - 0x71]
mov r15, qword [rsp + 0x48]
jmp 0x180014b97
xor r14d, r14d
test rbx, rbx
setne al
test al, al
je 0x180014bcc
lea rax, [rsp + 0x48]
cmp r13, 8
cmovae rax, r15
mov word [rax + r12*2], di
mov qword [rbp - 0x71], rbx
lea rax, [rsp + 0x48]
cmp qword [rbp - 0x69], 8
cmovae rax, qword [rsp + 0x48]
mov word [rax + rbx*2], r14w
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], di
mov qword [rbp - 0x21], 1
mov word [rbp - 0x2f], r14w
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x180014bf3
mov rsi, qword [rsi]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp - 0x31]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180014c65
cmp qword [rbp - 0x19], 8
jb 0x180014c2c
mov rcx, qword [rbp - 0x31]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
cmp qword [rbp - 0x69], 8
jb 0x180014c4e
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r14
mov word [rsp + 0x48], r14w
jmp 0x18001464b
lea rcx, [rsp + 0x48]
cmp qword [rbp - 0x69], 8
cmovae rcx, qword [rsp + 0x48]
mov eax, dword [rbp - 0x71]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.MRUList
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180014ced
cmp qword [rbp - 0x19], 8
jb 0x180014cb4
mov rcx, qword [rbp - 0x31]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
cmp qword [rbp - 0x69], 8
jb 0x180014cd6
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r14
mov word [rsp + 0x48], r14w
jmp 0x18001464b
cmp qword [rbp - 0x19], 8
jb 0x180014cfd
mov rcx, qword [rbp - 0x31]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
cmp qword [rbp - 0x69], 8
jb 0x180014d1f
mov rcx, qword [rsp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x69], 7
mov qword [rbp - 0x71], r14
mov word [rsp + 0x48], r14w
cmp qword [rbp - 0x41], 8
jb 0x180014d41
mov rcx, qword [rbp - 0x59]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov al, 1
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.18002f870
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret