joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007cd50
Capabilities:
Get file size
Read .ini file

Disassembly:
push rsi
sub rsp, 0x50
test rdx, rdx
mov rsi, rcx
jne 0x14007cd66
xor eax, eax
add rsp, 0x50
pop rsi
ret
mov qword [rcx + 8], rdx
mov rcx, qword [0x14022d680]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x14007cf00
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rbx
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0xffffffff
setne dil
test edi, edi
je 0x14007cf00
mov eax, 2
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov r13, 0xffffffffffffffff
mul rbp
cmovo rax, r13
mov rcx, rax
call fcn.14013c75c
test rax, rax
mov r12, rax
jne 0x14007ce20
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
mov word [rax], 0
mov rax, qword [0x14022d680]
lea r8, [0x14019bd68]
mov qword [rsp + 0x28], rax
mov r9, r12
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r8, str.SetCount
lea rdx, str.DefLevel
lea rcx, [0x14022c580]
xor r9d, r9d
call fcn.14014cc50
mov rbx, r12
mov dword [rsi + 0x10], eax
cmp word [r12], 0
je 0x14007ce96
mov rdx, rbx
mov rcx, rsi
call fcn.14007d210
xor eax, eax
mov rdi, rbx
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
lea rbx, [rbx + rcx*2]
cmp word [rbx], ax
jne 0x14007ce74
cmp dword [rsi + 0x18], 0
je 0x14007cebe
add dword [rsi + 0x10], 1
mov r9d, dword [rsi + 0x10]
lea r8, str.SetCount
lea rdx, str.DefLevel
lea rcx, [0x14022c580]
call fcn.14014ccf0
cmp dword [rsi + 0x14], 0
jne 0x14007ceee
lea r8, str.Finished
lea rdx, str.DefLevel
lea rcx, [0x14022c580]
mov r9d, 1
call fcn.14014ccf0
mov dword [0x14022c3e8], 1
mov rcx, r12
call fcn.14013c754
mov eax, 1
jmp 0x14007ce01
xor eax, eax
jmp 0x14007ce0b
Function at 0x140087070
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x40
mov rsi, rcx
lea rbx, [rcx + 0x158]
mov edi, 0x20
nop
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
add rbx, 8
sub rdi, 1
mov qword [rbx - 8], rax
jne 0x1400870a0
lea r8d, [rdi + 1]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsi + 0x258], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r12d, r12d
lea rcx, [0x140087600]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsi + 0x260], rax
mov dword [rsp + 0x20], 4
call fcn.14014a4fc
test rax, rax
mov rbp, rax
je 0x140087298
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x58]
mov dword [rsp + 0x30], 2
lea r9, [rsi + 0x268]
mov r8, rbx
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsi + 0x270], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [0x140087730]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsi + 0x278], rax
mov dword [rsp + 0x20], 4
call fcn.14014a4fc
test rax, rax
mov rbp, rax
je 0x140087298
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x58]
mov dword [rsp + 0x30], 2
lea r9, [rsi + 0x280]
mov r8, rbx
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsi + 0x2f8], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [0x1400877d0]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsi + 0x300], rax
mov dword [rsp + 0x20], 4
call fcn.14014a4fc
test rax, rax
mov rbp, rax
je 0x140087298
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x58]
mov dword [rsp + 0x30], 2
lea r9, [rsi + 0x308]
mov r8, rbx
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x14008ec30
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov ebp, r9d
mov r12d, r8d
mov rsi, rdx
mov r13, rcx
call fcn.14013e120
mov rcx, rax
xor r10d, r10d
test rax, rax
setne r10b
test r10d, r10d
jne 0x14008ec83
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rbx, qword [rsi]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x14008ecb9
cmp rax, qword [rbx - 0x18]
jne 0x14008ecb9
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x14008ecf7
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x14008ecd5
call fcn.1400c63c0
int3
mov eax, dword [rbx - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.14015c410
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.14008eb10
nop
lea rdx, [0x1401af1f8]
lea rcx, str.failed
test r12d, r12d
cmovne rcx, rdx
lea rdx, str.get_Property
lea r8, str.get_Value
cmp dword [rsp + 0x90], 0
cmovne r8, rdx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
lea rdx, str._RTK___s__s__s___val_d_r_n
lea rcx, [rsp + 0x30]
call fcn.140001df0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008ed82
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008edad
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
add edi, 0xffffffff
test edi, edi
jg 0x14008edc9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14008ee50
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov ebp, r9d
mov r12d, r8d
mov rsi, rdx
mov r13, rcx
call fcn.14013e120
mov rcx, rax
xor r10d, r10d
test rax, rax
setne r10b
test r10d, r10d
jne 0x14008eea3
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rbx, qword [rsi]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x14008eed9
cmp rax, qword [rbx - 0x18]
jne 0x14008eed9
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x14008ef17
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x14008eef5
call fcn.1400c63c0
int3
mov eax, dword [rbx - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.14015c410
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.14008eb10
nop
lea rdx, [0x1401af1f8]
lea rcx, str.failed
test r12d, r12d
cmovne rcx, rdx
lea rdx, str.put_Property
lea r8, str.put_Value
cmp dword [rsp + 0x90], 0
cmovne r8, rdx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
lea rdx, str._RTK___s__s__s___val_d_r_n
lea rcx, [rsp + 0x30]
call fcn.140001df0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008efa2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008efcd
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
add edi, 0xffffffff
test edi, edi
jg 0x14008efe9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14008f290
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test edx, edx
mov rbx, rcx
mov edi, edx
lea rcx, str._RTK__DTS_set_enable_true_r_n
jne 0x14008f2b1
lea rcx, str._RTK__DTS_set_enable_false_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0xc0], 0
jne 0x14008f2cd
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 0x14008f2ee
lea rcx, str._RTK__pSRSOperatingModeCurr__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0x38], 0
je 0x14008f356
mov rcx, qword [rbx + 0xc8]
mov rdx, qword [rbx + 0x100]
xor r9d, r9d
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x30]
lea rcx, [0x1401af400]
test eax, eax
je 0x14008f326
lea rcx, [0x1401af480]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbx + 0xc8]
xor r8d, r8d
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x38]
lea rcx, str._RTK__controller__put_APOEnable_OK_r_n
test eax, eax
je 0x14008f350
lea rcx, str._RTK__controller__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140095690
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
mov rbx, rcx
mov dword [rsp + 0x30], 0
je 0x1400956b9
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400956b9
cmp dword [rax + 0x178], 1
jne 0x1400956e9
cmp dword [rcx + 0x44], 0
je 0x1400956d3
call fcn.1400957b0
mov rcx, rbx
mov edx, eax
add rsp, 0x20
pop rbx
jmp fcn.140095990
lea rdx, [rsp + 0x30]
call fcn.14008f370
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call fcn.14008f5a0
add rsp, 0x20
pop rbx
ret

Function at 0x1400957b0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, rcx
mov rcx, qword [rcx + 0xe8]
test rcx, rcx
jne 0x1400957dc
xor eax, eax
jmp 0x140095942
lea rdi, [rax + 0x100]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x48]
test eax, eax
jne 0x140095940
call fcn.14013e120
mov rdx, rax
xor esi, esi
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140095815
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 0x20]
or rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x140095847
mov ecx, esi
jmp 0x140095859
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [rsp + 0x50]
call fcn.1400038f0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0x10], 0
jge 0x140095880
mov eax, ebx
jmp 0x14009589e
lea rdx, [0x14019dc08]
mov rcx, rdi
call fcn.14015d110
test rax, rax
jne 0x140095898
mov eax, ebx
jmp 0x14009589e
sub rax, rdi
sar rax, 1
mov ebp, esi
test eax, eax
setns bpl
call fcn.14013e120
mov r11, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400958c5
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r9d, ebp
mov r8, rdi
lea rdx, str._RTK__IsInHPXOffMode:_OpMode__s__bInOffMode___d_r_n
lea rcx, [rsp + 0x60]
call fcn.140001df0
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebp, ebp
sete sil
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14009591e
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], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14009593c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
jmp 0x140095942
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140095990
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rbx, rcx
cmp dword [rcx + 0x44], 0
je 0x140095b53
cmp qword [rcx + 0xe0], 0
je 0x140095b53
test edx, edx
je 0x140095a38
xor edi, edi
call fcn.140152e58
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x140095a29
mov rcx, qword [rbx + 0x20]
cmp dword [rcx + 0x1d8], 3
je 0x140095a0b
call fcn.140060410
test eax, eax
jne 0x140095a0b
xor r9d, r9d
lea r8, str.HPX_SPK_Mode
lea rdx, str.Settings
mov rcx, rsi
call fcn.14014cc50
mov edi, eax
jmp 0x140095a29
mov r9d, 7
lea r8, str.HPX_HP_Mode
lea rdx, str.Settings
mov rcx, rsi
call fcn.14014cc50
mov edi, eax
mov edx, edi
mov rcx, rbx
call fcn.14008f5a0
jmp 0x140095b53
mov rcx, qword [rcx + 0x20]
call fcn.140060410
test eax, eax
jne 0x140095a5a
mov rax, qword [rbx + 0x20]
cmp dword [rax + 0x1d8], 3
je 0x140095a5a
mov esi, dword [rbx + 0xb8]
jmp 0x140095a60
mov esi, dword [rbx + 0xb4]
test esi, esi
js 0x140095b53
movsxd rdi, esi
test esi, esi
js 0x140095b4d
cmp rdi, qword [rbx + 0x118]
jge 0x140095b4d
mov rax, qword [rbx + 0x110]
mov rdi, qword [rax + rdi*8]
cmp qword [rbx + 0x100], rdi
je 0x140095abb
test rdi, rdi
je 0x140095aa2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx + 0x100]
test rcx, rcx
je 0x140095ab4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x100], rdi
mov rdx, qword [rbx + 0x100]
test rdx, rdx
je 0x140095b53
mov rcx, qword [rbx + 0xe0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
call fcn.14013e120
mov rcx, rax
xor edi, edi
test rax, rax
setne dil
test edi, edi
jne 0x140095afa
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r9d, ebx
mov r8d, esi
lea rdx, str._RTK__pSRSEpInfo__put_OpMode__OpMode__d___:_hr___x_r_n
lea rcx, [rsp + 0x40]
call fcn.140001df0
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140095b53
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140095b53
call fcn.14013de24
int3
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b4b20
Capabilities:
Check os version

Disassembly:
push r13
push r14
push r15
sub rsp, 0x30
mov r14d, r8d
mov r8, qword [rcx + 0x20]
mov r13, r9
test r8, r8
mov r11d, edx
mov r15, rcx
jne 0x1400b4b4c
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
ret
mov r8, qword [r8 + 0x398]
test r8, r8
je 0x1400b4b3f
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
xor ebp, ebp
mov qword [rsp + 0x28], rdi
lea rbx, str.SonicFocus3Api.cpp:
mov r10d, ebp
mov r9, rbp
lea rdi, [0x140210630]
nop
test r11d, r11d
je 0x1400b4bbe
mov edx, dword [r8]
mov rcx, rbp
mov rax, rdi
nop
cmp dword [rax], edx
je 0x1400b4ba5
add rax, 0x18
add rcx, 1
cmp rax, rbx
jl 0x1400b4b90
mov eax, ebp
jmp 0x1400b4bad
lea rax, [rcx + rcx*2]
mov eax, dword [rdi + rax*8 + 8]
cmp eax, r11d
jne 0x1400b4bc4
test r10d, r10d
jns 0x1400b4bdd
xor eax, eax
jmp 0x1400b4ca1
cmp dword [r8 + 4], ebp
jne 0x1400b4bb2
add r9, 1
add r10d, 1
add r8, 8
cmp r9, 7
jl 0x1400b4b80
xor eax, eax
jmp 0x1400b4ca1
mov edx, dword [0x14022c3f4]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x20], r12
movsxd r12, r10d
xor di, di
mov esi, ebp
lea rbx, reloc.OLEAUT32.dll_VariantClear
nop
test edx, edx
jne 0x1400b4c21
lea rcx, [0x14022c3f0]
mov dword [0x14022c3f0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x14022c3f4]
cmp edx, 6
jne 0x1400b4c34
cmp dword [0x14022c3f8], 0
jne 0x1400b4c34
lea eax, [rdx + 0x12]
jmp 0x1400b4c39
mov eax, 0x1d
cmp esi, eax
jge 0x1400b4c8c
mov rax, qword [r15 + 0x20]
mov rcx, qword [rax + 0x398]
mov eax, dword [rcx + r12*8 + 4]
test dword [rbx - 8], eax
je 0x1400b4c6f
cmp dword [rbx - 4], r14d
jne 0x1400b4c6f
test di, di
mov ebp, 1
jne 0x1400b4c65
movzx edi, word [rbx]
movzx eax, word [r13]
cmp word [rbx], ax
je 0x1400b4c78
add esi, 1
add rbx, 0x14
jmp 0x1400b4c00
movsxd rax, esi
lea rcx, [rax + rax*4]
lea rax, reloc.OLEAUT32.dll_VariantClear
mov di, word [rax + rcx*4]
jmp 0x1400b4c90
test ebp, ebp
je 0x1400b4c95
mov word [r13], di
mov r12, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x60]
mov eax, ebp
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x28]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x1400c5ea0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.14013e120
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x1400c5ef8
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14019bd68]
test rdx, 0xffffffffffff0000
jne 0x1400c5f34
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x1400c5f50
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140005140
jmp 0x1400c5f50
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.1400038f0
nop
mov dword [rsp + 0x20], 1
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400038f0
cmp dword [0x14022c530], 0
je 0x1400c5fa4
lea rdx, str.MaxxAudioIntelSkylake64.dll
mov rcx, rbx
call fcn.1400c6030
jmp 0x1400c5fb3
lea rdx, str.MaxxAudioVienna264.dll
mov rcx, rbx
call fcn.1400c6030
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14015b6f0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x1400c63d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov eax, r8d
mov rsi, rdx
mov ebx, r8d
shr eax, 4
mov rbp, rcx
mov r8d, 6
add ax, 1
mov rcx, rsi
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x1400c6539
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c6539
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x1400c6539
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x1400c646a
cmp rdi, r11
jae 0x1400c6539
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x1400c6454
cmp rdi, r11
jae 0x1400c6539
movzx eax, word [rdi]
test ax, ax
je 0x1400c6539
mov qword [rsp + 0x60], r13
movzx ebx, ax
call qword [0x14020fc00]
xor r13d, r13d
lea r12, [rdi + 2]
mov r9d, ebx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp]
mov edx, 1
movsxd rsi, eax
sub edx, dword [rcx - 8]
mov ecx, dword [rcx - 0xc]
sub ecx, esi
or edx, ecx
jge 0x1400c64da
mov edx, esi
mov rcx, rbp
call fcn.1400c6550
mov rbx, qword [rbp]
movzx edi, word [rdi]
call qword [0x14020fc00]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r9d, edi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
mov r13, qword [rsp + 0x60]
js 0x1400c652e
mov rcx, qword [rbp]
cmp esi, dword [rcx - 0xc]
jg 0x1400c652e
mov dword [rcx - 0x10], esi
mov rcx, qword [rbp]
mov eax, 1
mov byte [rsi + rcx], 0
jmp 0x1400c653b
mov ecx, 0x80070057
call fcn.140001c70
int3
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret