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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r9d, r8d
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14000edba
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_animatemgr.cpp
mov edx, 0xd9
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
jmp fcn.140052e90
mov rdx, qword [rcx + 0x150]
mov qword [rsp + 0x40], rbp
test rdx, rdx
je 0x14000edfc
nop dword [rax + rax]
mov r8, rdx
test rdx, rdx
je 0x14000ef5b
mov r8, qword [r8 + 0x10]
mov rax, qword [rsi + 0x40]
mov rdx, qword [rdx]
mov rcx, qword [r8 + 0x38]
cmp qword [rcx + 0x40], rax
jne 0x14000edf7
cmp dword [r8 + 8], r9d
je 0x14000ee1f
test rdx, rdx
jne 0x14000edd0
cmp dword [rbx + 0xf8], r9d
ja 0x14000ee3a
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_animatemgr.cpp
mov edx, 0xc8
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14000ee57
mov rdx, r8
mov rcx, rbx
call fcn.14000e9e0
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp r9, qword [rbx + 0xf8]
jge 0x14000ef5b
mov rax, qword [rbx + 0xf0]
mov rbp, qword [rax + r9*8]
test rbp, rbp
jne 0x14000ee7e
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_animatemgr.cpp
mov edx, 0xe6
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
jmp fcn.140052e90
cmp qword [rbx + 0x128], 0
mov qword [rsp + 0x48], rdi
jne 0x14000ee99
mov ecx, 0x48
call fcn.1400f48fc
jmp 0x14000eea5
lea rcx, [rbx + 0x110]
call fcn.14010332c
movups xmm0, xmmword [rbp]
mov rdi, rax
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rbp + 0x30]
movsd qword [rax + 0x30], xmm1
mov qword [rax + 0x38], rsi
mov eax, dword [rax + 0xc]
mov dword [rdi + 0x40], eax
mov eax, dword [rdi + 0x14]
add eax, 0xfffffffb
cmp eax, 1
ja 0x14000ef13
lea r9, vtable.type_info.0
mov dword [rsp + 0x20], 0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rsi
call fcn.1402a6fac
test rax, rax
je 0x14000ef13
mov ecx, 0xffdf
mov dword [rax + 0x4c], 0xff
and word [rax + 0x50], cx
lea rcx, [rbx + 0x148]
mov rdx, rdi
call fcn.1401030b4
cmp qword [rbx + 0x160], 1
mov rdi, qword [rsp + 0x48]
jne case.default.0x14000ef54
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov edx, 0x861
lea r8d, [r9 + 0x32]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
jmp qword [sym.imp.USER32.dll_SetTimer]
call fcn.1400f5890
int3
invalid
invalid
Function at 0x140010b90
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx], 0
mov rbx, rcx
jne 0x140010bbb
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x223
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x30
pop rbx
jmp fcn.140052e90
lea r8, [rcx + 0x18]
mov edx, 0x1306a007
call fcn.1400107a0
lea r8, [rbx + 0x1c]
mov edx, 0x1306a008
call fcn.1400107a0
lea r8, [rbx + 0x20]
mov edx, 0x1306a009
call fcn.1400107a0
lea r8, [rbx + 0x24]
mov edx, 0x1306a00a
call fcn.1400107a0
lea r8, [rbx + 0x28]
mov edx, 0x1306a00b
call fcn.1400107a0
lea r9, [rbx + 0x14]
mov dword [rsp + 0x20], 0x28
lea r8, str.AsusSoundStageProfileData
lea rdx, str.DevRestore
lea rcx, [0x1403dd120]
call fcn.140102cdc
add rsp, 0x30
pop rbx
ret

Function at 0x140010c30
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx], 0
mov rbx, rcx
jne 0x140010c5b
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x234
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x30
pop rbx
jmp fcn.140052e90
mov r8d, dword [rcx + 0x18]
mov edx, 0x1306a007
call fcn.1400108e0
mov r8d, dword [rbx + 0x1c]
mov edx, 0x1306a008
call fcn.1400108e0
mov r8d, dword [rbx + 0x20]
mov edx, 0x1306a009
call fcn.1400108e0
mov r8d, dword [rbx + 0x24]
mov edx, 0x1306a00a
call fcn.1400108e0
mov r8d, dword [rbx + 0x28]
mov edx, 0x1306a00b
call fcn.1400108e0
lea r9, [rbx + 0x14]
mov dword [rsp + 0x20], 0x28
lea r8, str.AsusSoundStageProfileData
lea rdx, str.DevRestore
lea rcx, [0x1403dd120]
call fcn.140102cdc
add rsp, 0x30
pop rbx
ret
Function at 0x140011d30
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140011eeb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc8], rax
lea rbx, [0x140328530]
mov rdx, rbx
lea rcx, [rsp + 0xc8]
call fcn.140014ab0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140011dae
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x140011d90
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0xc8]
call fcn.140010390
nop
mov rcx, qword [rsi + 0x98]
test rcx, rcx
jne 0x140011ddf
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiocoresetting.cpp
mov edx, 0xd9
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov rbx, qword [rsp + 0xc8]
jmp 0x140011ec9
mov rcx, qword [rcx + 0x538]
mov rax, qword [rcx]
lea rdx, [rsp + 0xd8]
call qword [rax + 0x100]
nop
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140014890
nop
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011e2a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xc8]
lea rcx, [rbx - 0x18]
call fcn.140014810
add rax, 0x18
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xd0]
call fcn.140031de0
test eax, eax
jne 0x140011e72
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiocoresetting.cpp
mov edx, 0xdb
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x140011ec9
mov rax, qword [rsi + 0x98]
cmp qword [rax + 0x538], 0
je 0x140011ec9
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1402841a0
mov dword [rsp + 0x30], VarBstrFromDisp
mov qword [rsp + 0x38], 0
lea rax, str.open
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x60], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140011ee0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x140013fa0
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 rdi, rcx
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x140013fdb
test dword [rax + 0x548], 0x4000
je 0x140014170
xor esi, esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
mov r9d, 0x2001f
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONDriverInfomation
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400146e0
test eax, eax
je 0x140014064
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONDriverInfomation
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400144b0
test eax, eax
je 0x140014064
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiocoresetting.cpp
mov edx, 0x488
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov rbx, qword [rsp + 0x48]
jmp 0x140014162
mov eax, dword [rdi + 0x614]
shr eax, 5
and eax, 1
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.MultiStreamPlaybackSupport
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rdi + 0x614]
shr eax, 6
and eax, 1
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.MultiStreamRecordingSupport
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rdi + 0x614]
and eax, 1
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.MultiStreamPlaybackEnable
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rdi + 0x614]
shr eax, 1
and eax, 1
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.MultiStreamRecordingEnable
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140014162
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
test rbx, rbx
je 0x140014170
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 0x140014920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140014995
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140014995
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140014985
nop
cmp rbx, rcx
jae 0x140014995
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140014970
cmp rbx, rcx
jae 0x140014995
cmp word [rbx], 0
je 0x140014995
mov rax, rbx
jmp 0x140014997
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d780
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x98]
mov rdi, rcx
test rax, rax
jne 0x14001d7b2
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiodevicemgr.cpp
mov edx, 0x148
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x40
pop rdi
jmp fcn.140052e90
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
xor ebp, ebp
cmp dword [rax + 0x168], 0xe
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
jne 0x14001d838
mov rbx, qword [rcx + 0xf48]
mov esi, ebp
test rbx, rbx
je 0x14001d838
nop
mov rax, rbx
test rbx, rbx
je 0x14001d990
mov rax, qword [rax + 0x10]
mov rbx, qword [rbx]
test rax, rax
je 0x14001d82a
lea rcx, [rdi + 0xf78]
mov r8d, esi
cmp dword [rax + 0x168], ebp
jne 0x14001d821
lea rcx, [rdi + 0xfa0]
mov rdx, qword [rcx + 0x10]
call fcn.1401055cc
inc esi
test rbx, rbx
jne 0x14001d7f0
mov rax, qword [rdi + 0x98]
test byte [rax + 0x548], 0x42
je 0x14001d90c
xor edx, edx
lea rcx, [rdi + 0x1040]
lea r8, [rdx - 1]
call fcn.140105618
xor edx, edx
lea rcx, [rdi + 0x1018]
lea r8, [rdx - 1]
call fcn.140105618
mov rsi, qword [rdi + 0xf48]
mov r14d, ebp
test rsi, rsi
je 0x14001d90c
mov r12d, 0x22a
mov rbx, rsi
test rsi, rsi
je 0x14001d990
mov rbx, qword [rbx + 0x10]
mov rsi, qword [rsi]
test rbx, rbx
je 0x14001d900
mov rcx, rbx
call fcn.140017e40
test eax, eax
jne 0x14001d8b9
mov rax, qword [rdi + 0x98]
test dword [rax + 0x548], 0x200000
je 0x14001d900
mov eax, dword [rbx + 0x1d8]
cmp dword [rbx + 0x168], ebp
je 0x14001d8e2
cmp eax, 9
ja 0x14001d900
bt r12d, eax
jae 0x14001d900
mov rdx, qword [rdi + 0x1028]
lea rcx, [rdi + 0x1018]
jmp 0x14001d8f8
add eax, 0xfffffffc
cmp eax, 1
ja 0x14001d900
mov rdx, qword [rdi + 0x1050]
lea rcx, [rdi + 0x1040]
mov r8d, r14d
call fcn.1401055cc
inc r14d
test rsi, rsi
jne 0x14001d882
mov rax, qword [rdi + 0x98]
mov rbx, qword [rax + 0x1bd8]
test rbx, rbx
je 0x14001d967
nop
mov rax, rbx
test rbx, rbx
je 0x14001d990
mov rax, qword [rax + 0x10]
mov rbx, qword [rbx]
test rax, rax
je 0x14001d960
cmp dword [rax + 0x178], 1
jne 0x14001d960
cmp dword [rax + 0x168], 0
lea rcx, [rdi + 0xfc8]
mov r8d, ebp
jne 0x14001d957
lea rcx, [rdi + 0xff0]
mov rdx, qword [rcx + 0x10]
call fcn.1401055cc
inc ebp
test rbx, rbx
jne 0x14001d920
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
call fcn.1400f5890
int3
Function at 0x14001e2e0
Capabilities:
Print debug messages

Disassembly:
push r13
sub rsp, 0x30
mov rax, qword [rcx + 0x98]
mov r13, rcx
test rax, rax
jne 0x14001e313
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiodevicemgr.cpp
mov edx, 0x28a
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x30
pop r13
jmp fcn.140052e90
mov qword [rsp + 0x20], r15
mov r15, qword [rax + 0x1bd8]
test r15, r15
je 0x14001e4d7
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x28], r14
mov rax, r15
test r15, r15
je 0x14001e4e3
mov rbp, qword [rax + 0x10]
mov rax, qword [r13 + 0x98]
mov r15, qword [r15]
test rax, rax
jne 0x14001e37d
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiodevicemgr.cpp
mov edx, 0x295
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14001e4b5
test rbp, rbp
jne 0x14001e39f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiodevicemgr.cpp
mov edx, 0x296
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14001e4b5
cmp dword [rbp + 0x168], 0
jne 0x14001e4b5
test byte [rax + 0x30], 0x80
je 0x14001e3bf
cmp dword [rbp + 0x1d8], 4
je 0x14001e4b5
lea rcx, [rbp + 0x218]
call fcn.1401032ac
mov rax, qword [r13 + 0x98]
mov edi, dword [rbp + 0x3a4]
mov rsi, qword [rax + 0x1bd8]
test rsi, rsi
je 0x14001e4b5
nop dword [rax + rax]
mov rcx, rsi
test rsi, rsi
je 0x14001e4e3
mov rcx, qword [rcx + 0x10]
mov rsi, qword [rsi]
cmp rcx, rbp
je 0x14001e4ac
test rcx, rcx
je 0x14001e4ac
cmp qword [rcx + 0x1f8], 2
jl 0x14001e4ac
mov eax, dword [rbp + reloc.COMCTL32.dll_Ordinal_380]
cmp dword [rcx + reloc.COMCTL32.dll_Ordinal_380], eax
jne 0x14001e4ac
mov eax, dword [rbp + 0x170]
cmp dword [rcx + 0x170], eax
jne 0x14001e4ac
mov rbx, qword [rcx + 0x1e8]
test rbx, rbx
je 0x14001e4ac
nop dword [rax + rax]
mov rax, rbx
test rbx, rbx
je 0x14001e4e3
mov r9, qword [rax + 0x10]
mov rbx, qword [rbx]
test r9, r9
je 0x14001e4a7
xor r10d, r10d
test edi, edi
je 0x14001e4a7
mov edx, dword [r9 + 0x5c]
xor eax, eax
test edx, edx
je 0x14001e48e
mov r8d, dword [rbp + r10*4 + 0x3a8]
cmp dword [r9 + rax*4 + 0x60], r8d
je 0x14001e498
inc eax
cmp eax, edx
jb 0x14001e481
inc r10d
cmp r10d, edi
jb 0x14001e473
jmp 0x14001e4a7
mov rdx, r9
lea rcx, [rbp + 0x218]
call fcn.1401030b4
test rbx, rbx
jne 0x14001e450
test rsi, rsi
jne 0x14001e3f0
test r15, r15
jne 0x14001e341
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r13
ret
call fcn.1400f5890
int3
Function at 0x1400226a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
xor esi, esi
mov dword [r9], esi
lea rax, [rsp + 0x40]
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140022715
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x140022710
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x140022728
test ecx, ecx
je 0x140022725
test cl, 1
jne 0x140022710
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140022728
mov eax, SafeArrayDestroy
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140025e50
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov rdi, r9
movzx ebx, r8w
mov rsi, rdx
xor r15d, r15d
mov qword [r11 + 8], r15
mov rcx, qword [0x1403db8b0]
mov rax, qword [rcx]
mov qword [r11 - 0x68], r15
xor r9d, r9d
lea r8, [r11 + 8]
mov edx, 0x10000077
call qword [rax + 0x10]
mov edx, ebx
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140025f20
mov edx, 0xe0
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audioobjectui.cpp
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov rdx, qword [rsi]
mov ebx, 0xffffffff
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025ef7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140025f11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdx, rbx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
jne 0x140025f3e
mov edx, 0xe4
jmp 0x140025ec1
mov rdx, rbx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
jne 0x140025f6a
mov edx, 0xe8
jmp 0x140025ec1
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 2]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140025fa7
mov edx, 0xf4
jmp 0x140025ec1
mov dword [rsp + 0xa0], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xa0]
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025ff7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140026011
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140028650
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov esi, ecx
xor ebp, ebp
mov qword [rax - 0x20], rbp
mov dword [rax - 0x18], ebp
mov qword [rax - 0x10], rbp
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14002889d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, str.RTSnMg64.cpl
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400286b0
mov r8d, eax
lea rcx, [rsp + 0x78]
call fcn.140010390
mov rbx, qword [rsp + 0x78]
mov r9d, 0x2001f
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400146e0
test esi, esi
je 0x1400287ad
test eax, eax
jne 0x140028726
mov dword [rsp + 0x28], 2
lea rax, [0x140328530]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140028859
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400144b0
mov r9d, 0x2001f
lea r8, str.Control_Paneldont_load
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x48]
call fcn.1400146e0
test eax, eax
jne 0x140028827
mov dword [rsp + 0x28], 2
lea rax, [0x140328530]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140028859
test eax, eax
jne 0x1400287c4
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140028859
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400144b0
mov r9d, 0x2001f
lea r8, str.Control_Paneldont_load
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x48]
call fcn.1400146e0
test eax, eax
jne 0x140028827
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140028859
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, str.Control_Paneldont_load
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x48]
call fcn.1400144b0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140028872
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140028882
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x140029de0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x2a0
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x290], rax
cmp dword [0x1403dbc88], 7
jne 0x140029f35
cmp dword [0x1403dd788], 0
mov edi, 1
jne 0x140029f28
lea rax, [rsp + 0x38]
mov dword [0x1403dd788], edi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftPlus_ThemesCurrent
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140029f28
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x34], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140029f1d
movups xmm0, xmmword [str.Windows_Classic.theme]
mov eax, dword [0x14032b7d8]
lea rcx, [rsp + 0x70]
movups xmm1, xmmword [0x14032b7c0]
mov qword [rsp + 0x2b0], rbx
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x68], eax
movsd xmm0, qword [0x14032b7d0]
movsd qword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jl 0x140029f15
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub ebx, eax
lea rcx, [rsp + 0x70]
movsxd rax, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x1403dd784]
test eax, eax
cmove ecx, edi
mov dword [0x1403dd784], ecx
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1403dd784], 0
jne 0x140029f35
mov eax, edi
jmp 0x140029f37
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140281bf0
add rsp, 0x2a0
pop rdi
ret