Function at 0x140075c20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push r13
sub rsp, 0x158
mov r13, rdx
lea r10, [0x140136e18]
xor ebx, ebx
mov rdx, rcx
mov dword [rsp + 0x180], ebx
mov ecx, 0x10
mov rax, r13
sub r10, r13
nop word [rax + rax]
movzx r8d, byte [rax]
dec rcx
movzx r9d, byte [r10 + rax]
cmp r8b, r9b
jne 0x140075cb7
inc rax
test rcx, rcx
jne 0x140075c60
mov rax, rdx
cmp word [rdx], bx
je 0x140075c8e
lea rax, [rax + 2]
inc rbx
cmp word [rax], 0
jne 0x140075c81
mov r8, rdx
lea r9, [rbx*2 + 2]
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
call fcn.140058f60
add rsp, 0x158
pop r13
pop rbx
ret
movzx eax, byte [r13 + 0xf]
movzx ecx, byte [r13 + 0xe]
movzx edx, byte [r13 + 0xd]
movzx r8d, byte [r13 + 0xc]
movzx r10d, byte [r13 + 0xb]
movzx r11d, byte [r13 + 0xa]
mov r9, qword [rsp + 0x178]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x88], ecx
mov rcx, qword [rsp + 0x178]
movzx r9d, byte [r9 + 3]
mov dword [rsp + 0x80], edx
mov edx, 0x80
mov dword [rsp + 0x78], r8d
lea r8, str.SystemCurrentControlSetControlMediaCategories_02X_02X_02X_02X__02X_02X__02X_02X__02X_02X__02X_02X_02X_02X_02X_02X
movzx eax, byte [rcx + 1]
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov qword [rsp + 0x150], rbp
movzx ebp, byte [r13 + 6]
mov qword [rsp + 0x148], rsi
movzx esi, byte [r13 + 8]
mov qword [rsp + 0x140], rdi
movzx edi, byte [r13 + 9]
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x138], r12
movzx r12d, byte [r13 + 5]
mov qword [rsp + 0x130], r14
movzx r14d, byte [r13 + 7]
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x128], r15
movzx r15d, byte [r13 + 4]
movzx r13d, byte [r13]
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
movzx eax, byte [rcx + 2]
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call fcn.14003b010
mov r9, rbx
mov r15, qword [rsp + 0x128]
mov r12, qword [rsp + 0x138]
cmp byte [rsp + 0xa0], bl
je 0x140075ddd
nop word [rax + rax]
inc r9
cmp byte [rsp + r9 + 0xa0], bl
jne 0x140075dd0
inc r9
lea r8, [rsp + 0xa0]
lea rdx, str.UTF_8
lea rcx, str.UTF_16LE
call fcn.140058f60
mov rdi, rax
mov r14d, 1
lea rax, [rsp + 0x178]
mov rdx, rdi
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, ebx
lea ebp, [r14 - 2]
test eax, eax
sete sil
test rdi, rdi
je 0x140075e4b
mov rcx, rdi
call qword [fcn.1400614b0]
mov eax, ebp
lock xadd dword [0x140181b40], eax
test esi, esi
jne 0x140075e82
mov r8, qword [rsp + 0x170]
mov rax, r8
cmp word [r8], bx
je 0x14007606d
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + 2]
inc rbx
cmp word [rax], 0
jne 0x140075e70
jmp 0x14007606d
mov rcx, qword [rsp + 0x178]
lea rax, [rsp + 0x180]
mov qword [rsp + 0x28], rax
lea rdx, str.Name
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140075ef2
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x170]
mov rax, r8
cmp word [r8], bx
je 0x14007606d
nop word [rax + rax]
lea rax, [rax + 2]
inc rbx
cmp word [rax], 0
jne 0x140075ee0
jmp 0x14007606d
mov ecx, dword [rsp + 0x180]
add rcx, 2
call qword [fcn.140061120]
mov rsi, rax
test rax, rax
je 0x140076040
lock xadd dword [0x140181b40], r14d
mov rcx, qword [rsp + 0x178]
lea rax, [rsp + 0x180]
mov qword [rsp + 0x28], rax
lea rdx, str.Name
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x178]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140075f92
mov rcx, rsi
call qword [fcn.1400614b0]
lock xadd dword [0x140181b40], ebp
mov r8, qword [rsp + 0x170]
mov rax, r8
cmp word [r8], bx
je 0x14007606d
nop
lea rax, [rax + 2]
inc rbx
cmp word [rax], 0
jne 0x140075f80
jmp 0x14007606d
mov eax, dword [rsp + 0x180]
mov r9, rbx
shr rax, 1
mov word [rsi + rax*2], bx
mov rax, rsi
cmp word [rsi], bx
je 0x140075fbc
nop dword [rax + rax]
lea rax, [rax + 2]
inc r9
cmp word [rax], bx
jne 0x140075fb0
lea r9, [r9*2 + 2]
mov r8, rsi
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
call fcn.140058f60
mov rcx, rsi
mov rdi, rax
call qword [fcn.1400614b0]
lock xadd dword [0x140181b40], ebp
test rdi, rdi
jne 0x14007603b
mov r8, qword [rsp + 0x170]
mov rax, r8
cmp word [r8], bx
je 0x14007601d
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + 2]
inc rbx
cmp word [rax], 0
jne 0x140076010
lea r9, [rbx*2 + 2]
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
call fcn.140058f60
mov rdi, rax
mov rax, rdi
jmp 0x140076088
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x170]
mov rax, r8
cmp word [r8], bx
je 0x14007606d
nop
lea rax, [rax + 2]
inc rbx
cmp word [rax], 0
jne 0x140076060
lea r9, [rbx*2 + 2]
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
call fcn.140058f60
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x148]
mov rbp, qword [rsp + 0x150]
mov r14, qword [rsp + 0x130]
add rsp, 0x158
pop r13
pop rbx
ret