joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034bb0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x2060
call fcn.14029e430
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 [0x1403d88e8]
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.1400f9930
mov rcx, rax
test rax, rax
je 0x140034d16
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140345b70]
mov rdx, rsi
mov rcx, rdi
call fcn.140015a40
or rbx, 0xffffffffffffffff
test al, al
jne 0x140034c59
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140034c40
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.1400105e0
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x50]
call fcn.14029ff20
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 0x140034cea
lea rcx, [rsp + 0x50]
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140034ca0
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140034cc8
lea rax, [rax*2 - 2]
cmp rax, 0x2000
jae 0x140034d21
mov word [rsp + rax + 0x50], bp
lea rax, [rsp + 0x50]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140034cd0
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400105e0
mov rax, rdi
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.14029d880
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.14000de90
int3
call fcn.14029dc94
int3
Function at 0x140034d30
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x2060
call fcn.14029e430
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 [0x1403d88e8]
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.1400f9930
mov rcx, rax
test rax, rax
je 0x140034e96
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140345b70]
mov rdx, rsi
mov rcx, rdi
call fcn.140015a40
or rbx, 0xffffffffffffffff
test al, al
jne 0x140034dd9
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140034dc0
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.1400105e0
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x50]
call fcn.14029ff20
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 0x140034e6a
lea rcx, [rsp + 0x50]
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140034e20
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140034e48
lea rax, [rax*2 - 2]
cmp rax, 0x2000
jae 0x140034ea1
mov word [rsp + rax + 0x50], bp
lea rax, [rsp + 0x50]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140034e50
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400105e0
mov rax, rdi
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.14029d880
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.14000de90
int3
call fcn.14029dc94
int3
Function at 0x140034eb0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x2060
call fcn.14029e430
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 [0x1403d88e8]
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.1400f9930
mov rcx, rax
test rax, rax
je 0x140035032
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140345b70]
mov rdx, rsi
mov rcx, rdi
call fcn.140015a40
or rbx, 0xffffffffffffffff
test al, al
jne 0x140034f59
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140034f40
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.1400105e0
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x50]
call fcn.14029ff20
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 0x140035006
lea rcx, [rsp + 0x50]
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140034fa0
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140034fc8
lea rax, [rax*2 - 2]
cmp rax, 0x2000
jae 0x14003503d
mov word [rsp + rax + 0x50], bp
lea rcx, [rsp + 0x50]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140034fd0
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400105e0
lea rdx, str.RealtekAudioHDA_
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140034ff1
mov r8d, ebx
mov rcx, rdi
call fcn.14001cfc0
mov rax, rdi
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.14029d880
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.14000de90
int3
call fcn.14029dc94
int3

Function at 0x140035050
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.1400f9930
mov rcx, rax
test rax, rax
je 0x140035128
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rbp, [0x140345b70]
mov rdx, rbp
mov rcx, rsi
call fcn.140015a40
or rbx, 0xffffffffffffffff
test al, al
jne 0x1400350cd
mov rax, rbx
inc rax
cmp word [rbp + rax*2], 0
jne 0x1400350b3
mov r8d, eax
mov rdx, rbp
mov rcx, rsi
call fcn.1400105e0
nop
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140336b70]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140035102
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400350f6
mov edi, ebx
mov r8d, edi
mov rcx, rsi
call fcn.1400105e0
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.14000de90
int3
Function at 0x140035a90
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403ff444]
test eax, eax
jne 0x140035abb
lea rcx, [0x1403ff440]
mov dword [0x1403ff440], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403ff444]
cmp eax, 6
jne 0x140035ad3
cmp dword [0x1403ff448], 1
jb 0x140035ad5
mov eax, 1
add rsp, 0x28
ret
ja 0x140035ac9
xor eax, eax
add rsp, 0x28
ret

Function at 0x140035ae0
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.1400a7ba0
mov rbx, rax
test rax, rax
jne 0x140035b33
lea r8, str.Common.cpp
mov edx, 0xb45
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
cmp dword [rax + 0x1d8], 9
jne 0x140035b43
xor ebx, ebx
jmp 0x140035c4f
lea rcx, [rsp + 0x30]
call fcn.1400bf9f0
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.14000f270
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 0x140035ba6
test dword [rdx + 0x318], 0x1000000
je 0x140035bae
mov dword [rsp + 0x58], 1
mov eax, dword [rdx + 0x318]
mov ecx, eax
and ecx, 0x2000
jne 0x140035bd0
bt eax, 0x15
jb 0x140035bd0
bt eax, 0x17
jb 0x140035bd0
bt eax, 0x16
jae 0x140035c1f
test ecx, ecx
je 0x140035bdf
mov ecx, eax
test byte [rdx + 0x314], 0x40
jne 0x140035c08
mov ecx, eax
bt eax, 0x16
jb 0x140035c08
mov r8d, dword [rdx + 0x1d8]
cmp r8d, 1
je 0x140035c08
cmp r8d, 3
je 0x140035c08
mov dword [rsp + 0x58], 1
mov ecx, dword [rdx + 0x318]
bt ecx, 0xd
lea rcx, [rsp + 0x30]
jae 0x140035c1a
call fcn.140058620
jmp 0x140035c1f
call fcn.140059170
lea rcx, [rsp + 0x30]
call fcn.140058950
test eax, eax
jne 0x140035c3b
lea rcx, [rsp + 0x30]
call fcn.140058c90
test eax, eax
je 0x140035c40
mov ebx, 1
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.1400bfb00
mov r9d, ebx
lea r8, str.DolbyPcee3
lea rdx, [0x1403459c0]
lea rcx, [0x140400ce0]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp fcn.140107c34
Function at 0x14003d910
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 0x14003d95c
lea r8, str.GuiResourceMgr.cpp
mov edx, 0x9a
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
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 0x14003d992
lea r8, str.GuiResourceMgr.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea r8, [0x140351610]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14003d9d1
lea r8, str.GuiResourceMgr.cpp
mov edx, 0xa2
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
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 0x14003da11
lea r8, str.GuiResourceMgr.cpp
mov edx, 0xa6
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
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 0x14003da5c
lea r8, str.GuiResourceMgr.cpp
mov edx, 0xaa
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x58
call fcn.1400f8110
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003da82
mov edx, 0x400
mov rcx, rax
call fcn.14010a4f0
mov rbx, rax
jmp 0x14003da84
xor ebx, ebx
test rbx, rbx
jne 0x14003dab3
lea r8, str.GuiResourceMgr.cpp
mov edx, 0xae
lea rcx, str._VCpl__RETURN_NULL_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
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.14010a68c
mov ecx, 0x78
call fcn.1400f8110
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003dae5
mov rcx, rax
call fcn.14003db30
mov rdi, rax
jmp 0x14003dae7
xor edi, edi
mov qword [rdi], 0
mov rdx, rdi
mov rcx, rbx
call fcn.1400e9220
mov rcx, rbx
call fcn.14010a734
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 0x140046030
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 0x14004606f
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x1400461c7
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x140046080
lea ebx, [rax + 1]
jmp 0x1400461c7
test dword [rax + 0x30], 0x8000
je 0x140046129
call fcn.140033f20
test eax, eax
jne 0x14004620e
mov eax, dword [0x1403ff444]
test eax, eax
jne 0x1400460c1
lea rcx, [0x1403ff440]
mov dword [0x1403ff440], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403ff444]
mov edx, dword [0x1403ff448]
cmp eax, 6
jne 0x1400460d1
cmp edx, 2
je 0x140046102
test eax, eax
jne 0x1400460f8
lea rcx, [0x1403ff440]
mov dword [0x1403ff440], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x1403ff448]
mov eax, dword [0x1403ff444]
cmp eax, 6
jne 0x140046129
cmp edx, 3
jne 0x140046129
call fcn.1400e7c80
test eax, eax
je 0x140046129
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 0x14004620e
mov rax, qword [rdi + 0x10]
cmp dword [rax + 0x568], 0
jne 0x140046140
mov ebx, 1
jmp 0x1400461c7
test dword [rax + 0x50], 0x100
jne 0x14004620e
mov ebx, 1
lea r8, str.JDPopup
mov r9d, ebx
lea rdx, str.General
lea rcx, [0x140400ce0]
call fcn.1401076a0
test eax, eax
jne 0x1400461c7
mov rdx, qword [rdi + 0x10]
mov r8, rsi
mov r9d, dword [rdx + 0x274]
bt r9d, 0x11
jae 0x1400461a4
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x2000
je 0x14004620e
bt r9d, 0x12
jae 0x1400461c7
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x1000
je 0x14004620e
mov rdx, qword [rdi + 0x10]
test rdx, rdx
jne 0x1400461e2
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp dword [rdx + 0x568], 0
je 0x1400461d0
test byte [rdi + 0x80], 1
je 0x1400461d0
imul rcx, rsi, 0xac
mov eax, dword [rcx + rdx + 0x61c]
and eax, 0xf000
cmp eax, 0x2000
jne 0x1400461d0
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140046220
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14004b2e0
test rbx, rbx
jne 0x14004625c
lea r8, str.CustomHP.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.140055180
test byte [rdi + 0x80], 2
je 0x1400462c6
xor edx, edx
cmp dword [rbx + 0x14], edx
jbe 0x1400462c6
nop dword [rax]
mov eax, edx
imul r8, rax, 0xac
mov eax, dword [r8 + rbx + 0x148]
movzx ecx, al
cmp ecx, 7
je 0x14004628e
cmp ecx, 8
jne 0x1400462bf
shr eax, 8
test al, al
jne 0x1400462bf
mov ecx, dword [r8 + rbx + 0xc4]
mov eax, ecx
and eax, 0x30000
cmp eax, 0x10000
jne 0x1400462bf
and ecx, 0xf0
cmp cl, 0x60
je 0x1400462bf
mov byte [r8 + rbx + 0x149], 7
inc edx
cmp edx, dword [rbx + 0x14]
jb 0x140046270
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400462e0
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 0x140046308
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x48]
mov rdx, qword [rdi + 0x10]
test rdx, rdx
jne 0x140046338
lea r8, str.CustomHP.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.140055180
test rbx, rbx
jne 0x140046364
lea r8, str.CustomHP.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.140055180
test byte [rdi + 0x80], 4
je 0x1400463a9
imul rcx, rsi, 0xac
mov eax, dword [rcx + rdx + 0x61c]
and eax, 0xf000
cmp eax, 0x2000
jne 0x1400463a9
xor eax, eax
mov word [rbx], ax
mov rax, qword [rdi + 0x10]
test dword [rax + 0x274], 0x100
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jne 0x1400463a6
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 0x140046c70
Capabilities:
Get common file path
Get program files directory
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x1403d88e8]
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.14004aab0
mov rax, qword [rbx + 0x10]
test rax, rax
jne 0x140046cd9
lea r8, str.CustomHP.cpp
mov edx, 0x1d8
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x140046d91
test byte [rbx + 0x80], 8
je 0x140046cfe
cmp qword [rax + 0x518], 0
jle 0x140046cfe
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 0x140046d91
mov qword [rsp + 0x298], rdi
lea rcx, [rsp + 0x60]
lea rdi, [rbx + 0x88]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140046d53
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400105e0
lea rdx, str.RealtekAudioHelp_
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140046d74
mov r8d, ebx
mov rcx, rdi
call fcn.14001cfc0
mov rdi, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14029d880
add rsp, 0x280
pop rbx
ret
Function at 0x14004b110
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 0x14004b13b
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 0x14004b290
test dword [rax + 0x30], 0x8000
je 0x14004b1fa
call fcn.140033f20
test eax, eax
jne 0x14004b1ed
mov eax, dword [0x1403ff444]
test eax, eax
jne 0x14004b189
lea rcx, [0x1403ff440]
mov dword [0x1403ff440], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x1403ff444]
mov edx, dword [0x1403ff448]
cmp eax, 6
jne 0x14004b199
cmp edx, 2
je 0x14004b1ca
test eax, eax
jne 0x14004b1c0
lea rcx, [0x1403ff440]
mov dword [0x1403ff440], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x1403ff448]
mov eax, dword [0x1403ff444]
cmp eax, 6
jne 0x14004b1fa
cmp edx, 3
jne 0x14004b1fa
call fcn.1400e7c80
test eax, eax
je 0x14004b1fa
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
jne 0x14004b1fa
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x10]
cmp dword [rax + 0x568], 0
je 0x14004b290
test dword [rax + 0x50], 0x100
jne 0x14004b1ed
mov r9d, 1
lea r8, str.JDPopup
lea rdx, str.General
lea rcx, [0x140400ce0]
call fcn.1401076a0
test eax, eax
jne 0x14004b290
mov rdx, qword [rbx + 0x10]
mov r8, rdi
mov r9d, dword [rdx + 0x274]
bt r9d, 0x11
jae 0x14004b269
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x2000
je 0x14004b1ed
bt r9d, 0x12
jae 0x14004b290
imul rax, r8, 0xac
mov ecx, dword [rax + rdx + 0x61c]
and ecx, 0xf000
cmp ecx, 0x1000
je 0x14004b1ed
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004bb50
Capabilities:
Print debug messages

Disassembly:
test rdx, rdx
jne 0x14004bb6d
lea r8, str.Customized.cpp
mov edx, 0x856
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
jmp fcn.140055180
test r8, r8
jne 0x14004bb8a
lea r8, str.Customized.cpp
mov edx, 0x857
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
jmp fcn.140055180
test r9, r9
jne 0x14004bba7
lea r8, str.Customized.cpp
mov edx, 0x858
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
jmp fcn.140055180
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14004bbb7
mov rax, qword [rcx]
jmp qword [rax + 0x60]
ret

Function at 0x14004bbc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, rcx
mov r14d, r9d
mov rcx, qword [rcx + 8]
mov ebp, r8d
mov rdi, rdx
test rcx, rcx
je 0x14004bbf6
mov r10, qword [rcx]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp qword [r10 + 0x68]
mov rdx, qword [rsi + 0x10]
test rdx, rdx
jne 0x14004bc24
lea r8, str.Customized.cpp
mov edx, 0x86a
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp fcn.140055180
test dword [rdx + 0x30], 0x8000000
mov qword [rsp + 0x58], rbx
mov ebx, dword [rsp + 0x70]
je 0x14004bc89
movsxd rax, dword [rsp + 0x78]
imul rcx, rax, 0xac
mov dword [rsp + 0x50], 8
mov r8d, dword [rcx + rdx + 0x6b4]
lea rdx, [rsp + 0x50]
call fcn.1400339c0
lea eax, [rbx - 3]
cmp eax, 1
ja 0x14004bc89
cmp dword [rsp + 0x50], 2
ja 0x14004bc89
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 0x550]
test rcx, rcx
je 0x14004bc89
mov r8d, 0x825
mov rdx, rdi
call fcn.14008dbe0
mov rax, qword [rsi + 0x10]
mov rdx, rax
test byte [rax + 0x3c], 8
je 0x14004bcc5
cmp ebp, 1
je 0x14004bc9f
test ebp, ebp
jne 0x14004bcc5
mov rdx, rax
test r14d, r14d
jne 0x14004bcc5
mov rcx, qword [rax + 0x550]
test rcx, rcx
je 0x14004bcc5
mov r8d, 0x825
mov rdx, rdi
call fcn.14008dbe0
mov rdx, qword [rsi + 0x10]
test dword [rdx + 0x50], 0x4000
mov r8, rdx
je 0x14004bd16
movsxd rax, dword [rsp + 0x78]
imul rcx, rax, 0xac
cmp dword [rcx + rdx + 0x6a4], 0x1a
jne 0x14004bd16
cmp ebp, 1
je 0x14004bcf0
test ebp, ebp
jne 0x14004bd16
mov r8, rdx
test r14d, r14d
jne 0x14004bd16
mov rcx, qword [rdx + 0x550]
test rcx, rcx
je 0x14004bd16
mov r8d, 0x825
mov rdx, rdi
call fcn.14008dbe0
mov r8, qword [rsi + 0x10]
test byte [r8 + 0x50], 0x10
je 0x14004bd5a
cmp ebx, 3
jl 0x14004bd5a
cmp ebx, 4
jle 0x14004bd40
cmp ebx, 6
jne 0x14004bd5a
mov rcx, qword [r8 + 0x550]
test rcx, rcx
je 0x14004bd5a
mov r8d, 0xc89
jmp 0x14004bd52
mov rcx, qword [r8 + 0x550]
test rcx, rcx
je 0x14004bd5a
mov r8d, 0x848
mov rdx, rdi
call fcn.14008dbe0
mov rax, qword [rsi + 0x10]
test dword [rax + 0x114], 0x10000000
je 0x14004bda2
cmp ebx, 2
jne 0x14004bd83
mov rcx, qword [rax + 0x550]
test rcx, rcx
je 0x14004bda2
mov r8d, 0xd04
jmp 0x14004bd9a
cmp ebx, 0x22
jne 0x14004bda2
mov rcx, qword [rax + 0x550]
test rcx, rcx
je 0x14004bda2
mov r8d, 0x1438
mov rdx, rdi
call fcn.14008dbe0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret