joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031de0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov rcx, qword [rcx]
movzx eax, word [rcx]
cmp ax, word [0x140328530]
jne 0x140031e45
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicommon.cpp
mov edx, 0x740
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140031e3d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
cmp eax, 0xffffffff
mov eax, 0xffffffff
je 0x140031e2a
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140031e70
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140032b10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x2060
call fcn.140282780
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2078], rbx
mov qword [rsp + 0x2080], rbp
mov qword [rsp + 0x2088], rsi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140032c76
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140328530]
mov rdx, rsi
mov rcx, rdi
call fcn.140014ab0
lea rbx, [rbp - 1]
test al, al
jne 0x140032bb9
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140032ba0
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.140010390
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x50]
call fcn.1402841a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140032c4a
lea rcx, [rsp + 0x50]
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140032c00
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140032c28
lea rax, [rax*2 - 2]
cmp rax, 0x2000
jae 0x140032c81
mov word [rsp + rax + 0x50], bp
lea rax, [rsp + 0x50]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140032c30
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140010390
mov rax, rdi
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
call fcn.140281ffc
int3
Function at 0x140032c90
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x2060
call fcn.140282780
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2078], rbx
mov qword [rsp + 0x2080], rbp
mov qword [rsp + 0x2088], rsi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140032df6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140328530]
mov rdx, rsi
mov rcx, rdi
call fcn.140014ab0
lea rbx, [rbp - 1]
test al, al
jne 0x140032d39
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140032d20
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.140010390
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x50]
call fcn.1402841a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140032dca
lea rcx, [rsp + 0x50]
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140032d80
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140032da8
lea rax, [rax*2 - 2]
cmp rax, 0x2000
jae 0x140032e01
mov word [rsp + rax + 0x50], bp
lea rax, [rsp + 0x50]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140032db0
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140010390
mov rax, rdi
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
call fcn.140281ffc
int3
Function at 0x140032e10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x2060
call fcn.140282780
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2078], rbx
mov qword [rsp + 0x2080], rbp
mov qword [rsp + 0x2088], rsi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140032f92
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140328530]
mov rdx, rsi
mov rcx, rdi
call fcn.140014ab0
lea rbx, [rbp - 1]
test al, al
jne 0x140032eb9
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140032ea0
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.140010390
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x50]
call fcn.1402841a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140032f66
lea rcx, [rsp + 0x50]
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140032f00
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140032f28
lea rax, [rax*2 - 2]
cmp rax, 0x2000
jae 0x140032f9d
mov word [rsp + rax + 0x50], bp
lea rcx, [rsp + 0x50]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140032f30
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140010390
lea rdx, str.RealtekAudioHDA_
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140032f51
mov r8d, ebx
mov rcx, rdi
call fcn.14001bf50
mov rax, rdi
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
call fcn.140281ffc
int3

Function at 0x140032fb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x58], rdi
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140033088
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rbp, [0x140328530]
mov rdx, rbp
mov rcx, rsi
call fcn.140014ab0
lea rbx, [rdi - 1]
test al, al
jne 0x14003302d
mov rax, rbx
inc rax
cmp word [rbp + rax*2], 0
jne 0x140033013
mov r8d, eax
mov rdx, rbp
mov rcx, rsi
call fcn.140010390
nop
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140317a30]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140033062
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140033056
mov edi, ebx
mov r8d, edi
mov rcx, rsi
call fcn.140010390
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rsi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x1400339f0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403db8d4]
test eax, eax
jne 0x140033a1b
lea rcx, [0x1403db8d0]
mov dword [0x1403db8d0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403db8d4]
cmp eax, 6
jne 0x140033a33
cmp dword [0x1403db8d8], 0
jne 0x140033a33
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140033a40
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403db8d4]
test eax, eax
jne 0x140033a6b
lea rcx, [0x1403db8d0]
mov dword [0x1403db8d0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403db8d4]
cmp eax, 6
jne 0x140033a83
cmp dword [0x1403db8d8], 1
jne 0x140033a83
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140033a90
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403db8d4]
test eax, eax
jne 0x140033abb
lea rcx, [0x1403db8d0]
mov dword [0x1403db8d0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403db8d4]
cmp eax, 6
jne 0x140033ad3
cmp dword [0x1403db8d8], 1
jb 0x140033ad5
mov eax, 1
add rsp, 0x28
ret
ja 0x140033ac9
xor eax, eax
add rsp, 0x28
ret

Function at 0x140033ae0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403db8d4]
test eax, eax
jne 0x140033b0b
lea rcx, [0x1403db8d0]
mov dword [0x1403db8d0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403db8d4]
cmp eax, 6
jne 0x140033b23
cmp dword [0x1403db8d8], 2
jne 0x140033b23
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140033b30
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
add rcx, 0x1bc8
call fcn.1400a4eb0
mov rbx, rax
test rax, rax
jne 0x140033b83
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicommon.cpp
mov edx, 0xb45
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
cmp dword [rax + 0x1d8], 9
jne 0x140033b93
xor ebx, ebx
jmp 0x140033c9f
lea rcx, [rsp + 0x30]
call fcn.1400bcab0
lea rdi, vtable.CDolbySetting.0
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x48], 3
mov qword [rsp + 0x50], rbx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000f020
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x78]
mov rdx, qword [rsp + 0x50]
xor ebx, ebx
mov dword [rsp + 0x6c], ebx
test dword [rdx + 0x314], 0x100
jne 0x140033bf6
test dword [rdx + 0x318], 0x1000000
je 0x140033bfe
mov dword [rsp + 0x58], 1
mov eax, dword [rdx + 0x318]
mov ecx, eax
and ecx, 0x2000
jne 0x140033c20
bt eax, 0x15
jb 0x140033c20
bt eax, 0x17
jb 0x140033c20
bt eax, 0x16
jae 0x140033c6f
test ecx, ecx
je 0x140033c2f
mov ecx, eax
test byte [rdx + 0x314], 0x40
jne 0x140033c58
mov ecx, eax
bt eax, 0x16
jb 0x140033c58
mov r8d, dword [rdx + 0x1d8]
cmp r8d, 1
je 0x140033c58
cmp r8d, 3
je 0x140033c58
mov dword [rsp + 0x58], 1
mov ecx, dword [rdx + 0x318]
bt ecx, 0xd
lea rcx, [rsp + 0x30]
jae 0x140033c6a
call fcn.1400565a0
jmp 0x140033c6f
call fcn.1400570f0
lea rcx, [rsp + 0x30]
call fcn.1400568d0
test eax, eax
jne 0x140033c8b
lea rcx, [rsp + 0x30]
call fcn.140056c10
test eax, eax
je 0x140033c90
mov ebx, 1
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.1400bcbc0
mov r9d, ebx
lea r8, str.DolbyPcee3
lea rdx, [0x140328380]
lea rcx, [0x1403dd120]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp fcn.140102e14
Function at 0x14003b9b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rbx, qword [rcx + 0x10]
test rdx, rdx
jne 0x14003b9fc
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiguiresourcemgr.cpp
mov edx, 0x9a
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x198]
test rcx, rcx
jne 0x14003ba32
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiguiresourcemgr.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea r8, [0x140335540]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14003ba71
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiguiresourcemgr.cpp
mov edx, 0xa2
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rdx, rdi
mov rcx, qword [rbx + 0x198]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
jne 0x14003bab1
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiguiresourcemgr.cpp
mov edx, 0xa6
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rdx, rdi
mov rcx, qword [rbx + 0x198]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14003bafc
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiguiresourcemgr.cpp
mov edx, 0xaa
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x58
call fcn.1400f48fc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003bb22
mov edx, 0x400
mov rcx, rax
call fcn.140105788
mov rbx, rax
jmp 0x14003bb24
xor ebx, ebx
test rbx, rbx
jne 0x14003bb53
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiguiresourcemgr.cpp
mov edx, 0xae
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call fcn.140105904
mov ecx, 0x78
call fcn.1400f48fc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003bb85
mov rcx, rax
call fcn.14003bbd0
mov rdi, rax
jmp 0x14003bb87
xor edi, edi
mov qword [rdi], 0
mov rdx, rdi
mov rcx, rbx
call fcn.1400e5fe0
mov rcx, rbx
call fcn.140105990
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140043f00
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov esi, edx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140043f2e
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jmp 0x140044056
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x140043f3f
lea ebx, [rax + 1]
jmp 0x140044058
test dword [rax + 0x30], 0x8000
je 0x140043fba
call fcn.140031e80
test eax, eax
jne 0x14004409f
call fcn.140033ae0
test eax, eax
jne 0x140043f93
mov eax, dword [0x1403db8d4]
test eax, eax
jne 0x140043f85
lea rcx, [0x1403db8d0]
mov dword [0x1403db8d0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403db8d4]
cmp eax, 6
jne 0x140043fba
cmp dword [0x1403db8d8], 3
jne 0x140043fba
call fcn.1400e48c0
test eax, eax
je 0x140043fba
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.ToastDll64.dll_bool___cdecl_GetDisplayMode_unsigned_long_int____ptr64_]
cmp dword [rsp + 0x30], 2
je 0x14004409f
mov rax, qword [rdi + 0x10]
cmp dword [rax + 0x568], 0
jne 0x140043fd1
mov ebx, 1
jmp 0x140044058
test dword [rax + 0x50], 0x100
jne 0x14004409f
mov ebx, 1
lea r8, str.JDPopup
mov r9d, ebx
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.140102880
test eax, eax
jne 0x140044058
mov rdx, qword [rdi + 0x10]
mov r8, rsi
mov r9d, dword [rdx + 0x274]
bt r9d, 0x11
jae 0x140044035
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x2000
je 0x14004409f
bt r9d, 0x12
jae 0x140044058
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x1000
je 0x14004409f
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14004408d
cmp dword [rdx + 0x568], 0
je 0x14004408d
test byte [rdi + 0x80], 1
je 0x14004408d
imul rcx, rsi, 0xac
mov eax, dword [rcx + rdx + 0x61c]
and eax, 0xf000
cmp eax, 0x2000
je 0x14004409f
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400440c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.1400490e0
test rbx, rbx
jne 0x1400440fc
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomhp.cpp
mov edx, 0xdf
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140052e90
test byte [rdi + 0x80], 2
je 0x140044166
xor edx, edx
cmp dword [rbx + 0x14], edx
jbe 0x140044166
nop dword [rax]
mov eax, edx
imul r8, rax, 0xac
mov eax, dword [r8 + rbx + 0x148]
movzx ecx, al
cmp ecx, 7
je 0x14004412e
cmp ecx, 8
jne 0x14004415f
shr eax, 8
test al, al
jne 0x14004415f
mov ecx, dword [r8 + rbx + 0xc4]
mov eax, ecx
and eax, 0x30000
cmp eax, 0x10000
jne 0x14004415f
and ecx, 0xf0
cmp cl, 0x60
je 0x14004415f
mov byte [r8 + rbx + 0x149], 7
inc edx
cmp edx, dword [rbx + 0x14]
jb 0x140044110
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140044180
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov esi, edx
mov rcx, qword [rcx + 8]
mov rbx, r8
test rcx, rcx
je 0x1400441a8
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x48]
mov rdx, qword [rdi + 0x10]
test rdx, rdx
jne 0x1400441d8
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomhp.cpp
mov edx, 0xf9
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
test rbx, rbx
jne 0x140044204
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomhp.cpp
mov edx, 0xfa
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
test byte [rdi + 0x80], 4
je 0x140044249
imul rcx, rsi, 0xac
mov eax, dword [rcx + rdx + 0x61c]
and eax, 0xf000
cmp eax, 0x2000
jne 0x140044249
xor eax, eax
mov word [rbx], ax
mov rax, qword [rdi + 0x10]
test dword [rax + 0x274], 0x100
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jne 0x140044246
mov eax, 0x17
mov word [rbx], ax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140044b10
Capabilities:
Get common file path
Get program files directory
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor eax, eax
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call fcn.1400488e0
mov rax, qword [rbx + 0x10]
test rax, rax
jne 0x140044b79
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomhp.cpp
mov edx, 0x1d8
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x140044c3d
test byte [rbx + 0x80], 8
je 0x140044b9e
cmp qword [rax + 0x518], 0
jle 0x140044b9e
or dword [rax + 0x2c], 0x2000000
mov rax, qword [rbx + 0x10]
or dword [rax + 0x2c], 0x4000000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rsp + 0x30], 9
mov edx, 0x26
mov eax, 0x2a
cmove edx, eax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140044c3d
mov qword [rsp + 0x298], rdi
lea rcx, [rsp + 0x60]
lea rdi, [rbx + 0x88]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140044bf6
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140010390
lea rdx, str.RealtekAudioHelp_
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140044c20
mov r8d, ebx
mov rcx, rdi
call fcn.14001bf50
mov rdi, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140281bf0
add rsp, 0x280
pop rbx
ret
Function at 0x140048f40
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, edx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140048f6b
mov rax, qword [rcx]
mov edx, edi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x30]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140049092
test dword [rax + 0x30], 0x8000
je 0x140048ff3
call fcn.140031e80
test eax, eax
jne 0x140049085
call fcn.140033ae0
test eax, eax
jne 0x140048fcc
mov eax, dword [0x1403db8d4]
test eax, eax
jne 0x140048fbe
lea rcx, [0x1403db8d0]
mov dword [0x1403db8d0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403db8d4]
cmp eax, 6
jne 0x140048ff3
cmp dword [0x1403db8d8], 3
jne 0x140048ff3
call fcn.1400e48c0
test eax, eax
je 0x140048ff3
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.ToastDll64.dll_bool___cdecl_GetDisplayMode_unsigned_long_int____ptr64_]
cmp dword [rsp + 0x30], 2
je 0x140049085
mov rax, qword [rbx + 0x10]
cmp dword [rax + 0x568], 0
je 0x140049092
test dword [rax + 0x50], 0x100
jne 0x140049085
mov r9d, 1
lea r8, str.JDPopup
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.140102880
test eax, eax
jne 0x140049092
mov rdx, qword [rbx + 0x10]
mov r8, rdi
mov r9d, dword [rdx + 0x274]
bt r9d, 0x11
jae 0x140049062
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x2000
je 0x140049085
bt r9d, 0x12
jae 0x140049092
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x1000
jne 0x140049092
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140049950
Capabilities:
Print debug messages

Disassembly:
test rdx, rdx
jne 0x14004996d
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomized.cpp
mov edx, 0x856
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
jmp fcn.140052e90
test r8, r8
jne 0x14004998a
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomized.cpp
mov edx, 0x857
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
jmp fcn.140052e90
test r9, r9
jne 0x1400499a7
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguicustomized.cpp
mov edx, 0x858
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
jmp fcn.140052e90
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400499b7
mov rax, qword [rcx]
jmp qword [rax + 0x60]
ret