Function at 0x1400b1d50
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x46d0
call fcn.14011c260
sub rsp, rax
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [rsp + 0x4708], rbx
mov qword [rsp + 0x4710], rbp
mov qword [rsp + 0x4718], rsi
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x46c0], rax
mov r13, rcx
mov qword [rsp + 0x88], rcx
mov rax, qword [rcx + 0x110]
cmp dword [rax + 0x1944c], 0
jne 0x1400b3786
cmp dword [rcx + 0x2e0], 0
jne 0x1400b3786
mov dword [rax + 0x11594], 1
xor r14d, r14d
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x40], r14d
mov rcx, qword [rcx + 0x110]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
mov rcx, qword [rcx + 0x11b70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rax
mov eax, 0x64
sub eax, r8d
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [rsp + 0x58], eax
mov r12d, r14d
mov dword [rsp + 0x48], r14d
lea rsi, str.OPTIONS
nop
nop
nop
add r8d, eax
mov qword [rsp + 0xd0], r8
mov rcx, qword [r13 + 0x110]
movsxd r8, r8d
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rcx + 0x11b70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov r8d, 1
mov edx, r12d
call fcn.140087d00
movsxd r15, eax
cmp r15d, 0xffffffff
je 0x1400b3256
mov rdx, qword [r13 + 0x110]
cmp dword [rdx + 0x8b4], 0
je 0x1400b1f02
cmp dword [rdx + 0x874], 0
je 0x1400b1f02
cmp dword [rdx + 0x8b4], 0
je 0x1400b1f02
mov ecx, r12d
sub ecx, 8
je 0x1400b1eec
sub ecx, 1
je 0x1400b1f02
sub ecx, 1
je 0x1400b1ed4
cmp ecx, 2
jne 0x1400b1f02
cmp dword [rdx + 0xa98], 0
je 0x1400b1f02
cmp dword [rdx + 0x214b4], 0
je 0x1400b3256
jmp 0x1400b1f02
cmp dword [rdx + 0xa94], 0
je 0x1400b1f02
cmp dword [rdx + 0x21500], 0
je 0x1400b3256
jmp 0x1400b1f02
cmp dword [rdx + 0xa90], 0
je 0x1400b1f02
cmp dword [rdx + 0x2154c], 0
je 0x1400b3256
mov edi, r14d
mov rbx, r14
lea rbp, [r13 + 0x140]
mov rcx, rbp
call fcn.1400daae8
test eax, eax
jle 0x1400b2024
nop
test rbx, rbx
js 0x1400b327c
cmp rbx, qword [r13 + 0x258]
jge 0x1400b327c
mov rax, qword [r13 + 0x250]
mov rcx, qword [rax + rbx*8]
mov eax, r14d
test rcx, rcx
setne al
test eax, eax
je 0x1400b3276
test rcx, rcx
je 0x1400b1f60
cmp dword [rcx + 0x14c], r15d
je 0x1400b1f79
add edi, 1
add rbx, 1
mov rcx, rbp
call fcn.1400daae8
cmp edi, eax
jge 0x1400b2024
jmp 0x1400b1f20
mov r8, qword [r13 + 0x110]
cmp dword [r8 + 0x8b4], 0
je 0x1400b2016
cmp dword [r8 + 0x8b4], 0
je 0x1400b2016
mov edx, dword [rcx + 0x568]
sub edx, 8
je 0x1400b1ff9
sub edx, 1
je 0x1400b1fe8
sub edx, 1
je 0x1400b1fd7
sub edx, 2
je 0x1400b1fc6
cmp edx, 1
jne 0x1400b2016
cmp dword [r8 + 0xa9c], 0
je 0x1400b2016
mov eax, r14d
jmp 0x1400b2008
cmp dword [r8 + 0xa98], 0
je 0x1400b2016
mov eax, 3
jmp 0x1400b2008
cmp dword [r8 + 0xa94], 0
je 0x1400b2016
mov eax, 2
jmp 0x1400b2008
cmp dword [r8 + 0xaa0], 0
je 0x1400b2016
mov eax, 4
jmp 0x1400b2008
cmp dword [r8 + 0xa90], 0
je 0x1400b2016
mov eax, 1
cmp eax, dword [r8 + 0x212e0]
je 0x1400b2016
call fcn.140030f40
cmp dword [r13 + 0x2d8], 0
jne 0x1400b3256
mov ecx, 0x30d0
call fcn.1400c909c
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400b2043
mov rcx, rax
call fcn.140027200
mov r14, rax
xor r8d, r8d
mov edx, 0x8b
mov rcx, r14
call fcn.1400dc57c
mov r11, qword [r13 + 0x110]
mov qword [r14 + 0x980], r11
mov dword [r14 + 0x14c], r15d
mov rbx, qword [r13 + 0x110]
xor edx, edx
mov r8d, 0x828
lea rcx, [rsp + 0x21e0]
call fcn.1400fce30
test r15d, r15d
js 0x1400b20f8
mov rax, r15
cmp r15, qword [rbx + 0xac0]
jge 0x1400b20f8
cmp rax, qword [rbx + 0xac0]
jge 0x1400b20bb
test r15d, r15d
js 0x1400b20bb
mov rcx, qword [rbx + 0xab0]
test r15d, r15d
je 0x1400b20bd
nop
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b20b0
jmp 0x1400b20bd
xor ecx, ecx
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x1400b20e3
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x21e0]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b2113
lea rcx, [rsp + 0x120]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b2113
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x21e0]
mov r8d, 0x828
call fcn.1400fd180
mov eax, dword [rsp + 0x534]
test eax, eax
jne 0x1400b232e
mov dword [rsp + 0x70], 1
lea rcx, [rbx + 0xf8]
lea r8, [rcx + 0x8dc]
lea rdx, [rcx + 0x24]
call fcn.140097c60
mov rbx, qword [r13 + 0x110]
lea r8, [rbx + 0x9d4]
lea rdx, [rbx + 0x11c]
lea rcx, [rbx + 0xf8]
call fcn.140097c60
cmp dword [rbx + 0x9e4], 1
je 0x1400b2245
mov rax, qword [r13 + 0x110]
cmp dword [rax + 0x5488c], 0
je 0x1400b2245
mov dword [rax + 0x5488c], 0
mov rax, qword [r13 + 0x110]
lea rcx, [rax + 0x27568]
mov r9d, dword [rax + 0x5488c]
lea r8, str.First_Time_StartSpeaker2
lea rdx, str.OPTIONS
call fcn.140085200
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov edx, r15d
call fcn.14008c930
test eax, eax
je 0x1400b21e5
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov edx, r15d
call fcn.14008caa0
mov rdx, qword [r13 + 0x110]
test r15d, r15d
js 0x1400b2245
mov rax, r15
cmp r15, qword [rdx + 0xac0]
jge 0x1400b2245
cmp rax, qword [rdx + 0xac0]
jge 0x1400b2222
test r15d, r15d
js 0x1400b2222
mov rcx, qword [rdx + 0xab0]
test r15d, r15d
je 0x1400b2224
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b2217
jmp 0x1400b2224
xor ecx, ecx
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b2245
mov rcx, qword [rax + 0x828]
test rcx, rcx
je 0x1400b2245
mov edx, dword [rdx + 0x274f4]
call qword [0x1401ca8b0]
mov rbx, qword [r13 + 0x110]
lea r8, [rbx + 0x9d4]
lea rdx, [rbx + 0x11c]
lea rcx, [rbx + 0xf8]
call fcn.140097c60
cmp dword [rbx + 0x9e4], 1
je 0x1400b25b6
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
test r15d, r15d
js 0x1400b229b
lea r9, [rsp + 0x64]
lea r8, [rsp + 0x80]
mov edx, r15d
call fcn.1400899d0
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov edx, 1
mov r8d, edx
call fcn.140087d00
cmp eax, 0xffffffff
je 0x1400b25b6
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
test eax, eax
js 0x1400b22e5
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x90]
mov edx, eax
call fcn.1400899d0
mov edx, dword [rsp + 0x90]
cmp dword [rsp + 0x80], edx
jne 0x1400b2307
movzx eax, word [rsp + 0x60]
cmp word [rsp + 0x64], ax
je 0x1400b25b6
jmp 0x1400b230c
mov ax, word [rsp + 0x60]
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
movzx r9d, ax
mov r8d, edx
mov edx, r15d
call fcn.140089b70
jmp 0x1400b25b6
cmp eax, 1
jne 0x1400b2515
mov dword [rsp + 0x40], eax
lea r8, [rbx + 0x9d4]
lea rdx, [rbx + 0x11c]
lea rcx, [rbx + 0xf8]
call fcn.140097c60
cmp dword [rbx + 0x9e4], 1
je 0x1400b2434
mov rax, qword [r13 + 0x110]
cmp dword [rax + 0x54890], 0
je 0x1400b2434
mov dword [rax + 0x54890], 0
mov rax, qword [r13 + 0x110]
lea rcx, [rax + 0x27568]
mov r9d, dword [rax + 0x54890]
lea r8, str.First_Time_StartHP
mov rdx, rsi
call fcn.140085200
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov edx, r15d
call fcn.14008c930
test eax, eax
je 0x1400b23d4
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov edx, r15d
call fcn.14008caa0
mov rdx, qword [r13 + 0x110]
test r15d, r15d
js 0x1400b2434
mov rax, r15
cmp r15, qword [rdx + 0xac0]
jge 0x1400b2434
cmp rax, qword [rdx + 0xac0]
jge 0x1400b2411
test r15d, r15d
js 0x1400b2411
mov rcx, qword [rdx + 0xab0]
test r15d, r15d
je 0x1400b2413
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b2406
jmp 0x1400b2413
xor ecx, ecx
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b2434
mov rcx, qword [rax + 0x828]
test rcx, rcx
je 0x1400b2434
mov edx, dword [rdx + 0x274f4]
call qword [0x1401ca8b0]
mov rbx, qword [r13 + 0x110]
lea r8, [rbx + 0x9d4]
lea rdx, [rbx + 0x11c]
lea rcx, [rbx + 0xf8]
call fcn.140097c60
cmp dword [rbx + 0x9e4], 1
je 0x1400b25b6
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
test r15d, r15d
js 0x1400b2487
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x6c]
mov edx, r15d
call fcn.1400899d0
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
xor edx, edx
lea r8d, [rdx + 9]
call fcn.140087d00
cmp eax, 0xffffffff
je 0x1400b25b6
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
test eax, eax
js 0x1400b24cf
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x94]
mov edx, eax
call fcn.1400899d0
mov edx, dword [rsp + 0x94]
cmp dword [rsp + 0x6c], edx
jne 0x1400b24ee
movzx eax, word [rsp + 0x50]
cmp word [rsp + 0x68], ax
je 0x1400b25b6
jmp 0x1400b24f3
mov ax, word [rsp + 0x50]
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
movzx r9d, ax
mov r8d, edx
mov edx, r15d
call fcn.140089b70
jmp 0x1400b25b6
cmp eax, 2
je 0x1400b25b6
cmp dword [rsp + 0x120], 1
jne 0x1400b25b6
cmp eax, 8
je 0x1400b25ae
cmp eax, 0xa
je 0x1400b25ae
cmp eax, 0xc
je 0x1400b25ae
cmp eax, 0xd
je 0x1400b25ae
cmp eax, 0xf
jne 0x1400b25b6
cmp dword [rbx + 0x54894], 0
je 0x1400b25b6
mov dword [rbx + 0x54894], 0
mov rax, qword [r13 + 0x110]
lea rcx, [rax + 0x27568]
mov r9d, dword [rax + 0x54894]
lea r8, str.First_Time_StartDigitalMic
mov rdx, rsi
call fcn.140085200
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov edx, r15d
call fcn.14008c930
test eax, eax
je 0x1400b25b6
mov rcx, qword [r13 + 0x110]
add rcx, 0xa88
mov edx, r15d
call fcn.14008caa0
jmp 0x1400b25b6
mov dword [rsp + 0x40], 1
cmp dword [r13 + 0x2d8], 0
je 0x1400b2753
mov rdx, r14
mov rcx, rbp
call fcn.1400dc09c
mov rdx, r14
mov rcx, rbp
call fcn.1400dac50
mov rcx, rbp
call fcn.1400daae8
mov r12d, eax
sub r12d, 2
movsxd rbp, r12d
js 0x1400b2745
test rbp, rbp
js 0x1400b3288
cmp rbp, qword [r13 + 0x258]
jge 0x1400b3288
mov rax, qword [r13 + 0x250]
mov rsi, qword [rax + rbp*8]
xor eax, eax
test rsi, rsi
setne al
test eax, eax
je 0x1400b3282
test rsi, rsi
je 0x1400b2729
movsxd rdi, dword [rsi + 0x14c]
mov rbx, qword [r13 + 0x110]
xor edx, edx
mov r8d, 0x828
lea rcx, [rsp + 0x2a10]
call fcn.1400fce30
test edi, edi
js 0x1400b26bf
mov rax, rdi
cmp rdi, qword [rbx + 0xac0]
jge 0x1400b26bf
cmp rax, qword [rbx + 0xac0]
jge 0x1400b2682
test edi, edi
js 0x1400b2682
mov rcx, qword [rbx + 0xab0]
test edi, edi
je 0x1400b2684
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b2677
jmp 0x1400b2684
xor ecx, ecx
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x1400b26aa
lea rcx, [rsp + 0x3240]
lea rdx, [rsp + 0x2a10]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b26da
lea rcx, [rsp + 0x3240]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b26da
lea rcx, [rsp + 0x3240]
lea rdx, [rsp + 0x2a10]
mov r8d, 0x828
call fcn.1400fd180
mov eax, dword [rsp + 0x534]
cmp dword [rsp + 0x3654], eax
jle 0x1400b2729
mov edx, r12d
lea rcx, [r13 + 0x140]
call fcn.1400dac78
mov rbx, qword [r13 + 0x2a20]
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
mov r8d, r12d
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400b4bf0
mov r11, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r11 + reloc.DSOUND.dll_DirectSoundCaptureEnumerateW]
sub rbp, 1
sub r12d, 1
jns 0x1400b25f2
lea rbp, [r13 + 0x140]
mov r12d, dword [rsp + 0x48]
jmp 0x1400b275e
lea rbp, [r13 + 0x140]
mov r12d, dword [rsp + 0x48]
jmp 0x1400b275e
mov rdx, r14
mov rcx, rbp
call fcn.1400dc09c
cmp dword [r13 + 0x2d8], 0
jne 0x1400b2860
lea rdx, [rsp + 0xe8]
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x108]
mov rcx, qword [r13 + 0x330]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x110]
sub edx, dword [rsp + 0xe8]
sub edx, 7
mov dword [rsp + 0x20], 0x226
mov r9d, 0x244
xor r8d, r8d
lea rcx, [rsp + 0xf8]
call qword [sym.imp.USER32.dll_SetRect]
lea rcx, [r13 + 0x28c]
lea rdx, [rsp + 0xf8]
call qword [sym.imp.USER32.dll_CopyRect]
xor edx, edx
mov rcx, rbp
call fcn.1400da1a4
mov r11, qword [rbp]
xor r9d, r9d
mov r8d, 0x50000000
mov rdx, r13
mov rcx, rbp
call qword [r11 + 0x268]
xor r9d, r9d
xor edx, edx
mov r8d, 0x10000
mov rcx, rbp
call fcn.1400dc8ac
xor r9d, r9d
xor edx, edx
mov r8d, 0x10000
mov rcx, rbp
call fcn.1400dc87c
mov dword [r13 + 0x2d8], 1
lea rcx, [r13 + 0x2a18]
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x20], 0
mov edx, 0x21
lea r9d, [rdx - 9]
mov r8d, edx
call fcn.1400df074
mov rdx, r14
mov rcx, rbp
call fcn.1400dac50
xor r14d, r14d
mov qword [rsp + 0xe0], r14
lea rax, [0x1401202e8]
mov qword [rsp + 0xd8], rax
mov rbx, qword [r13 + 0x110]
or esi, 0xffffffff
mov edx, dword [rsp + 0x120]
test edx, edx
je 0x1400b289c
cmp edx, 1
je 0x1400b289c
or esi, 0xffffffff
jmp 0x1400b2994
cmp qword [rbx + 0xae0], 0
jne 0x1400b28ae
or esi, 0xffffffff
jmp 0x1400b2994
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x48], r14
mov rcx, qword [rbx + 0xae0]
mov rax, qword [rcx]
lea r9, [rsp + 0x78]
mov r8d, 1
call qword [rax + 0x20]
test eax, eax
js 0x1400b296e
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x28]
test eax, eax
js 0x1400b296e
mov r9d, r14d
mov r11, qword [rbx + 0xac0]
test r11, r11
jle 0x1400b296e
mov rax, r14
mov r10, qword [rsp + 0x48]
cmp rax, r11
jge 0x1400b292b
test rax, rax
js 0x1400b292b
mov rcx, qword [rbx + 0xab0]
test rax, rax
je 0x1400b292e
nop
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b2920
jmp 0x1400b292e
mov rcx, r14
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b295b
add rax, 0x620
mov r8, r10
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400b2957
add rax, 2
test ecx, ecx
jne 0x1400b2943
test edx, edx
je 0x1400b2969
add r9d, 1
movsxd rax, r9d
cmp rax, r11
jge 0x1400b2973
jmp 0x1400b2907
mov esi, r9d
jmp 0x1400b2973
mov r10, qword [rsp + 0x48]
mov rcx, r10
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400b298d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edx, dword [rsp + 0x120]
mov rbx, qword [r13 + 0x110]
cmp dword [rbx + 0x8b4], 0
je 0x1400b2c21
cmp edx, 1
jne 0x1400b2c21
xor edx, edx
mov r8d, 0x828
lea rcx, [rsp + 0x3a70]
call fcn.1400fce30
test esi, esi
js 0x1400b2a39
movsxd rax, esi
cmp rax, qword [rbx + 0xac0]
jge 0x1400b2a39
cmp rax, qword [rbx + 0xac0]
jge 0x1400b29fb
test esi, esi
js 0x1400b29fb
mov rcx, qword [rbx + 0xab0]
test esi, esi
je 0x1400b29fe
nop
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b29f0
jmp 0x1400b29fe
mov rcx, r14
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x1400b2a24
lea rcx, [rsp + 0x19b0]
lea rdx, [rsp + 0x3a70]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b2a54
lea rcx, [rsp + 0x19b0]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b2a54
lea rcx, [rsp + 0x19b0]
lea rdx, [rsp + 0x3a70]
mov r8d, 0x828
call fcn.1400fd180
cmp dword [rbx + 0x8b4], 0
je 0x1400b2c21
mov ecx, dword [rsp + 0x1dc4]
sub ecx, 8
je 0x1400b2ac1
sub ecx, 1
je 0x1400b2ab2
sub ecx, 1
je 0x1400b2aa3
sub ecx, 2
je 0x1400b2a94
cmp ecx, 1
jne 0x1400b2c21
cmp dword [rbx + 0xa9c], 0
je 0x1400b2c21
jmp 0x1400b2ace
cmp dword [rbx + 0xa98], 0
je 0x1400b2c21
jmp 0x1400b2ace
cmp dword [rbx + 0xa94], 0
je 0x1400b2c21
jmp 0x1400b2ace
cmp dword [rbx + 0xaa0], 0
je 0x1400b2c21
jmp 0x1400b2ace
cmp dword [rbx + 0xa90], 0
je 0x1400b2c21
mov edi, r14d
cmp qword [rbx + 0xac0], rdi
jle 0x1400b2c21
nop
xor edx, edx
mov r8d, 0x828
lea rcx, [rsp + 0x1180]
call fcn.1400fce30
test edi, edi
js 0x1400b2b69
movsxd rax, edi
cmp rax, qword [rbx + 0xac0]
jge 0x1400b2b69
cmp rax, qword [rbx + 0xac0]
jge 0x1400b2b2b
test edi, edi
js 0x1400b2b2b
mov rcx, qword [rbx + 0xab0]
test edi, edi
je 0x1400b2b2e
nop
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b2b20
jmp 0x1400b2b2e
mov rcx, r14
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x1400b2b54
lea rcx, [rsp + 0x950]
lea rdx, [rsp + 0x1180]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b2b84
lea rcx, [rsp + 0x950]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b2b84
lea rcx, [rsp + 0x950]
lea rdx, [rsp + 0x1180]
mov r8d, 0x828
call fcn.1400fd180
cmp dword [rbx + 0x8b4], 0
je 0x1400b2c01
mov ecx, dword [rsp + 0xd64]
sub ecx, 8
je 0x1400b2beb
sub ecx, 1
je 0x1400b2bdb
sub ecx, 1
je 0x1400b2bcb
sub ecx, 2
je 0x1400b2bbb
cmp ecx, 1
jne 0x1400b2c01
cmp dword [rbx + 0xa9c], 0
je 0x1400b2c01
mov eax, r14d
jmp 0x1400b2bf9
cmp dword [rbx + 0xa98], 0
je 0x1400b2c01
mov eax, 3
jmp 0x1400b2bf9
cmp dword [rbx + 0xa94], 0
je 0x1400b2c01
mov eax, 2
jmp 0x1400b2bf9
cmp dword [rbx + 0xaa0], 0
je 0x1400b2c01
mov eax, 4
jmp 0x1400b2bf9
cmp dword [rbx + 0xa90], 0
je 0x1400b2c01
mov eax, 1
cmp eax, dword [rbx + 0x212e0]
je 0x1400b2c1f
add edi, 1
mov rax, qword [r13 + 0x110]
mov rcx, qword [rax + 0xac0]
movsxd rax, edi
cmp rax, rcx
jge 0x1400b2c21
jmp 0x1400b2ae0
mov esi, edi
cmp dword [rsp + 0x534], 0xa
jne 0x1400b2e41
lea rdx, str.Front_Analog_In
lea rcx, [rsp + 0x32c]
call fcn.1400fa3c0
test rax, rax
je 0x1400b2e41
mov r9, qword [r13 + 0x110]
add r9, 0x27568
je 0x1400b2ed6
mov dword [rsp + 0x48], 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 + 0x44b0]
call fcn.14001e4d0
lea r11, [rsp + 0x98]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x44b0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b2ed6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x42a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VIA_GeneralInpute
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400b2ed6
lea rcx, [rsp + 0x42a0]
call fcn.1400fa6e0
cmp eax, 7
jne 0x1400b2dad
cmp esi, r15d
jne 0x1400b2d6a
mov rcx, qword [r13 + 0x2b08]
call fcn.1400cfdc0
test rax, rax
jne 0x1400b2d3d
mov rdi, r14
jmp 0x1400b2d41
mov rdi, qword [rax + 8]
mov rbx, qword [r13 + 0x2a20]
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140024e30
jmp 0x1400b2ed6
mov rcx, qword [r13 + 0x2a88]
call fcn.1400cfdc0
test rax, rax
jne 0x1400b2d80
mov rdi, r14
jmp 0x1400b2d84
mov rdi, qword [rax + 8]
mov rbx, qword [r13 + 0x2a20]
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140024e30
jmp 0x1400b2ed6
cmp eax, 6
jne 0x1400b2ed6
cmp esi, r15d
jne 0x1400b2dfe
mov rcx, qword [r13 + 0x2af8]
call fcn.1400cfdc0
test rax, rax
jne 0x1400b2dd1
mov rdi, r14
jmp 0x1400b2dd5
mov rdi, qword [rax + 8]
mov rbx, qword [r13 + 0x2a20]
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140024e30
jmp 0x1400b2ed6
mov rcx, qword [r13 + 0x2a78]
call fcn.1400cfdc0
test rax, rax
jne 0x1400b2e14
mov rdi, r14
jmp 0x1400b2e18
mov rdi, qword [rax + 8]
mov rbx, qword [r13 + 0x2a20]
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140024e30
jmp 0x1400b2ed6
cmp esi, r15d
jne 0x1400b2e8f
movsxd rax, dword [rsp + 0x534]
mov rcx, qword [r13 + rax*8 + 0x2aa8]
call fcn.1400cfdc0
test rax, rax
jne 0x1400b2e65
mov rdi, r14
jmp 0x1400b2e69
mov rdi, qword [rax + 8]
mov rbx, qword [r13 + 0x2a20]
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140024e30
jmp 0x1400b2ed6
movsxd rax, dword [rsp + 0x534]
mov rcx, qword [r13 + rax*8 + 0x2a28]
call fcn.1400cfdc0
test rax, rax
jne 0x1400b2eae
mov rdi, r14
jmp 0x1400b2eb2
mov rdi, qword [rax + 8]
mov rbx, qword [r13 + 0x2a20]
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140024e30
mov rcx, rbp
call fcn.1400daae8
lea edi, [rax - 1]
mov ecx, dword [rsp + 0x534]
cmp ecx, 0xa
jne 0x1400b30ae
lea rdx, str.Front_Analog_In
lea rcx, [rsp + 0x32c]
call fcn.1400fa3c0
test rax, rax
je 0x1400b30a7
mov r9, qword [r13 + 0x110]
add r9, 0x27568
je 0x1400b3128
mov dword [rsp + 0x48], 0x104
lea rsi, str.OPTIONS
mov qword [rsp + 0x20], rsi
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x42a0]
call fcn.14001e4d0
lea r11, [rsp + 0xa0]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x42a0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b312f
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VIA_GeneralInpute
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400b312f
lea rcx, [rsp + 0x44b0]
call fcn.1400fa6e0
cmp eax, 7
jne 0x1400b303f
mov rax, qword [r13 + 0x110]
add rax, 0x287b0
mov dword [rsp + 0xa8], 1
mov qword [rsp + 0xb8], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
mov rcx, qword [r13 + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d5ba0
movsxd r8, edi
lea r9, [rsp + 0xa8]
mov edx, 0x133d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400b312f
cmp eax, 6
jne 0x1400b312f
mov rax, qword [r13 + 0x110]
add rax, 0x37968
mov dword [rsp + 0xa8], 1
mov qword [rsp + 0xb8], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
mov rcx, qword [r13 + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d5ba0
movsxd r8, edi
lea r9, [rsp + 0xa8]
mov edx, 0x133d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400b312f
mov ecx, dword [rsp + 0x534]
movsxd rax, ecx
lea rcx, [0x1401738c0]
movsxd rcx, dword [rcx + rax*4]
imul rcx, rcx, 0x208
mov rax, qword [r13 + 0x110]
lea rdx, [rcx + rax + 0x27978]
mov dword [rsp + 0xa8], 1
mov qword [rsp + 0xb8], rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
mov rcx, qword [r13 + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d5ba0
movsxd r8, edi
lea r9, [rsp + 0xa8]
mov edx, 0x133d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rsi, str.OPTIONS
jmp 0x1400b312f
lea rsi, str.OPTIONS
lea rbx, [r13 + 0x2a18]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d5ba0
test rbx, rbx
jne 0x1400b315d
mov r9, r14
jmp 0x1400b3161
mov r9, qword [rbx + 8]
xor r8d, r8d
mov edx, 0x1303
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400df008
mov dword [rsp + 0xa8], 2
mov ebx, r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d5ba0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1304
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1400b323a
mov dword [rsp + 0xc4], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d5ba0
movsxd r8, ebx
lea r9, [rsp + 0xa8]
mov edx, 0x133d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
add ebx, 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d5ba0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1304
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
jl 0x1400b31c3
lea rax, [0x1401202e8]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xd8]
call fcn.1400027d0
add r12d, 1
mov dword [rsp + 0x48], r12d
cmp r12d, 0x10
jge 0x1400b328e
mov r8, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x58]
jmp 0x1400b1e30
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
movsxd rsi, dword [rsp + 0x70]
test esi, esi
jne 0x1400b32a5
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400b36b4
jmp 0x1400b32a9
mov eax, dword [rsp + 0x40]
mov r12d, r14d
mov rdi, r14
mov r14, rsi
movsxd r15, eax
lea rcx, [r13 + 0x140]
call fcn.1400daae8
test eax, eax
jle 0x1400b3432
nop
nop
test rdi, rdi
js 0x1400b342c
mov rcx, qword [rsp + 0x88]
cmp rdi, qword [rcx + 0x258]
jge 0x1400b342c
mov rax, qword [rcx + 0x250]
mov rsi, qword [rax + rdi*8]
test rsi, rsi
je 0x1400b3426
movsxd rbp, dword [rsi + 0x14c]
mov rbx, qword [rcx + 0x110]
xor edx, edx
mov r8d, 0x828
lea rcx, [rsp + 0x1180]
call fcn.1400fce30
test ebp, ebp
js 0x1400b3398
mov rax, rbp
cmp rbp, qword [rbx + 0xac0]
jge 0x1400b3398
cmp rax, qword [rbx + 0xac0]
jge 0x1400b335b
test ebp, ebp
js 0x1400b335b
mov rcx, qword [rbx + 0xab0]
test ebp, ebp
je 0x1400b335d
nop
sub rax, 1
mov rcx, qword [rcx]
jne 0x1400b3350
jmp 0x1400b335d
xor ecx, ecx
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x1400b3383
lea rcx, [rsp + 0x950]
lea rdx, [rsp + 0x1180]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b33b3
lea rcx, [rsp + 0x950]
mov r8d, 0x828
call fcn.1400fd180
jmp 0x1400b33b3
lea rcx, [rsp + 0x950]
lea rdx, [rsp + 0x1180]
mov r8d, 0x828
call fcn.1400fd180
mov ebx, dword [rsp + 0xd64]
test r14, r14
je 0x1400b33e8
cmp ebx, 8
je 0x1400b33d3
cmp ebx, 0xa
je 0x1400b33d3
cmp ebx, 0xc
je 0x1400b33d3
cmp ebx, 0xd
jne 0x1400b33e8
xor r9d, r9d
xor r8d, r8d
mov edx, 0xbdd
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test r15, r15
je 0x1400b3407
cmp ebx, 9
jne 0x1400b3407
xor r9d, r9d
xor r8d, r8d
mov edx, 0xbed
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
add r12d, 1
add rdi, 1
lea rcx, [r13 + 0x140]
call fcn.1400daae8
cmp r12d, eax
jl 0x1400b32d0
jmp 0x1400b3432
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
cmp dword [rsp + 0x40], 0
je 0x1400b36a4
mov r13, qword [rsp + 0x88]
mov rax, qword [r13 + 0x110]
cmp dword [rax + 0x21544], 0
je 0x1400b346b
cmp dword [rax + 0x2154c], 0
je 0x1400b346b
cmp dword [rax + 0x2153c], 7
jne 0x1400b3536
cmp dword [rax + 0x214f8], 0
je 0x1400b348a
cmp dword [rax + 0x21500], 0
je 0x1400b348a
cmp dword [rax + 0x214f0], 6
jne 0x1400b3536
lea rbx, [rax + 0xf8]
lea r8, [rbx + 0x8dc]
lea rdx, [rbx + 0x24]
mov rcx, rbx
call fcn.140097c60
cmp dword [rbx + 0x8ec], 1
jne 0x1400b34cf
mov rax, qword [r13 + 0x110]
cmp dword [rax + 0x214ac], 0
je 0x1400b34cf
cmp dword [rax + 0x214b4], 0
je 0x1400b34cf
cmp dword [rax + 0x214a4], 5
jne 0x1400b3536
mov rbx, qword [r13 + 0x110]
lea r8, [rbx + 0x9d4]
lea rdx, [rbx + 0x11c]
lea rcx, [rbx + 0xf8]
call fcn.140097c60
cmp dword [rbx + 0x9e4], 1
je 0x1400b35f0
mov rax, qword [r13 + 0x110]
cmp dword [rax + 0x214ac], 0
je 0x1400b35f0
cmp dword [rax + 0x214b4], 0
je 0x1400b35f0
mov ecx, dword [rax + 0x214a4]
cmp ecx, 5
je 0x1400b35f0
cmp ecx, 4
je 0x1400b35f0
mov dword [rsp + 0x58], 1
mov rcx, qword [rax + 0x110]
test rcx, rcx
je 0x1400b36b0
add rcx, 4
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rbp + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b3592
lea rcx, str.ActiveSpeaker:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400b36b6
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov r9d, 4
lea r8, [rsp + 0x58]
mov edx, 0x1d6068
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b35e2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.ActiveSpeaker:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_SPKRS_ALWAYS_ACTIVE_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400b36b6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b36b6
mov rax, qword [r13 + 0x110]
xor ebp, ebp
mov dword [rsp + 0x58], ebp
mov rcx, qword [rax + 0x110]
test rcx, rcx
je 0x1400b36b6
add rcx, 4
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rbp + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b364c
lea rcx, str.ActiveSpeaker:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400b36b6
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov r9d, 4
lea r8, [rsp + 0x58]
mov edx, 0x1d6068
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b3699
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.ActiveSpeaker:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_SPKRS_ALWAYS_ACTIVE_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400b36b6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b36b6
mov r13, qword [rsp + 0x88]
xor ebp, ebp
jmp 0x1400b36b6
xor ebp, ebp
jmp 0x1400b36b6
xor ebp, ebp
mov rax, qword [r13 + 0x110]
cmp dword [rax + 0x2672c], 0
je 0x1400b3748
mov edi, ebp
mov rbx, rbp
lea rcx, [r13 + 0x140]
call fcn.1400daae8
test eax, eax
jle 0x1400b3748
nop
test rbx, rbx
js 0x1400b3742
cmp rbx, qword [r13 + 0x258]
jge 0x1400b3742
mov rax, qword [r13 + 0x250]
mov rcx, qword [rax + rbx*8]
test rcx, rcx
je 0x1400b373c
cmp dword [rcx + 0x568], 0
je 0x1400b3720
add edi, 1
add rbx, 1
lea rcx, [r13 + 0x140]
call fcn.1400daae8
cmp edi, eax
jl 0x1400b36e0
jmp 0x1400b3748
mov rcx, qword [rcx + 0x2950]
test rcx, rcx
je 0x1400b3748
cmp dword [rcx + 0x1d8], 1
jne 0x1400b3748
call fcn.1400589c0
jmp 0x1400b3748
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
mov rcx, qword [r13 + 0x110]
call fcn.14001e080
mov rcx, qword [r13 + 0x110]
xor r9d, r9d
mov edx, 0x402
lea r8d, [r9 + 0x64]
mov rcx, qword [rcx + 0x11b70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [r13 + 0x110]
mov dword [r11 + 0x11594], ebp
xor eax, eax
jmp 0x1400b3788
xor eax, eax
mov rcx, qword [rsp + 0x46c0]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0x46d0]
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