Function at 0x14009b7a0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x17b0
call fcn.14011c260
sub rsp, rax
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rsp + 0x17e8], rbx
mov qword [rsp + 0x17f0], rbp
mov qword [rsp + 0x17f8], rsi
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x17a0], rax
mov rbp, rcx
xor edi, edi
mov dword [rsp + 0x80], edi
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x8c], edi
mov dword [rsp + 0x90], edi
mov dword [rsp + 0x94], edi
mov dword [rsp + 0x98], edi
mov dword [rsp + 0x9c], edi
mov dword [rsp + 0xa0], edi
mov r15d, edi
mov dword [rsp + 0xa4], edi
mov dword [rsp + 0xa8], 8
mov dword [rsp + 0xac], edi
mov rax, qword [rcx + 0xe8]
add rax, 0x27770
je 0x14009b88c
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x1170]
lea r8, [0x14012c778]
lea rdx, str.CheckBox
lea rcx, str.DefaultDevice
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x1150]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x13c890]
mov qword [rcx], rax
movzx eax, word [rdx + 0x13c898]
mov word [rcx + 8], ax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x1150]
lea rcx, [rsp + 0x1170]
call fcn.1400fa5e0
test rax, rax
je 0x14009ba6e
mov rcx, rax
call fcn.1400fa6e0
test eax, eax
je 0x14009b8f1
cmp eax, 1
jne 0x14009b8f1
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rbx, rdi
nop
nop
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x1150]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009ba66
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + rbx*4 + 0x80], eax
add rbx, 1
cmp rbx, 0xa
jl 0x14009b900
mov eax, dword [rsp + 0x88]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0xa0]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x8c]
mov r15d, dword [rsp + 0xa4]
cmp eax, 0xffffffff
cmove eax, r15d
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x98]
cmp eax, 0xffffffff
cmove eax, edi
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x9c]
cmp eax, 0xffffffff
cmove eax, edi
mov dword [rsp + 0x9c], eax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x1150]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009ba6e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xa8], eax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x1150]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009ba6e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xac], eax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x1150]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009ba6e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xb0], eax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x1150]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009ba6e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xb4], eax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x1150]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009ba6e
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xb8], eax
jmp 0x14009ba6e
mov r15d, dword [rsp + 0xa4]
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rax + 0x19488]
mov qword [rsp + 0x70], rcx
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x78], rax
mov r12d, edi
mov r13d, edi
mov esi, edi
nop
nop
mov eax, esi
imul rax, rax, 0x268
lea rbx, [rax + rbp + 0x108]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140021450
xor edx, edx
mov rcx, rbx
call fcn.1400dc9c4
or r14d, 0xffffffff
cmp esi, 4
jb 0x14009baf2
mov rcx, qword [rbp + 0xe8]
add rcx, 0xa88
lea r8d, [r14 + 2]
mov edx, esi
call fcn.140087d00
movsxd rbx, eax
cmp ebx, r14d
jne 0x14009bb00
add esi, 1
cmp esi, 0xc
jae 0x14009bfac
jmp 0x14009baa0
mov dword [rsp + 0xd0], esi
mov eax, esi
imul rax, rax, 0x268
lea r12, [rax + rbp + 0x108]
mov edx, 5
mov rcx, r12
call fcn.1400dc9c4
mov dword [rsp + 0xd8], 1
mov r13, qword [rbp + 0xe8]
xor edx, edx
mov r8d, 0x828
lea rcx, [rsp + 0x920]
call fcn.1400fce30
test ebx, ebx
js 0x14009bbbd
mov rax, rbx
cmp rbx, qword [r13 + 0xac0]
jge 0x14009bbbd
cmp rbx, qword [r13 + 0xac0]
jge 0x14009bb7f
test ebx, ebx
js 0x14009bb7f
mov rcx, qword [r13 + 0xab0]
test ebx, ebx
je 0x14009bb82
sub rax, 1
mov rcx, qword [rcx]
jne 0x14009bb74
jmp 0x14009bb82
mov rcx, rdi
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x14009bba8
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0x920]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x14009bbd8
lea rcx, [rsp + 0xf0]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x14009bbd8
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0x920]
mov r8d, 0x828
call fcn.1400fd180
mov eax, dword [rsp + 0x504]
cmp eax, 0xa
jne 0x14009bd59
lea rdx, str.Front_Analog_In
lea rcx, [rsp + 0x2fc]
call fcn.1400fa3c0
test rax, rax
je 0x14009bd52
mov r9, qword [rbp + 0xe8]
add r9, 0x27568
je 0x14009be3d
mov dword [rsp + 0xd4], 0x104
lea rax, str.OPTIONS
mov qword [rsp + 0x20], rax
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x1380]
call fcn.14001e4d0
lea r11, [rsp + 0xe0]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x1380]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009be3d
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1590]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VIA_GeneralInpute
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14009be3d
lea rcx, [rsp + 0x1590]
call fcn.1400fa6e0
cmp eax, 7
jne 0x14009bd12
mov rdx, qword [rbp + 0xe8]
add rdx, 0x287b0
mov rcx, r12
call fcn.1400dc8dc
mov rdx, qword [rbp + 0xe8]
add rdx, 0x287b0
lea r8d, [rbx + 1]
mov rcx, r12
call fcn.140021070
jmp 0x14009be3d
cmp eax, 6
jne 0x14009be3d
mov rdx, qword [rbp + 0xe8]
add rdx, 0x37968
mov rcx, r12
call fcn.1400dc8dc
mov rdx, qword [rbp + 0xe8]
add rdx, 0x37968
mov r8d, 1
mov rcx, r12
call fcn.140021070
jmp 0x14009be3d
mov eax, dword [rsp + 0x504]
cdqe
lea rbx, [0x140000000]
movsxd rcx, dword [rbx + rax*4 + 0x1883c0]
imul rcx, rcx, 0x208
mov rax, qword [rbp + 0xe8]
lea rdx, [rcx + rax + 0x27978]
mov rcx, r12
call fcn.1400dc8dc
movsxd r11, dword [rsp + 0x504]
movsxd rcx, dword [rbx + r11*4 + 0x1883c0]
imul rcx, rcx, 0x208
mov rax, qword [rbp + 0xe8]
lea r13, [rcx + rax + 0x27978]
test r13, r13
je 0x14009be3d
cmp qword [r12 + 0x118], rdi
jne 0x14009bdf2
lea rcx, [r12 + 0xd8]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, r12
call qword [rax + 0x268]
xor r9d, r9d
mov edx, 0x401
lea r8d, [r9 + 1]
mov rcx, qword [r12 + 0x118]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, r13
mov rdx, r12
lea rcx, [r12 + 0xd8]
call fcn.1400d1498
xor r9d, r9d
mov r8, r12
mov rdx, r13
lea rcx, [r12 + 0xd8]
call fcn.1400d1538
xor r9d, r9d
mov edx, 0x401
lea r8d, [r9 + 1]
mov rcx, qword [r12 + 0x118]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x84]
lea ecx, [rax + r15 + 0xa]
mov dword [rsp + 0x84], ecx
mov r13, qword [rbp + 0xe8]
test byte [r12 + 0x258], 8
jne 0x14009bf0c
lea rcx, [r12 + 0xb0]
call fcn.1400cfe64
lea rcx, [r13 + 0x27434]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdx, rax
lea rcx, [r12 + 0xb0]
call fcn.1400cfde4
call fcn.1400cc6e8
mov r11, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x14009beaf
mov ecx, 0x80004005
call fcn.1400025a0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xc0]
mov rcx, r12
call fcn.1400d7278
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, r12
call fcn.1400211e0
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14009bf0c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.DSOUND.dll_DirectSoundCaptureEnumerateW]
lea rax, [r12 + 0x1e0]
lea rcx, [r12 + 0x22c]
lea r10, [r12 + 0x228]
lea r9, [r12 + 0x214]
lea r8, [r12 + 0x210]
lea rdx, [rbp + 0xf8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r10
mov rcx, r12
call fcn.1400227c0
cmp dword [rbp + 0x100], esi
jne 0x14009bf7e
mov dword [r12 + 0x260], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x14009bfe9
mov dword [r12 + 0x260], edi
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov r12d, dword [rsp + 0xd0]
mov r13d, dword [rsp + 0xd8]
movsxd rcx, r12d
imul rcx, rcx, 0x268
mov dword [rcx + rbp + 0x368], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + rbp + 0x148]
call qword [sym.imp.USER32.dll_RedrawWindow]
test r13d, r13d
jne 0x14009bfe9
xor edx, edx
mov rcx, rbp
call fcn.1400d0368
mov rdx, qword [rbp + 0xe8]
add rdx, 0x297f0
lea rcx, [rbp + 0x1de8]
call fcn.1400dc8dc
mov rdx, qword [rbp + 0xe8]
add rdx, 0x299f8
lea rcx, [rbp + 0x1e90]
call fcn.1400dc8dc
xor edx, edx
lea rcx, [rbp + 0x1e90]
call fcn.1400dc9c4
mov r11, qword [rbp + 0xe8]
add r11, 0x27770
je 0x14009c06b
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x1170]
lea r8, [0x14012c778]
lea rdx, str.string
lea rcx, str.DefaultDevice
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x1160]
lea rdx, [0x140000000]
mov rax, qword [rdx + 0x13c890]
mov qword [rcx], rax
movzx eax, word [rdx + 0x13c898]
mov word [rcx + 8], ax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x1160]
lea rcx, [rsp + 0x1170]
call fcn.1400fa5e0
test rax, rax
je 0x14009c240
mov rcx, rax
call fcn.1400fa6e0
test eax, eax
jne 0x14009c0c5
mov qword [rsp + 0x78], rdi
jmp 0x14009c0dc
cmp eax, 1
jne 0x14009c0dc
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x78], rax
mov rbx, rdi
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x1160]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009c240
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + rbx*4 + 0x80], eax
add rbx, 1
cmp rbx, 0xa
jl 0x14009c0e0
mov eax, dword [rsp + 0x88]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0xa0]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x8c]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0xa4]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x98]
cmp eax, 0xffffffff
cmove eax, edi
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x9c]
cmp eax, 0xffffffff
cmove eax, edi
mov dword [rsp + 0x9c], eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x1160]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009c240
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xa8], eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x1160]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009c240
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xac], eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x1160]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009c240
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xb0], eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x1160]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009c240
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xb4], eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x1160]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x14009c240
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0xb8], eax
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rax + 0x19488]
mov qword [rsp + 0x70], rcx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x1f38]
call fcn.140021450
mov rdx, qword [rbp + 0xe8]
add rdx, 0x391c8
lea rcx, [rbp + 0x1f38]
call fcn.1400dc8dc
mov r12, qword [rbp + 0xe8]
test byte [rbp + 0x2190], 8
jne 0x14009c33b
lea rcx, [rbp + 0x1fe8]
call fcn.1400cfe64
lea rcx, [r12 + 0x27434]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdx, rax
lea rcx, [rbp + 0x1fe8]
call fcn.1400cfde4
call fcn.1400cc6e8
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x14009c2d9
mov ecx, 0x80004005
call fcn.1400025a0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rbp + 0x1f38]
call fcn.1400d7278
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rbp + 0x1f38]
call fcn.1400211e0
nop
mov rdx, qword [rsp + 0xc8]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x14009c33b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.DSOUND.dll_DirectSoundCaptureEnumerateW]
mov rcx, qword [rbp + 0x1f78]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call fcn.1400cf94c
mov r12, rax
mov rcx, qword [rbp + 0x2118]
test rcx, rcx
je 0x14009c365
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r8d, dword [rbp + 0x2164]
mov edx, dword [rbp + 0x2160]
mov rcx, qword [r12 + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp + 0x2118], rax
mov rcx, qword [r12 + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov rcx, qword [r12 + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
mov rdx, qword [rbp + 0x2118]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, qword [rbp + 0xf8]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov r11d, dword [rbp + 0x2164]
mov r9d, dword [rbp + 0x2160]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], r9d
mov ecx, dword [rbp + 0x214c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x2148]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r11d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rdx, qword [r12 + 8]
mov rcx, qword [rbp + 0x1f78]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 1
mov rcx, qword [rsp + 0x17a0]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0x17b0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret