Function at 0x14003e970
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rbp], rax
mov r12, r8
mov r15, rdx
mov rbx, rcx
xor edi, edi
mov rcx, rdx
call fcn.1400317c8
xor esi, esi
mov qword [rsp + 0x78], rsi
and dword [rbp - 0x80], esi
and qword [rbp - 0x78], rsi
and qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [r12]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003ebdb
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x78], rsi
and dword [rbp - 0x80], eax
xor r14d, r14d
mov dword [rsp + 0x48], 0x32
call fcn.140002dfc
mov rcx, rax
test rax, rax
je 0x14003ec0e
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea ecx, [rdi + 1]
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x32
or eax, ecx
jge 0x14003ea3d
lea edx, [rdi + 0x32]
lea rcx, [rsp + 0x40]
call fcn.1400028a0
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 8], 1
jle 0x14003ea55
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140002948
mov rbx, qword [rsp + 0x40]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8, rbx
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14003ebba
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, eax
test eax, eax
js 0x14003ebba
and qword [rsp + 0x60], 0
and dword [rsp + 0x68], 0
and qword [rsp + 0x70], 0
mov r9d, 0x20019
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14000cbd8
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14003eba9
lea rcx, [rbp - 0x50]
call fcn.14003ce3c
nop
movups xmm0, xmmword [rbp - 0x68]
movdqu xmmword [rbp - 0x48], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14003ffb0
mov edi, eax
test eax, eax
js 0x14003eb15
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.14003eeec
jmp 0x14003eb7b
mov rcx, qword [r12]
sub rcx, 0x18
call fcn.14000a2b4
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r8, rbx
lea rdx, [0x140075380]
lea rcx, [rsp + 0x58]
call fcn.14000a5f0
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov edx, edi
lea rcx, str.Binding_Redirect___CodeBase_entry_from_configuration_hive_is_malformed__ignoring.
call fcn.140032190
xor edi, edi
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003eb71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
inc r14d
mov dword [rsp + 0x48], 0x32
lea rcx, [rbp - 0x50]
call fcn.14002a7ec
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003ea3d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003ea3d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003ebba
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003ebd4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x78]
jmp 0x14003ebe0
mov edi, 1
test rsi, rsi
je 0x14003ebee
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140052570
add rsp, 0x110
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002fa4
int3