Function at 0x140009300
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000970e
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x168]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140009436
mov ecx, dword [rbp + 0x160]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov rcx, qword [rbp + 0x170]
test rax, rax
je 0x14000943d
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x168]
xor r8d, r8d
lea rdx, str..Translated
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000942d
mov esi, dword [rdi + 0x10]
mov ebx, r14d
test esi, esi
je 0x14000942d
mov rdx, qword [rsp + 0x48]
nop
lea r8d, [rbx + rbx*4]
shl r8d, 2
add r8, 0x18
add r8, rdi
cmp rdx, qword [rsp + 0x50]
je 0x140009418
movups xmm0, xmmword [r8]
movups xmmword [rdx], xmm0
add rdx, 0x10
mov qword [rsp + 0x48], rdx
jmp 0x140009427
lea rcx, [rsp + 0x40]
call fcn.14001d3d0
mov rdx, qword [rsp + 0x48]
inc ebx
cmp ebx, esi
jb 0x1400093f0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete al
test al, al
je 0x14000970e
movabs rax, 0x4870c89b831aa1ab
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x70], rax
movabs rax, 0xde359432d69df9cf
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x78], rax
movabs rdi, 0xe118defe649d5e5
mov qword [rbp + 0x178], rdi
mov rax, qword [rbp + 0x178]
mov qword [rbp - 0x50], rax
movabs rsi, 0xde359432d6f895a6
mov qword [rbp + 0x178], rsi
mov rax, qword [rbp + 0x178]
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm0
movabs r15, 0x627fff849526a18b
mov qword [rbp + 0x178], r15
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x60], rax
movabs r13, 0xde359432b380f088
mov qword [rbp + 0x178], r13
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x178], rdi
mov rax, qword [rbp + 0x178]
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x178], rsi
mov rax, qword [rbp + 0x178]
mov qword [rbp - 0x38], rax
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x60], xmm0
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
test rax, rax
je 0x14000970e
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov rcx, rbx
test rax, rax
je 0x140009707
sub r12, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140008d70
test al, al
je 0x14000970e
test r12, r12
je 0x14000970e
mov qword [rbp + 0x160], r15
mov rax, qword [rbp + 0x160]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x160], r13
mov rax, qword [rbp + 0x160]
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x160], rdi
mov rax, qword [rbp + 0x160]
mov qword [rbp - 0x30], rax
mov qword [rbp + 0x160], rsi
mov rax, qword [rbp + 0x160]
mov qword [rbp - 0x28], rax
movdqa xmm0, xmmword [rbp - 0x80]
pxor xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r13, rax
test rax, rax
je 0x14000970e
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
cmp rdi, rsi
je 0x140009704
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400096ec
mov rbx, qword [rdi]
mov rdx, qword [rdi + 8]
add rdx, rbx
cmp rbx, rdx
jae 0x1400096e3
nop dword [rax]
nop dword [rax + rax]
mov qword [rbp - 0x68], 0x1000
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x18
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x18
lea r8, [rbp - 0x70]
mov edx, 0x222808
mov rcx, qword [0x140035e90]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test al, al
je 0x1400096cb
mov rsi, r12
and esi, 0xfff
lea rdx, [r12 + r13]
lea rcx, [rsi + r15]
mov r8d, 0x20
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400096f5
add rbx, 0x1000
mov rax, qword [rdi]
add rax, qword [rdi + 8]
cmp rbx, rax
jb 0x140009660
mov rsi, qword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rdi, 0x10
jmp 0x140009621
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r14, [rsi + rbx]
jmp 0x14000970e
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140009751
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000974c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000974c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029230
mov rax, r14
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret