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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140051058]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r8
mov r14d, edx
mov dword [rsp + 0x48], edx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov qword [rsp + 0x70], rsi
and qword [rsp + 0x78], rsi
and qword [rbp - 0x80], rsi
xor r12d, r12d
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x30]
call sub.msvcrt.dll_memset
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x1e0]
call sub.msvcrt.dll_memset
xor r13d, r13d
and dword [rsp + 0x40], r12d
and dword [rsp + 0x4c], r12d
and dword [rsp + 0x44], r12d
xor edi, edi
test edi, edi
jne 0x14002435f
mov dword [rsp + 0x40], 0x104
test rsi, rsi
je 0x1400240d1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov edi, eax
xor esi, esi
mov qword [rsp + 0x70], rsi
test edi, edi
jne 0x14002435f
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x30]
mov edx, r13d
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x1400240a4
inc r13d
lea rcx, [rbp - 0x30]
call qword [sym.imp.msvcrt.dll__wtoi]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
js 0x1400240a4
test r14d, eax
je 0x1400240a4
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14002418b
test rsi, rsi
je 0x140024181
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov edi, eax
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x70], rsi
test edi, edi
jne 0x14002435f
xor r14d, r14d
test edi, edi
jne 0x140024344
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x44], 0x208
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x30]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140024196
inc r14d
lea rdx, [rbp - 0x30]
lea rcx, str.ModificationTime
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140024243
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.msvcrt.dll__wtoi64]
nop dword [rax + rax]
cmp r12, rax
jg 0x140024196
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.msvcrt.dll__wtoi64]
nop dword [rax + rax]
mov r12, rax
jmp 0x140024196
cmp byte [rbp + 0x460], 0
jne 0x14002427c
lea rdx, [rbp - 0x30]
lea rcx, str.446DF4C1_CC4B_443C_A8BA_B5883312C5DB
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140024196
lea rdx, [rbp - 0x30]
lea rcx, str.6510E5BB_5508_49C0_B192_5BB38D0D2F14
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140024196
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x58], r15d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ole32.dll_CLSIDFromString]
nop dword [rax + rax]
test eax, eax
js 0x140024196
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400243a8
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x40], eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
nop dword [rax + rax]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
nop dword [rax + rax]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1400243b3
mov al, byte [0x140051eab]
mov byte [rsp + 0x20], al
lea r9, [rbp - 0x50]
lea rdx, [rbp - 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.140022b4c
nop
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
jmp 0x140024196
cmp edi, 0x103
mov rbx, qword [rsp + 0x58]
mov r14d, dword [rsp + 0x48]
jne 0x1400240a4
jmp 0x1400240a2
mov rax, qword [rsp + 0x68]
mov qword [rax], r12
test rsi, rsi
je 0x14002437b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400027f0
mov rbx, qword [rsp + 0x548]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140007a38
nop
mov ecx, 0x8007000e
call fcn.140007a38
int3