joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140057680
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.1400189d0
test eax, eax
jne 0x1400576d7
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidolbysettingui.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.140052e90
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, [0x140322af8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140322b08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14005773c
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_apopolicycfgclient.cpp
mov edx, 0x97
lea rcx, str._VCpl__RETURN_FALSE_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x14005777d
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x140324b88]
mov r8d, 1
mov rdx, qword [rbx + 0x10]
call qword [rax + 0x50]
test eax, eax
js 0x14005777d
lea rcx, [rsp + 0x38]
cmp word [rsp + 0x38], 0x13
je 0x140057794
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140057790
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
jmp 0x1400577ba
mov edi, dword [rsp + 0x40]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400577b2
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 0x140057819
lea eax, [rcx - 4]
test eax, 0xfffffffd
je 0x1400577ee
cmp ecx, 8
jne 0x14005784f
mov dword [rbx + 0xe0], 3
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
mov rax, qword [rbx + 0x20]
movzx ecx, byte [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 0x140057845
test edx, edx
jne 0x140057845
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 0x140058730
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
call fcn.14010a950
test rax, rax
je 0x140058827
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x140058827
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call fcn.1400f6f54
test rax, rax
jne 0x140058788
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidpiscaler.cpp
lea edx, [rax + 0x5f]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x28
jmp fcn.140052e90
mov qword [rsp + 0x20], rbx
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x1400587b5
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidpiscaler.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.140052e90
mov edx, 0x58
mov dword [0x1403b97d8], 0x3f800000
mov rcx, rbx
mov dword [0x1403b97dc], 0x3f800000
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0x5a
mov rcx, rbx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x140347de4]
movss dword [0x1403b9928], 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 [0x140347de4]
movss dword [0x1403b9924], xmm0
add rsp, 0x28
ret
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidpiscaler.cpp
mov edx, 0x5c
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x28
jmp fcn.140052e90
Function at 0x140058850
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 0x1400588a8
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [0x1403b97dc], xmm1
jmp 0x1400588b0
movss xmm1, dword [0x1403b97dc]
cmp eax, ebx
jge 0x1400588d0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [0x1403b97d8], xmm2
jmp 0x1400588d8
movss xmm2, dword [0x1403b97d8]
comiss xmm1, xmm2
jbe 0x1400588ea
movaps xmm1, xmm2
movss dword [0x1403b97dc], xmm2
jmp 0x1400588fa
comiss xmm2, xmm1
jbe 0x1400588fa
movaps xmm2, xmm1
movss dword [0x1403b97d8], xmm1
movss xmm0, dword [0x140347cec]
comiss xmm0, xmm2
jbe 0x140058995
comiss xmm2, dword [0x140347cd8]
ja 0x14005897a
cmp eax, 0x258
jle 0x14005897a
comiss xmm2, dword [0x140347cd0]
jbe 0x14005892e
movss xmm2, dword [0x140347cd4]
jmp 0x140058982
comiss xmm2, dword [0x140347cc8]
jbe 0x140058941
movss xmm2, dword [0x140347ccc]
jmp 0x140058982
comiss xmm2, dword [0x140347cc0]
jbe 0x140058954
movss xmm2, dword [0x140347cc4]
jmp 0x140058982
comiss xmm2, dword [0x140347cb8]
jbe 0x140058967
movss xmm2, dword [0x140347cbc]
jmp 0x140058982
comiss xmm2, dword [0x140347ca8]
jbe 0x14005898a
movss xmm2, dword [0x140347cac]
jmp 0x140058982
movss xmm2, dword [0x140347cdc]
movss dword [0x1403b97d8], xmm2
movaps xmm1, xmm2
movss dword [0x1403b97dc], xmm2
movss xmm0, dword [0x1403b9928]
mulss xmm0, xmm1
movss dword [0x1403b9928], xmm0
movss xmm1, dword [0x1403b9924]
mulss xmm1, xmm2
movss dword [0x1403b9924], 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.140052e90
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.1400146e0
mov rbx, qword [rsp + 0x48]
test eax, eax
je 0x140058a25
mov edx, 0xb2
jmp 0x140058a79
movss xmm0, dword [0x1403b97d8]
addss xmm0, dword [0x140347c98]
mulss xmm0, dword [0x140347de8]
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 0x140058a8d
mov edx, VariantTimeToSystemTime
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidpiscaler.cpp
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
test rbx, rbx
je 0x140058a9b
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 0x140058ab0
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.1400f5f94
mov rcx, rax
test rax, rax
je 0x140058d10
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 0x140058cc2
lea rdx, [0x140328530]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140058b46
mov r8d, eax
lea rcx, [rbp + 0x818]
call fcn.140010390
nop
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x140058b60
mov r8d, ebx
mov rdx, rdi
lea rcx, [rbp + 0x818]
call fcn.14001bf50
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 0x140058c62
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 0x140058c07
mov qword [rsp + 0x50], r12
jmp 0x140058c59
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 0x140058b90
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 0x140058cc2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbp
lea r8, [0x140058d20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x810], rax
cmp dword [0x1403dd2f4], r12d
jne 0x140058cf4
mov rcx, qword [rbp + 0x818]
sub rcx, 0x18
call fcn.140014810
add rax, 0x18
mov qword [rsp + 0x40], rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.14005ec50
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.14000dc70
int3
Function at 0x1400600a0
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.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400601dd
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.140014810
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.14005ffe0
nop
lea rdx, [0x140331b18]
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.14000dd70
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140060185
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 0x1400601ae
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 0x1400601c8
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.14000dc70
int3
Function at 0x1400601f0
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.1400f5f94
mov rcx, rax
test rax, rax
je 0x14006032d
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.140014810
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.14005ffe0
nop
lea rdx, [0x140331b18]
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.14000dd70
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400602d5
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 0x1400602fe
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 0x140060318
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.14000dc70
int3
Function at 0x140060440
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 0x140060461
lea rcx, str._RTK__DTS_set_enable_false_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0xc4], 0
jne 0x140060495
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x1a5
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
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 0x1400604b6
lea rcx, str._RTK__pSRSOperatingModeCurr__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0x38], 0
je 0x14006051e
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, [0x140331d20]
test eax, eax
je 0x1400604ee
lea rcx, [0x140331da0]
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 0x140060518
lea rcx, str._RTK__controller__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140061bd0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
mov rbx, rcx
mov dword [rsp + 0x30], 0
je 0x140061bf9
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140061bf9
cmp dword [rax + 0x178], 1
jne 0x140061c2e
cmp dword [rcx + 0x44], 0
je 0x140061c13
call fcn.1400621f0
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140062390
lea rdx, [rsp + 0x30]
call fcn.140060530
mov edx, dword [rsp + 0x30]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140060700
add rsp, 0x20
pop rbx
ret

Function at 0x1400620d0
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.140104be4
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14006211a
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.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.140052e90
mov rcx, qword [rdi + 0x20]
cmp dword [rcx + 0x1d8], 3
je 0x14006213c
call fcn.140018b20
test eax, eax
jne 0x14006213c
xor r9d, r9d
lea r8, str.HPX_SPK_Mode
jmp 0x140062149
mov r9d, 7
lea r8, str.HPX_HP_Mode
mov rax, qword [rbx]
lea rdx, [0x140328e58]
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 0x140062170
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140104be4
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x1400621a1
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x435
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x20
pop rbx
jmp fcn.140052e90
mov rax, qword [rbx]
lea r8, str.HPX_HP_Mode
mov r9d, 4
lea rdx, [0x140328e58]
mov rcx, rbx
call qword [rax + 0x100]
mov rax, qword [rbx]
lea r8, str.HPX_SPK_Mode
xor r9d, r9d
lea rdx, [0x140328e58]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [rax + 0x100]
Function at 0x1400621f0
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 0x140062232
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x450
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
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 0x140062228
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140062376
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]
mov rsi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x140062289
xor eax, eax
jmp 0x14006229a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140062290
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.140010390
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
jge 0x1400622c1
mov edi, esi
jmp 0x1400622e2
lea rdx, [0x1403281b0]
mov rcx, rbx
call fcn.140283820
mov rdi, rax
test rax, rax
jne 0x1400622dc
mov edi, esi
jmp 0x1400622e2
sub rdi, rbx
sar rdi, 1
not edi
shr edi, 0x1f
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14006236b
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.14000dd70
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 0x140062345
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 0x140062361
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.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x140062390
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 0x1400623da
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x468
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp qword [rcx + 0xe0], 0
jne 0x1400623f2
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x469
jmp 0x1400623be
test edx, edx
je 0x140062423
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
call fcn.1400620d0
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.140060700
mov esi, dword [rcx + 0xb8]
mov rcx, qword [rcx + 0x20]
call fcn.140018b20
test eax, eax
jne 0x140062454
mov rcx, qword [rdi + 0x20]
cmp dword [rcx + 0x1d8], 3
je 0x140062454
call fcn.140018dc0
test eax, eax
je 0x14006245a
mov esi, dword [rdi + 0xbc]
jmp 0x14006245a
mov esi, dword [rdi + 0xb4]
test esi, esi
jns 0x14006246f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x47c
jmp 0x1400623be
movsxd rcx, esi
test esi, esi
js 0x140062547
cmp rcx, qword [rdi + 0x118]
jge 0x140062547
mov rax, qword [rdi + 0x110]
lea rdx, [rax + rcx*8]
lea rcx, [rdi + 0x100]
call fcn.140062550
mov rdx, qword [rdi + 0x100]
test rdx, rdx
jne 0x1400624bb
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x480
jmp 0x1400623be
mov rcx, qword [rdi + 0xe0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14006253c
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.14000dd70
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400623ca
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.14000dc70
int3
call fcn.1400f5890
int3
Function at 0x140064060
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp edx, 0x20000100
jb 0x1400640fe
cmp edx, 0x20000101
jbe 0x1400640a8
cmp edx, 0x20000102
jne 0x1400640fe
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x1400640fe
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.140061bd0
mov rcx, qword [0x1403db8b0]
test rcx, rcx
jne 0x1400640f0
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audioobjectui.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
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