Function at 0x1400e31c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov r13, rcx
mov rsi, rdx
lea rcx, [0x140158a10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e3614
lea rdx, str.RtlGetFunctionTableListHead
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e3614
call rax
xor edi, edi
lea r8, [rsp + 0x60]
mov r9d, 0x10
mov qword [rsp + 0x20], rdi
mov rdx, rax
mov rcx, r13
mov r12, rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
js 0x1400e3619
mov r15, qword [rsp + 0x60]
mov r14d, edi
cmp r15, r12
je 0x1400e329b
cmp r14d, 0x800
jae 0x1400e329b
mov r9d, 0x58
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x70]
mov rdx, r15
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
js 0x1400e3619
cmp rsi, qword [rbp - 0x70]
jb 0x1400e328e
cmp rsi, qword [rbp - 0x68]
jb 0x1400e32a5
mov r15, qword [rsp + 0x70]
inc r14d
cmp r15, r12
jne 0x1400e3253
mov ebx, 0xc0000225
jmp 0x1400e3619
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1400e3333
mov edx, 0xff
lea rcx, [rbp + 0x30]
mov r8d, 0x400
call fcn.140131400
lea rax, [rbp + 0x488]
mov r9d, 0x400
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ecx, 0x80000000
mov ebx, eax
add eax, ecx
test ecx, eax
jne 0x1400e3301
cmp ebx, 0x8000000d
jne 0x1400e3619
mov ecx, edi
mov eax, ecx
cmp word [rbp + rax*2 + 0x30], di
je 0x1400e3320
inc ecx
cmp ecx, 0x200
jb 0x1400e3303
mov ebx, 0x80000005
jmp 0x1400e3619
add cx, cx
lea rax, [rbp + 0x30]
mov word [rsp + 0x40], cx
mov word [rsp + 0x42], cx
jmp 0x1400e333e
mov word [rbp + 0x30], di
mov rax, rdi
mov dword [rsp + 0x40], edi
movsd xmm1, qword [rbp - 0x40]
movsd qword [rbp + 0x20], xmm1
mov r12d, dword [rbp + 0x20]
mov qword [rsp + 0x48], rax
cmp r12d, 2
jne 0x1400e34d6
test rax, rax
jne 0x1400e336a
mov ebx, 0xc000000d
jmp 0x1400e3619
lea r9, [0x14018ac48]
mov dword [rsp + 0x20], edi
mov edx, 0x20019
lea rcx, [rsp + 0x50]
mov r8, 0xfffffffffffffffd
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhOpenKey
mov ebx, eax
test eax, eax
js 0x1400e3619
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x488]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, 2
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
cmp ebx, 0xc0000034
jne 0x1400e33dd
mov ebx, 0xc0000361
jmp 0x1400e3619
lea r9, [rsp + 0x58]
xor edx, edx
lea r8, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
mov ebx, eax
test eax, eax
js 0x1400e3619
mov rcx, qword [rsp + 0x58]
lea rax, str.OutOfProcessFunctionTableCallback
lea r9, [rsp + 0x30]
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov dword [rsp + 0x60], 0x220021
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
mov ebx, eax
test eax, eax
js 0x1400e3445
lea r9, [rsp + 0x38]
mov rdx, r15
lea r8, [rbp + 0x480]
mov rcx, r13
call qword [rsp + 0x30]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
test ebx, ebx
js 0x1400e3619
sub rsi, qword [rbp - 0x60]
mov r8d, dword [rbp + 0x480]
test r8d, r8d
je 0x1400e3492
mov r9, qword [rsp + 0x38]
nop dword [rax]
mov eax, edi
lea rcx, [rax + rax*2]
mov eax, dword [r9 + rcx*4]
lea rdx, [r9 + rcx*4]
cmp rsi, rax
jb 0x1400e348b
mov eax, dword [rdx + 4]
cmp rsi, rax
jb 0x1400e34ba
inc edi
cmp edi, r8d
jb 0x1400e3470
mov ebx, 0xc0000225
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rsp + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400e3619
test rdx, rdx
je 0x1400e3492
movsd xmm0, qword [rdx]
movsd qword [0x140190240], xmm0
mov eax, dword [rdx + 8]
mov dword [0x140190248], eax
jmp 0x1400e3497
mov r15d, dword [rbp + 0x24]
cmp r15d, 0x100000
ja 0x1400e3316
lea rbx, [r15 + r15*2]
mov dword [rsp + 0x28], 4
shl rbx, 2
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
lea rdx, [rbp + 0x488]
mov qword [rbp + 0x488], rdi
mov rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x1400e360d
mov r14, qword [rbp + 0x488]
test r14, r14
je 0x1400e360d
mov rdx, qword [rbp - 0x80]
mov r9, rbx
mov r8, r14
mov qword [rsp + 0x20], rdi
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
js 0x1400e356b
mov qword [rsp + 0x38], r14
mov dword [rbp + 0x480], r15d
jmp 0x1400e35a2
mov r9d, 0x8000
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x488]
mov qword [rbp + 0x488], rdi
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
mov r15d, dword [rbp + 0x480]
mov r14, qword [rsp + 0x38]
test ebx, ebx
js 0x1400e3619
sub rsi, qword [rbp - 0x60]
mov edx, r15d
test r12d, r12d
mov r9, rsi
mov rcx, r14
sete r8b
call fcn.1400e3120
test rax, rax
je 0x1400e35db
movsd xmm0, qword [rax]
movsd qword [0x140190240], xmm0
mov eax, dword [rax + 8]
mov dword [0x140190248], eax
jmp 0x1400e35e0
mov ebx, 0xc0000225
mov r9d, 0x8000
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x488]
mov qword [rbp + 0x488], rdi
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
jmp 0x1400e3619
mov ebx, 0xc0000017
jmp 0x1400e3619
mov ebx, 0xc000007a
mov eax, ebx
mov rbx, qword [rsp + 0x570]
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret