joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059700
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbx, rcx
xor eax, eax
mov qword [r11 - 0x36], rax
lea rdx, [r11 - 0x38]
mov rcx, qword [rcx + 0x20]
call fcn.1400199f0
test eax, eax
jne 0x140059757
lea r8, str.DolbySettingUI.cpp
lea edx, [rax + 0x62]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
jmp fcn.140055180
mov qword [rsp + 0x90], 0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x1403402b8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1403402c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400597bc
mov r9d, eax
lea r8, str.ApoPolicyCfgClient.cpp
mov edx, 0x97
lea rcx, str._VCpl__RETURN_FALSE_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140055180
jmp 0x1400597fd
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x140342288]
mov r8d, 1
mov rdx, qword [rbx + 0x10]
call qword [rax + 0x50]
test eax, eax
js 0x1400597fd
lea rcx, [rsp + 0x38]
cmp word [rsp + 0x38], 0x13
je 0x140059814
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140059810
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
jmp 0x14005983a
mov edi, dword [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140059832
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
cmp edi, 1
sete dl
movzx ecx, word [rsp + 0x52]
cmp ecx, 2
je 0x140059898
lea eax, [rcx - 4]
test eax, 0xfffffffd
je 0x14005986e
cmp ecx, 8
jne 0x1400598ce
mov dword [rbx + 0xe0], 3
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov ecx, dword [rax + 0x314]
and ecx, 0x20
or ecx, 0x40
shr ecx, 5
mov dword [rbx + 0xe0], ecx
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
mov rax, qword [rbx + 0x20]
cmp dword [rax + 0x1d8], 3
je 0x1400598c4
test edx, edx
jne 0x1400598c4
mov dword [rbx + 0xe0], 1
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
mov dword [rbx + 0xe0], 0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x14005a780
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
call fcn.14010fd08
test rax, rax
je 0x14005a877
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14005a877
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call fcn.1400fa914
test rax, rax
jne 0x14005a7d8
lea r8, str.DpiScaler.cpp
lea edx, [rax + 0x5f]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x28
jmp fcn.140055180
mov qword [rsp + 0x20], rbx
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14005a805
lea r8, str.DpiScaler.cpp
lea edx, [rbx + 0x62]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.140055180
mov edx, 0x58
mov dword [0x1403d9808], 0x3f800000
mov rcx, rbx
mov dword [0x1403d980c], 0x3f800000
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0x5a
mov rcx, rbx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x140361c64]
movss dword [0x1403d9958], xmm0
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rbx, qword [rsp + 0x20]
mov dword [reloc.DSOUND.dll_DirectSoundCreate], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x140361c64]
movss dword [0x1403d9954], xmm0
add rsp, 0x28
ret
lea r8, str.DpiScaler.cpp
mov edx, 0x5c
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x28
jmp fcn.140055180
Function at 0x14005a8a0
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov ebx, edx
mov edi, ecx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, edi
jge 0x14005a8f8
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [0x1403d980c], xmm1
jmp 0x14005a900
movss xmm1, dword [0x1403d980c]
cmp eax, ebx
jge 0x14005a920
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [0x1403d9808], xmm2
jmp 0x14005a928
movss xmm2, dword [0x1403d9808]
comiss xmm1, xmm2
jbe 0x14005a93a
movaps xmm1, xmm2
movss dword [0x1403d980c], xmm2
jmp 0x14005a94a
comiss xmm2, xmm1
jbe 0x14005a94a
movaps xmm2, xmm1
movss dword [0x1403d9808], xmm1
movss xmm0, dword [0x140361b6c]
comiss xmm0, xmm2
jbe 0x14005a9e5
comiss xmm2, dword [0x140361b58]
ja 0x14005a9ca
cmp eax, 0x258
jle 0x14005a9ca
comiss xmm2, dword [0x140361b50]
jbe 0x14005a97e
movss xmm2, dword [0x140361b54]
jmp 0x14005a9d2
comiss xmm2, dword [0x140361b48]
jbe 0x14005a991
movss xmm2, dword [0x140361b4c]
jmp 0x14005a9d2
comiss xmm2, dword [0x140361b40]
jbe 0x14005a9a4
movss xmm2, dword [0x140361b44]
jmp 0x14005a9d2
comiss xmm2, dword [0x140361b38]
jbe 0x14005a9b7
movss xmm2, dword [0x140361b3c]
jmp 0x14005a9d2
comiss xmm2, dword [0x140361b28]
jbe 0x14005a9da
movss xmm2, dword [0x140361b2c]
jmp 0x14005a9d2
movss xmm2, dword [0x140361b5c]
movss dword [0x1403d9808], xmm2
movaps xmm1, xmm2
movss dword [0x1403d980c], xmm2
movss xmm0, dword [0x1403d9958]
mulss xmm0, xmm1
movss dword [0x1403d9958], xmm0
movss xmm1, dword [0x1403d9954]
mulss xmm1, xmm2
movss dword [0x1403d9954], xmm1
cvtps2pd xmm0, xmm2
cvtps2pd xmm1, xmm1
movsd qword [rsp + 0x30], xmm0
movsd qword [rsp + 0x28], xmm1
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, eax
mov edx, esi
lea rcx, str.CDpiScaler::InitUIScaleFactor:_FullScreen__d_X__d__RealWindowSize__d_X__d__DPI__.2f__UIScale__.2f
call fcn.140055180
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
mov r9d, 0x20006
lea r8, str.SoftwareRealtekAudioGUI_INFORMATION
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140015610
mov rbx, qword [rsp + 0x48]
test eax, eax
je 0x14005aa75
mov edx, 0xb2
jmp 0x14005aac9
movss xmm0, dword [0x1403d9808]
addss xmm0, dword [0x140361b18]
mulss xmm0, dword [0x140361c68]
cvttss2si eax, xmm0
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.CplScalingFactor
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14005aadd
mov edx, VariantTimeToSystemTime
lea r8, str.DpiScaler.cpp
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
nop
test rbx, rbx
je 0x14005aaeb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14005ab00
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rdi, r9
mov ebx, r8d
mov rsi, rdx
mov rbp, rcx
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14005ad60
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x818], rax
mov qword [rbp + 0x808], rsi
mov dword [rbp + 0x800], ebx
xor r12d, r12d
mov qword [rbp + 0x810], r12
mov dword [rbp + 0x820], r12d
mov eax, dword [rsp + 0xc0]
mov dword [rbp + 0x824], eax
test rdi, rdi
je 0x14005ad12
lea rdx, [0x140345b70]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14005ab93
mov r8d, eax
lea rcx, [rbp + 0x818]
call fcn.1400105e0
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x14005abb0
mov r8d, ebx
mov rdx, rdi
lea rcx, [rbp + 0x818]
call fcn.14001cfc0
mov rdi, rbp
mov esi, 0x5c00
nop dword [rax]
nop dword [rax + rax]
mov qword [rdi + 8], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
je 0x14005acb2
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov ebx, esi
or ebx, 0x220000
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax + 3]
mov rcx, qword [rbp + 0x818]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14005ac57
mov qword [rsp + 0x50], r12
jmp 0x14005aca9
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test ebx, ebx
cmove rcx, r12
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm0
add esi, 0xc
add rdi, 0x20
cmp esi, 0x5ef4
jl 0x14005abe0
mov qword [rbp + 0x7e8], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x7e0], rax
test rax, rax
je 0x14005ad12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbp
lea r8, [0x14005ad70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x810], rax
cmp dword [0x140400eb4], r12d
jne 0x14005ad44
mov rcx, qword [rbp + 0x818]
sub rcx, 0x18
call fcn.140015740
add rax, 0x18
mov qword [rsp + 0x40], rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140060fc0
nop
mov rax, rbp
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.14000de90
int3
Function at 0x1400623a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov ebx, r9d
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400624db
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140015740
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.1400622e0
nop
lea rdx, [0x14034e2c8]
lea rcx, str.failed
test edi, edi
cmovne rcx, rdx
lea rdx, str.get_Property
lea r8, str.get_Value
cmp dword [rsp + 0x80], 0
cmovne r8, rdx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
lea rdx, str._RTK___s__s__s___val_d_r_n
lea rcx, [rsp + 0x38]
call fcn.14000dfa0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140062483
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400624ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400624c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000de90
int3
Function at 0x1400624f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov ebx, r9d
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14006262b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140015740
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.1400622e0
nop
lea rdx, [0x14034e2c8]
lea rcx, str.failed
test edi, edi
cmovne rcx, rdx
lea rdx, str.put_Property
lea r8, str.put_Value
cmp dword [rsp + 0x80], 0
cmovne r8, rdx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
lea rdx, str._RTK___s__s__s___val_d_r_n
lea rcx, [rsp + 0x38]
call fcn.14000dfa0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400625d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400625fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140062616
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000de90
int3
Function at 0x140062740
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, str._RTK__DTS_set_enable_true_r_n
mov edi, edx
test edx, edx
jne 0x140062761
lea rcx, str._RTK__DTS_set_enable_false_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0xc4], 0
jne 0x140062795
lea r8, str.DtsHPSetting.cpp
mov edx, 0x1a5
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x100]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x38]
lea rcx, str._RTK__pSRSOperatingModeCurr__put_APOEnable_OK_r_n
test eax, eax
je 0x1400627b6
lea rcx, str._RTK__pSRSOperatingModeCurr__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0x38], 0
je 0x14006281e
mov rcx, qword [rbx + 0xc8]
xor r9d, r9d
mov rdx, qword [rbx + 0x100]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x30]
lea rcx, [0x14034e4d0]
test eax, eax
je 0x1400627ee
lea rcx, [0x14034e550]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbx + 0xc8]
xor r8d, r8d
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x38]
lea rcx, str._RTK__controller__put_APOEnable_OK_r_n
test eax, eax
je 0x140062818
lea rcx, str._RTK__controller__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140063eb0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
mov rbx, rcx
mov dword [rsp + 0x30], 0
je 0x140063ed9
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140063ed9
cmp dword [rax + 0x178], 1
jne 0x140063f0e
cmp dword [rcx + 0x44], 0
je 0x140063ef3
call fcn.1400644c0
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140064660
lea rdx, [rsp + 0x30]
call fcn.140062830
mov edx, dword [rsp + 0x30]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140062a00
add rsp, 0x20
pop rbx
ret

Function at 0x1400643a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.1401098dc
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x1400643ea
lea r8, str.DtsHPSetting.cpp
mov edx, 0x417
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140055180
mov rcx, qword [rdi + 0x20]
cmp dword [rcx + 0x1d8], 3
je 0x14006440c
call fcn.140019b20
test eax, eax
jne 0x14006440c
xor r9d, r9d
lea r8, str.HPX_SPK_Mode
jmp 0x140064419
mov r9d, 7
lea r8, str.HPX_HP_Mode
mov rax, qword [rbx]
lea rdx, [0x140346438]
mov rcx, rbx
call qword [rax + 0xf8]
mov rbx, qword [rsp + 0x30]
mov dword [rsi], eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140064440
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.1401098dc
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x140064471
lea r8, str.DtsHPSetting.cpp
mov edx, 0x435
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x20
pop rbx
jmp fcn.140055180
mov rax, qword [rbx]
lea r8, str.HPX_HP_Mode
mov r9d, 4
lea rdx, [0x140346438]
mov rcx, rbx
call qword [rax + 0x100]
mov rax, qword [rbx]
lea r8, str.HPX_SPK_Mode
xor r9d, r9d
lea rdx, [0x140346438]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [rax + 0x100]
Function at 0x1400644c0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, rcx
mov rcx, qword [rcx + 0xe8]
test rcx, rcx
jne 0x140064502
lea r8, str.DtsHPSetting.cpp
mov edx, 0x450
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
lea rbx, [rax + 0x100]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x48]
test eax, eax
jne 0x1400644f8
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14006463f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 0x20]
or rsi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x140064556
xor eax, eax
jmp 0x14006456a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140064560
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.1400105e0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
jge 0x140064591
mov edi, esi
jmp 0x1400645b2
lea rdx, [0x1403457f0]
mov rcx, rbx
call fcn.14029fa1c
mov rdi, rax
test rax, rax
jne 0x1400645ac
mov edi, esi
jmp 0x1400645b2
sub rdi, rbx
sar rdi, 1
not edi
shr edi, 0x1f
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14006464a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r9d, edi
mov r8, rbx
lea rdx, str._RTK__IsInHPXOffMode:_OpMode__s__bInOffMode___d_r_n
lea rcx, [rsp + 0x60]
call fcn.14000dfa0
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, 1
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140064619
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140064635
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
int3
Function at 0x140064660
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rsi
mov rdi, rcx
cmp dword [rcx + 0x44], 0
jne 0x1400646aa
lea r8, str.DtsHPSetting.cpp
mov edx, 0x468
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp qword [rcx + 0xe0], 0
jne 0x1400646c2
lea r8, str.DtsHPSetting.cpp
mov edx, 0x469
jmp 0x14006468e
test edx, edx
je 0x1400646f3
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
call fcn.1400643a0
mov edx, dword [rsp + 0x40]
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.140062a00
mov esi, dword [rcx + 0xb8]
mov rcx, qword [rcx + 0x20]
call fcn.140019b20
test eax, eax
jne 0x140064724
mov rcx, qword [rdi + 0x20]
cmp dword [rcx + 0x1d8], 3
je 0x140064724
call fcn.140019dc0
test eax, eax
je 0x14006472a
mov esi, dword [rdi + 0xbc]
jmp 0x14006472a
mov esi, dword [rdi + 0xb4]
test esi, esi
jns 0x14006473f
lea r8, str.DtsHPSetting.cpp
mov edx, 0x47c
jmp 0x14006468e
movsxd rcx, esi
test esi, esi
js 0x140064815
cmp rcx, qword [rdi + 0x118]
jge 0x140064815
mov rax, qword [rdi + 0x110]
lea rdx, [rax + rcx*8]
lea rcx, [rdi + 0x100]
call fcn.140064820
mov rdx, qword [rdi + 0x100]
test rdx, rdx
jne 0x14006478b
lea r8, str.DtsHPSetting.cpp
mov edx, 0x480
jmp 0x14006468e
mov rcx, qword [rdi + 0xe0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14006480a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r9d, ebx
mov r8d, esi
lea rdx, str._RTK__pSRSEpInfo__put_OpMode__OpMode__d___:_hr___x_r_n
lea rcx, [rsp + 0x50]
call fcn.14000dfa0
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006469a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, 0x80004005
call fcn.14000de90
int3
call fcn.1400f91a0
int3

Function at 0x140066310
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp edx, 0x20000100
jb 0x1400663ae
cmp edx, 0x20000101
jbe 0x140066358
cmp edx, 0x20000102
jne 0x1400663ae
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x1400663ae
mov dword [rcx + 0xb0], 0
call rax
mov eax, 1
add rsp, 0x20
pop rbx
ret
lea rcx, str.DtsHP_on_event_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbx - 0x150]
call fcn.140063eb0
mov rcx, qword [0x1403ff420]
test rcx, rcx
jne 0x1400663a0
lea r8, str.AudioObjectUI.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x21280003
call qword [rax + 0x60]
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14006f880
Capabilities:
Check http status code

Disassembly:
sub rsp, 0x28
cmp edx, 0xc8
ja 0x14006f8a5
mov r8d, edx
mov r9d, 1
lea rdx, [0x140341520]
add rsp, 0x28
jmp fcn.14000f4d0
lea r8, str.DtsS2Setting.cpp
mov edx, 0x94
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
add rsp, 0x28
ret
sub rsp, 0x28
cmp edx, 0x64
ja 0x14006f9f2
mov r8d, edx
mov r9d, 1
lea rdx, [0x1403414f0]
add rsp, 0x28
jmp fcn.14000f4d0
lea r8, str.DtsS2Setting.cpp
mov edx, LoadRegTypeLib
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
add rsp, 0x28
ret
sub rsp, 0x28
lea eax, [rdx - 1]
cmp eax, 1
jbe 0x14006fb5b
lea r8, str.DtsS2Setting.cpp
mov edx, 0xad
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
add rsp, 0x28
ret
mov r8d, edx
mov r9d, 1
lea rdx, [0x1403414d8]
add rsp, 0x28
jmp fcn.14000f4d0
sub rsp, 0x28
cmp edx, 0x21090201
ja 0x140070516
je 0x1400704d0
sub edx, 0x21090100
je 0x1400704c4
sub edx, 1
je 0x1400704b4
sub edx, 1
je 0x1400704a8
cmp edx, 0xfe
jne 0x14007050f
lea rdx, [0x140341568]
jmp 0x140070563
lea rdx, [0x140341580]
jmp 0x140070563
add rcx, 0xffffffffffffffc0
mov edx, r8d
add rsp, 0x28
jmp 0x14006fb30
lea rdx, [0x140341598]
jmp 0x140070563
lea r8d, [r8 + r8*4]
add r8d, r8d
cmp r8d, 0x64
ja 0x1400704f7
lea rdx, [0x140341550]
mov r9d, 1
add rcx, 0xffffffffffffffc0
add rsp, 0x28
jmp fcn.14000f4d0
lea r8, str.DtsS2Setting.cpp
mov edx, 0x88
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
add rsp, 0x28
ret
sub edx, 0x21090210
je 0x14007055c
sub edx, 1
je 0x140070549
sub edx, 0xf
je 0x140070540
cmp edx, 1
jne 0x14007050f
lea edx, [r8 + r8*4]
add rcx, 0xffffffffffffffc0
add edx, edx
add rsp, 0x28
jmp 0x14006f9d0
lea rdx, [0x140341508]
jmp 0x140070563
lea edx, [r8 + r8*4]
add rcx, 0xffffffffffffffc0
add edx, edx
add rsp, 0x28
jmp 0x14006f880
lea rdx, [0x140341538]
xor eax, eax
mov r9d, 1
test r8d, r8d
setne al
add rcx, 0xffffffffffffffc0
mov r8d, eax
add rsp, 0x28
jmp fcn.14000f4d0