Function at 0x14003a030
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r13
lea rbp, [rsp - 0x618]
sub rsp, 0x718
mov rax, qword [0x14009d438]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov qword [rsp + 0x60], rdx
mov rsi, r9
mov r13d, r8d
test r9, r9
jne 0x14003a417
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14003a42d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x34], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.clsid
mov dword [rsp + 0x30], 0x100
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003a40a
mov qword [rsp + 0x710], rbx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x708], r12
xor ebx, ebx
mov qword [rsp + 0x700], r14
lea r12d, [rsi - 1]
mov r14d, ebx
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rax + rdx], bl
jne 0x14003a100
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_CharLowerBuffA]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000000
lea rdx, str.clsid
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14003a3f2
mov qword [rsp + 0x6f8], r15
xor edi, edi
mov r15d, ebx
test r14d, r14d
jne 0x14003a2ce
mov rcx, qword [rsp + 0x40]
lea r8, [rbp + 0x1e0]
mov r9d, 0x200
mov edx, r15d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
inc r15d
test eax, eax
jne 0x14003a2ce
lea rax, [rbp + 0x1e0]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rax + rdx], dil
jne 0x14003a180
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.USER32.dll_CharLowerBuffA]
lea rax, [rbp + 0x1e0]
lea r8, [rbp + 0x10]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003a1b7
inc rax
test ecx, ecx
jne 0x14003a1a4
test edx, edx
jne 0x14003a140
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x1e0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14003a2c0
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InprocServer32
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14003a2b5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rbp + 0x3e0]
mov dword [rsp + 0x3c], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x38], 0x200
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x14003a2aa
xorps xmm0, xmm0
mov byte [rbp - 0x80], 0x88
xor eax, eax
lea rdx, [rbp - 0x80]
mov r8d, 0x4000
mov dword [rbp + 1], eax
lea rcx, [rbp + 0x3e0]
mov word [rbp + 5], ax
movups xmmword [rbp - 0x7f], xmm0
mov byte [rbp + 7], al
movups xmmword [rbp - 0x6f], xmm0
movups xmmword [rbp - 0x5f], xmm0
movups xmmword [rbp - 0x4f], xmm0
movups xmmword [rbp - 0x3f], xmm0
movups xmmword [rbp - 0x2f], xmm0
movups xmmword [rbp - 0x1f], xmm0
movups xmmword [rbp - 0xf], xmm0
call qword [sym.imp.KERNEL32.dll_OpenFile]
test eax, eax
cmovne r12d, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14d, 1
test ebx, ebx
je 0x14003a140
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rsp + 0x6f8]
mov rdi, qword [rsp + 0x60]
test r12d, r12d
jne 0x14003a3f2
mov ecx, 0x2a8
call fcn.14003d494
mov rsi, rax
test rax, rax
je 0x14003a3f2
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x2a4
call fcn.14003f2c0
lea rax, [rbp + 0x110]
mov dword [rsp + 0x28], 0x64
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x10]
mov dword [rsi], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x110]
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x14003a360
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi + 4], xmm0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x34], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.description
mov dword [rsp + 0x30], 0x100
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003a3d0
lea rdx, [rbp + 0x10]
mov rax, rsi
sub rax, rdx
lea rcx, [rbp + 0x10]
lea rdx, [rax + 0x214]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14003a3c0
jmp 0x14003a3f2
mov rdx, rsi
sub rdx, rdi
nop word [rax + rax]
movzx ecx, byte [rdi]
mov byte [rdx + rdi + 0x214], cl
lea rdi, [rdi + 1]
test cl, cl
jne 0x14003a3e0
mov r12, qword [rsp + 0x708]
mov rbx, qword [rsp + 0x710]
mov r14, qword [rsp + 0x700]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003a42d
mov r9, qword [r9 + 0x2a0]
inc r8d
call fcn.14003a030
mov qword [rsi + 0x2a0], rax
mov rax, rsi
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.14003ca20
add rsp, 0x718
pop r13
pop rdi
pop rsi
pop rbp
ret