joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008640
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0xff80]
mov eax, 0x10080
call fcn.140026fd0
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x10090], rbx
mov qword [rsp + 0x10098], rsi
mov qword [rsp + 0x100a0], rdi
mov rax, qword [0x14003b010]
xor rax, rsp
mov qword [rbp + 0xff70], rax
test dword [rcx + 0x15c], 0x200
jne 0x14000869c
xor eax, eax
jmp 0x1400087cf
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
call fcn.140001230
mov rcx, rax
test rax, rax
je 0x140008884
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [0x140031900]
lea rdi, [rbx - 1]
cmp rdx, 0x10000
jae 0x1400086ef
movzx edx, dx
lea rcx, [rsp + 0x38]
call fcn.140002e30
jmp 0x14000870a
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400086f2
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.1400030e0
nop
mov r9d, 0x20019
lea r8, str.SOFTWARERealtekAudioWOV
lea rcx, [rsp + 0x48]
call fcn.1400015b0
mov rsi, qword [rsp + 0x48]
test eax, eax
jne 0x140008788
mov dword [rsp + 0x30], 0xfffe
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.VoiceAssistantApplication
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008788
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x140008788
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400087f7
test al, 1
jne 0x140008788
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], 0
je 0x1400087fc
test rsi, rsi
je 0x14000879b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400087bd
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 0x1400087cd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0xff70]
xor rcx, rsp
call fcn.140010f70
lea r11, [rsp + 0x10080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov word [rsp + 0x70], bx
lea rcx, [rsp + 0x70]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008804
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.1400030e0
mov rdx, qword [rsp + 0x38]
lea r8, str.LenovoVoiceAssistant
mov rcx, rdi
nop
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x140008852
add rcx, 2
cmp rcx, 0x15
je 0x140008880
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x140008830
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140008788
test rsi, rsi
je 0x140008872
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov ebx, 1
jmp 0x14000879f
mov eax, ebx
jmp 0x140008857
mov ecx, 0x80004005
call fcn.1400014c0
int3
Function at 0x140009580
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov dword [rsp + 0x40], 0
mov r9d, 0x11
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlPriorityControl
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009601
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], eax
lea rdx, str.ConvertibleSlateMode
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x140009610
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rax, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARERealtekRealtekEffectsAP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400096b2
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 4
lea rdx, str.AutoRotationState
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
lea rdx, str.SensorIndex
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000a910
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rsi, rcx
lea r14, [rcx + 0x20]
mov qword [rsp + 0x20], r14
lea r9, [0x140032bc8]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140029640]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000ab01
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x30]
test eax, eax
js 0x14000ab01
xor r15d, r15d
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x40], r15
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
lea rdx, [0x140029620]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x14000aa11
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000aa11
mov dword [rbp + 0x38], r15d
mov rax, qword [rcx]
lea rdx, [rbp + 0x38]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x14000aa11
mov edi, r15d
cmp dword [rbp + 0x38], r15d
jbe 0x14000aa11
nop dword [rax]
mov qword [rbp + 0x48], r15
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
lea r8, [rbp + 0x48]
mov edx, edi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x14000a9fb
mov rdx, qword [rbp + 0x48]
mov rcx, rsi
call fcn.14000ade0
mov ebx, eax
test eax, eax
js 0x14000a9fb
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsi + 0x18]
call fcn.140009d60
mov ebx, eax
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14000aa0a
mov rax, qword [rcx]
call qword [rax + 0x10]
inc edi
cmp edi, dword [rbp + 0x38]
jb 0x14000a9c0
mov rax, qword [rsi + 0x10]
test byte [rax + 0x19c], 0x20
je 0x14000aaac
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
lea rdx, [0x140029630]
call qword [rax + 0x20]
test eax, eax
js 0x14000aaac
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14000aab0
mov dword [rbp + 0x38], r15d
mov rax, qword [rcx]
lea rdx, [rbp + 0x38]
call qword [rax + 0x20]
mov edi, r15d
cmp dword [rbp + 0x38], r15d
jbe 0x14000aaac
nop word [rax + rax]
mov qword [rbp + 0x48], r15
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
lea r8, [rbp + 0x48]
mov edx, edi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x14000aa96
mov rdx, qword [rbp + 0x48]
mov rcx, rsi
call fcn.14000ade0
test eax, eax
js 0x14000aa96
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsi + 0x18]
call fcn.140009d60
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14000aaa5
mov rax, qword [rcx]
call qword [rax + 0x10]
inc edi
cmp edi, dword [rbp + 0x38]
jb 0x14000aa60
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14000aabc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000aacb
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
js 0x14000aaff
mov rdi, qword [rsi + 0x18]
cmp dword [rdi + 8], 0
je 0x14000aaff
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rdi
lea r8, [0x1400090a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x18], rax
mov eax, ebx
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000ba20
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rdi, rcx
cmp qword [rcx + 0x498], 0
jne 0x14000bc4e
mov ecx, 0x70
call fcn.140011830
mov rbx, rax
mov qword [rsp + 0x68], rax
lea rax, vtable.CSimpleOrientationSensorManagerEvents.0
mov qword [rbx], rax
xor esi, esi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov dword [rbx + 0x38], SafeArrayUnaccessData
mov dword [rbx + 0x58], esi
mov dword [rbx + 0x5c], 0xa
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x68], rsi
mov dword [rbx + 0x3c], 0x3f400000
mov dword [rbx + 0x40], 0x3e800000
mov dword [rbx + 0x44], 0x40100000
xor ecx, ecx
movss xmm1, dword [0x140033ccc]
movabs rdx, 0x8000000000000000
movss xmm0, dword [0x140033cd4]
comiss xmm1, xmm0
jb 0x14000bac7
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x14000bac7
mov rcx, rdx
cvttss2si rax, xmm1
add rax, rcx
mov qword [rbx + 0x48], rax
xor ecx, ecx
movss xmm1, dword [0x140033cc8]
comiss xmm1, xmm0
jb 0x14000baee
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x14000baee
mov rcx, rdx
cvttss2si rax, xmm1
add rax, rcx
mov qword [rbx + 0x50], rax
cmp rax, 0x11
jae 0x14000bb04
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x10], rdi
mov dword [rbx + 8], 1
mov ecx, 0x100
call fcn.140011830
mov qword [rsp + 0x78], rax
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.140008c90
nop
mov qword [rbx + 0x18], rax
mov qword [rdi + 0x498], rbx
mov rcx, rbx
call fcn.14000a910
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARERealtekAudio
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000bba7
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.InitSensorAPI_HRESULT_
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x60], 0
jl 0x14000bc24
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARERealtekAudio
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000bc17
mov dword [rsp + 0x68], 0x752f
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea r9d, [rax + 4]
xor r8d, r8d
lea rdx, str.SensorAPI_uninit_HRESULT_
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rdi + 0x498]
call fcn.14000ab10
mov rcx, qword [rdi + 0x498]
test rcx, rcx
je 0x14000bc47
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x20]
mov qword [rdi + 0x498], rsi
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000d740
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push r12
sub rsp, 0x70
mov rsi, rcx
call fcn.14000bc60
mov dword [rsi + 0x18], eax
test eax, eax
je 0x14000d99f
lea rbx, [rsi + 0x64]
xor edx, edx
mov rcx, rbx
mov r8d, 0x1f0
call fcn.140013460
movups xmm0, xmmword [str._alsC]
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x40]
xor r12d, r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x1f0
movaps xmmword [rsp + 0x40], xmm0
lea r8d, [r12 + 0x19]
mov qword [rsp + 0x20], rbx
call fcn.1400016b0
test eax, eax
je 0x14000d99f
mov eax, dword [rsi + 0x104]
shr eax, 3
and eax, 1
mov dword [0x14003d334], eax
jne 0x14000d7d0
test byte [rsi + 0x19c], 0x24
je 0x14000d989
mov rcx, qword [rsi + 0x258]
mov qword [rsp + 0x68], r14
test rcx, rcx
je 0x14000d7ed
call fcn.14000b1c0
mov qword [rsi + 0x258], r12
mov ecx, 0x7b0
call fcn.140011830
mov r14, rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsi + 8]
test rax, rax
je 0x14000d97d
mov qword [rsp + 0xa0], rbp
mov ebp, 0x5c00
mov qword [rsp + 0xa8], rdi
mov rdi, r14
mov qword [rsp + 0x60], r15
mov qword [r14 + 0x7a0], rax
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
mov qword [rdi + 8], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
je 0x14000d905
movups xmm0, xmmword [rdi]
mov rcx, qword [r14 + 0x7a0]
xor eax, eax
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov edx, 0xc0000000
movaps xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 3]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000d8f7
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov edx, ebp
mov dword [rsp + 0x28], SafeArrayUnaccessData
lea rax, [rsp + 0x40]
or edx, 0x220000
mov r9d, 0x10
mov qword [rsp + 0x20], rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14000d8fc
mov qword [rsp + 0x40], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm0
add ebp, 0xc
add rdi, 0x20
cmp ebp, 0x5ed0
jl 0x14000d840
xor r9d, r9d
mov qword [r14 + 0x788], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov qword [r14 + 0x780], rax
test rax, rax
je 0x14000d97d
lea rax, [rsp + 0x98]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x140005cb0]
xor edx, edx
mov dword [rsp + 0x20], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 0x7a8], rax
mov qword [rsi + 0x258], r14
mov r14, qword [rsp + 0x68]
mov rcx, rsi
call fcn.14000d160
mov eax, 1
add rsp, 0x70
pop r12
pop rsi
pop rbx
ret
xor eax, eax
add rsp, 0x70
pop r12
pop rsi
pop rbx
ret
Function at 0x14000dd00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov eax, dword [rcx + 0x22c]
shr eax, 0xc
cmp eax, 1
je 0x14000de86
add eax, 0xfffffffd
cmp eax, 2
jbe 0x14000de86
xor edi, edi
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
call fcn.140001230
mov rcx, rax
test rax, rax
je 0x14000de96
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdx, str.SRSUI
lea rbx, [rdi - 1]
cmp rdx, 0x10000
jae 0x14000dd7d
movzx edx, dx
lea rcx, [rbp - 0x38]
call fcn.140002e30
jmp 0x14000dd97
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000dd80
mov r8d, eax
lea rcx, [rbp - 0x38]
call fcn.1400030e0
nop
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], rdi
mov dword [rbp + 0x28], edi
mov r9d, 1
lea r8, str.SOFTWARERealtekAudioGUI_INFORMATION
lea rcx, [rbp - 0x28]
call fcn.1400015b0
test eax, eax
je 0x14000ddf8
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000ddce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000de8b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp + 0x30], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x28]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000de75
cmp dword [rbp + 0x38], 4
jne 0x14000de75
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x40], eax
test rsi, rsi
je 0x14000de47
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000de62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rbp + 0x40], 0
setne dil
mov eax, edi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rsi, rsi
je 0x14000ddce
mov rcx, rsi
jmp 0x14000ddc8
mov edi, 1
mov eax, edi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400014c0
int3
Function at 0x1400102f0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14001030e
mov edx, 0x5e
jmp 0x140010341
cmp qword [rdi + 0x40], 0
lea rax, [rdi + 0x40]
jne 0x140010388
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x140031c80]
lea rcx, [0x140031c40]
lea r8d, [rdx + 0x17]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140010388
mov edx, 0x65
mov r9d, eax
lea r8, str.d:hd_audio2017_rtkaudservice_88_vs2017mmdeviceapilibmmdeviceapibase.cpp
lea rcx, str._MMDevAPILib__EXIT_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.14000ee50
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x14001036e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x40], 0
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.CMMDeviceAPIBase::Init___failed_n
call fcn.14000ee50
xor al, al
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 8]
mov qword [rsp + 0x48], rsi
mov esi, 3
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x1400103a0
lea rbx, [rdi + 0x28]
mov esi, 2
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x1400103d0
lea rax, [rdi + 0x38]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1400104a0]
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov qword [rdi + 0x20], rax
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400011e8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x18], 0
xor ebx, ebx
mov eax, dword [0x1400b52f4]
test eax, eax
je 0x140001226
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1400b52f4]
test eax, eax
jne 0x140001233
call section..text
test eax, eax
je 0x14000124f
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140082890]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140001257
xor eax, eax
jmp 0x14000129b
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x14000127e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140001280
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140001299
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400012ac
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
mov rsi, rcx
xor ebx, ebx
mov word [rax - 0x18], bx
mov qword [rax + 0x10], rbx
mov edi, ebx
mov eax, dword [0x1400b52f4]
cmp eax, ebx
je 0x1400012ed
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1400b52f4]
cmp eax, ebx
jne 0x1400012fa
call section..text
cmp eax, ebx
je 0x140001316
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140082890]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
cmp eax, ebx
cmovne edi, ecx
cmp edi, ebx
jne 0x14000131f
mov ax, bx
jmp 0x140001368
mov rcx, rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx edi, ax
mov word [rsp + 0x20], ax
mov esi, ebx
cmp di, bx
sete sil
cmp esi, ebx
je 0x140001348
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
jmp 0x14000134b
mov r12d, ebx
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp esi, ebx
je 0x140001365
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ax, di
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x140001380
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r12, rdx
mov r13d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x1400b52f4]
test eax, eax
je 0x1400013ce
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1400b52f4]
test eax, eax
jne 0x1400013db
call section..text
test eax, eax
je 0x1400013f7
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140082890]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140001402
xor eax, eax
jmp 0x1400014b0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r12
mov ecx, r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x140001492
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140001494
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400014ad
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret

Function at 0x1400016bc
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140050318]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov ecx, dword [0x1400b70d4]
xor ebx, ebx
cmp ecx, ebx
jne 0x140001724
lea rcx, [rsp + 0x20]
mov edx, 0x114
call fcn.140046c9c
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
je 0x14000171e
mov ecx, dword [rsp + 0x24]
mov eax, dword [rsp + 0x28]
mov dword [0x1400b70d4], ecx
mov dword [0x1400b70d0], eax
jmp 0x140001724
mov ecx, dword [0x1400b70d4]
cmp ecx, 6
jne 0x140001734
cmp dword [0x1400b70d0], 1
jae 0x140001736
cmp ecx, ecx
jbe 0x14000173b
mov ebx, 1
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140008a98
add rsp, 0x150
pop rbx
ret