Function at 0x180274160
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
mov rbx, rcx
xor eax, eax
lea rdx, [0x1803ca9d8]
mov rcx, r13
mov dword [rsp + 0x180], eax
mov r8d, 0x10
call fcn.18020f140
test eax, eax
jne 0x1802741cd
mov rcx, rbx
call fcn.1802117d0
mov r8, rbx
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
lea r9, [rax*2 + 2]
call fcn.18025a230
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]
movzx ebx, byte [r13 + 9]
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 + 2]
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x150], rbp
movzx ebp, byte [r13 + 7]
mov qword [rsp + 0x148], rsi
movzx esi, byte [r13 + 6]
mov qword [rsp + 0x140], rdi
movzx edi, byte [r13 + 8]
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x138], r12
movzx r12d, byte [r13]
mov qword [rsp + 0x130], r14
movzx r14d, byte [r13 + 4]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x128], r15
movzx r15d, byte [r13 + 5]
movzx r13d, byte [r13 + 1]
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call fcn.18020f1e0
lea rcx, [rsp + 0xa0]
call fcn.18020f530
lea r8, [rsp + 0xa0]
lea rdx, str.UTF_8
lea rcx, str.UTF_16LE
lea r9, [rax + 1]
call fcn.18025a230
mov rdi, rax
mov r9d, 1
lea rax, [rsp + 0x188]
mov rdx, rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, rdi
mov ebx, eax
call fcn.180256250
mov r15, qword [rsp + 0x128]
mov r14, qword [rsp + 0x130]
mov r12, qword [rsp + 0x138]
mov rbp, qword [rsp + 0x150]
test ebx, ebx
jne 0x1802743ec
mov rcx, qword [rsp + 0x188]
lea rax, [rsp + 0x180]
mov qword [rsp + 0x28], rax
lea rdx, str.Name
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18027438b
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1802743ec
mov ecx, dword [rsp + 0x180]
add rcx, 2
call fcn.180256280
mov rcx, qword [rsp + 0x188]
mov rdi, rax
test rax, rax
je 0x180274383
lea rax, [rsp + 0x180]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.Name
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x188]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
test ebx, ebx
je 0x18027441e
call fcn.180256250
mov rcx, qword [rsp + 0x170]
call fcn.1802117d0
mov r8, qword [rsp + 0x170]
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
lea r9, [rax*2 + 2]
call fcn.18025a230
jmp 0x180274495
mov eax, dword [rsp + 0x180]
shr rax, 1
mov word [rdi + rax*2], si
call fcn.1802117d0
mov r8, rdi
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
lea r9, [rax*2 + 2]
call fcn.18025a230
mov rcx, rdi
mov rbx, rax
call fcn.180256250
test rbx, rbx
jne 0x180274492
mov rcx, qword [rsp + 0x170]
call fcn.1802117d0
mov r8, qword [rsp + 0x170]
lea rdx, str.UTF_16LE
lea rcx, str.UTF_8
lea r9, [rax*2 + 2]
call fcn.18025a230
mov rbx, rax
mov rax, rbx
mov rsi, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x140]
add rsp, 0x158
pop r13
pop rbx
ret