joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400372dc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
lea r14, [rsp + 0xc8]
xor ebp, ebp
mov rbx, qword [r14]
xor ecx, ecx
mov qword [r14], rbp
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rbp + 1]
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x1400374cc]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [rsp + 0x64], ebp
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x98], rbp
call qword [sym.imp.GDI32.dll_GetStockObject]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea r15, str.notepad
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x60]
lea rax, [0x1400376e0]
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 3
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x1400373ce
lea r9d, [rbp + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Failed_to_register_window_class.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140037459
mov qword [rsp + 0x58], rbp
mov r9d, 0x80000000
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rdx, r15
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140066f10], rax
test rax, rax
je 0x140037459
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140066f10]
lea rdx, [0x140042080]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140066f10]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140066f10]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r11, [rsp + 0xb0]
mov qword [r14], rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400378e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov eax, dword [r10]
mov r11d, 0xe3
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x1400378f3
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14003793e
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], 0
and ecx, 0x9908b0df
shr edx, 1
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret

Function at 0x140037dec
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], ecx
lea rcx, [0x140030378]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140037e25
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x140037e25
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x140037e27
xor eax, eax
add rsp, 0x38
ret
Function at 0x140037e2c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov ecx, dword [0x1400683c8]
mov rax, qword gs:[0x58]
mov esi, 4
mov rbx, qword [rax + rcx*8]
lea rdi, [0x140066f38]
mov eax, dword [rbx + rsi]
cmp dword [0x140066f58], eax
jg 0x140037f3f
lea rbp, [0x140066f60]
mov eax, dword [rbx + rsi]
cmp dword [0x1400682e8], eax
jg 0x140037f8b
mov eax, dword [rbx + rsi]
cmp dword [0x140068300], eax
jg 0x140037f04
mov qword [rsp + 0x30], rbp
mov rsi, qword [0x1400682f0]
mov rdx, qword [0x1400682f8]
sub rdx, rsi
cmp rdx, 0xffffffffffffffff
jne 0x140037ec8
mov rcx, rbp
call fcn.140032bd8
mov ebx, eax
shl rbx, 0x20
mov rcx, rbp
call fcn.140032bd8
mov eax, eax
or rbx, rax
jmp 0x140037ed8
inc rdx
lea rcx, [rsp + 0x30]
call fcn.140032ac4
mov rbx, rax
cmp qword [0x140066f50], 0x10
cmovae rdi, qword [0x140066f38]
lea rax, [rbx + rsi]
mov al, byte [rax + rdi]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x140068300]
call fcn.14003ac8c
cmp dword [0x140068300], 0xffffffff
jne 0x140037e8f
mov rax, qword [0x140066f48]
dec rax
mov qword [0x1400682f8], rax
lea rcx, [0x140068300]
call fcn.14003ac2c
jmp 0x140037e8f
lea rcx, [0x140066f58]
call fcn.14003ac8c
cmp dword [0x140066f58], 0xffffffff
jne 0x140037e6e
mov r8d, 0x47
lea rdx, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_____
mov rcx, rdi
call fcn.14003086c
lea rcx, [0x14003c79c]
call fcn.14003aaec
nop
lea rcx, [0x140066f58]
call fcn.14003ac2c
jmp 0x140037e6e
lea rcx, [0x1400682e8]
call fcn.14003ac8c
cmp dword [0x1400682e8], 0xffffffff
jne 0x140037e84
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
or dword [0x1400682e4], 0xffffffff
mov dword [0x140066f64], eax
mov ecx, 0x270
mov r8d, 1
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbp + r8*4 + 4], eax
inc r8
cmp r8, rcx
jb 0x140037fc1
mov dword [0x140066f60], ecx
lea rcx, [0x1400682e8]
call fcn.14003ac2c
jmp 0x140037e84
Function at 0x140038298
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x140065f98]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea r14, [rsp + 0x178]
mov rbp, rdx
mov rsi, qword [r14]
lea rcx, [rsp + 0x24]
xor ebx, ebx
xor edx, edx
mov r8d, 0x12c
mov qword [r14], rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140038337
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rdi
test eax, eax
je 0x14003832b
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
jmp 0x140038306
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x140038340
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], rsi
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003ae30
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003b53c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b586
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003b586
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003b586
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003b586
cmp dword [rcx + 0x84], 0xe
jbe 0x14003b586
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003b588
xor al, al
add rsp, 0x28
ret
Function at 0x1400015a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400015d3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000161a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140001615
nop
cmp rbx, rcx
jae 0x14000161a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140001600
cmp rbx, rcx
jb 0x14000161e
xor eax, eax
jmp 0x14000162a
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002570
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x10060
call fcn.140026450
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10078], rbx
mov rax, qword [0x14003b008]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rdx, [0x140030238]
call fcn.140002b80
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.140013f80
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14000265a
lea rdx, [rsp + 0x50]
or rax, 0xffffffffffffffff
mov rcx, rax
lea rcx, [rcx + 1]
cmp word [rdx + rcx*2], 0
jne 0x140002601
cmp word [rsp + rcx*2 + 0x4e], 0x5c
jne 0x140002632
lea rcx, [rcx*2 - 2]
cmp rcx, 0xfffe
jae 0x14000262c
mov word [rsp + rcx + 0x50], di
jmp 0x140002632
call fcn.140011434
int3
lea rcx, [rsp + 0x50]
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002640
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140002fe0
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.140010d30
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret
Function at 0x140002680
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
test rcx, rcx
jne 0x1400026bf
mov rdx, qword [rdx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400026b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
test rsi, rsi
je 0x140002695
xor eax, eax
mov r8, rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rax
lea r9d, [rax + 1]
mov dword [rsp + 0x60], eax
call fcn.140001720
test eax, eax
je 0x140002702
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400026fd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
jmp 0x140002698
mov rdx, qword [rbx]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rdi
mov rdi, qword [rsp + 0x38]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000278e
cmp dword [rsp + 0x30], 4
jne 0x14000278e
mov eax, dword [rsp + 0x60]
mov dword [rsi], eax
test rdi, rdi
je 0x14000275b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002779
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
test rdi, rdi
je 0x14000279c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400027b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
Function at 0x140003780
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rdx
mov r15, rcx
test rdx, rdx
jne 0x1400037a6
xor eax, eax
jmp 0x14000395f
lea rcx, str.CEdid::SetEdidByRegistry__s__n
call fcn.140001140
xor edi, edi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x48], rdi
call fcn.140001230
mov rcx, rax
test rax, rax
jne 0x1400037da
mov ecx, 0x80004005
call fcn.140001580
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x98], rax
lea rdx, str.SYSTEMCurrentControlSetEnum_
or rsi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140003824
movzx ebp, dx
mov ecx, ebp
call fcn.140001640
test rax, rax
je 0x14000384b
mov r8d, ebp
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140002ed0
jmp 0x14000384b
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140003830
mov r8d, eax
lea rcx, [rsp + 0x98]
call fcn.140002fe0
nop
mov rax, rsi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x140003850
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.140003120
lea rdx, str.Device_Parameters
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140003880
mov r8d, eax
lea rcx, [rsp + 0x98]
call fcn.140003120
mov r9d, 0x20019
mov rbx, qword [rsp + 0x98]
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.140001720
test eax, eax
jne 0x140003935
mov dword [rsp + 0x88], 0x100
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.EDID
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
test eax, eax
jne 0x14000390b
mov ebp, edi
mov eax, 0xd
cmp dword [rsp + 0x90], 3
cmovne ebp, eax
cmp qword [rsp + 0x38], 0
je 0x140003923
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], edi
test ebp, ebp
jne 0x140003935
mov rcx, r15
call fcn.140003be0
mov edi, eax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14000394d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000395d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005310
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rcx + 0x18], rdx
mov rbx, rcx
test rdx, rdx
je 0x14000538e
mov eax, dword [rdx + 0x19c]
shr eax, 2
and eax, 7
mov dword [rcx + 0x20], eax
mov eax, 0
setne al
test eax, eax
je 0x14000538e
cmp dword [rcx + 0x14], 0
jne 0x14000538e
mov dword [rcx + 0x14], 1
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [rbx + 0x20]
mov qword [rbx], rax
call fcn.14000e9a0
lea rax, [rbx + 0x10]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140005610]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
add rsp, 0x30
pop rbx
ret

Function at 0x1400058d0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
sub rsp, 0x70
mov rbp, rcx
test rdx, rdx
je 0x140005a6e
mov qword [rax + 0x10], rbx
mov rbx, rcx
mov qword [rax + 0x18], rsi
mov esi, 0x5c00
mov qword [rax - 0x18], r15
xor r15d, r15d
mov qword [rax + 0x20], rdi
mov qword [rax - 0x10], r14
mov qword [rcx + 0x7a0], rdx
nop word [rax + rax]
xor r9d, r9d
mov qword [rbx + 8], r15
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
test rax, rax
je 0x1400059e0
movups xmm0, xmmword [rbx]
mov rcx, qword [rbp + 0x7a0]
xor r9d, r9d
xorps xmm1, xmm1
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov edx, 0xc0000000
movaps xmmword [rsp + 0x50], xmm0
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
movdqu xmmword [rsp + 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14000597c
mov qword [rsp + 0x40], r15
jmp 0x1400059d7
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov edx, esi
mov dword [rsp + 0x28], SafeArrayUnaccessData
lea rax, [rsp + 0x40]
or edx, 0x220000
mov r9d, 0x10
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, r14
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
test edi, edi
cmove rcx, r15
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm0
add esi, 0xc
add rbx, 0x20
cmp esi, 0x5ed0
jl 0x140005910
xor r9d, r9d
mov qword [rbp + 0x788], r15
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov qword [rbp + 0x780], rax
test rax, rax
je 0x140005a60
lea rax, [rsp + 0x80]
mov r9, rbp
mov qword [rsp + 0x28], rax
lea r8, [0x140005be0]
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x7a8], rax
mov rax, rbp
mov r15, qword [rsp + 0x60]
add rsp, 0x70
pop rbp
ret
mov rax, rbp
add rsp, 0x70
pop rbp
ret
Function at 0x1400062a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x14003b008]
xor rax, rsp
mov qword [rsp + 0x240], rax
call fcn.140001230
mov rcx, rax
test rax, rax
jne 0x1400062e6
mov ecx, 0x80004005
call fcn.140001580
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, [0x140030238]
or rdi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x14000632a
movzx ebx, dx
mov ecx, ebx
call fcn.140001640
test rax, rax
je 0x140006348
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140002ed0
jmp 0x140006348
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140006330
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.140002fe0
nop
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, str.Kernel32.dll
lea r8, [rsp + 0x30]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call fcn.140003370
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400063b1
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400063a7
mov ecx, 0x800
call rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400063c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140010d30
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400083e0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, rcx
test byte [rcx + 0x25c], 1
je 0x140007ae1
lea rdx, str.SOFTWARESonySysEffect
lea rcx, [rsp + 0x40]
call fcn.140002b80
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rdx, rax
lea rcx, [rdi + 0x598]
call fcn.140005240
nop
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007abb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rdi + 0x5d0], 1
lea rcx, [rdi + 0x598]
call fcn.1400056d0
test eax, eax
je 0x140007ae1
lea rcx, [rdi + 0xc0]
call fcn.14000e530
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.1400081d0
test eax, eax
jne 0x1400083fd
mov eax, 2
add rsp, 0x30
pop rbx
ret
cmp dword [rbx + 0x120], 0
je 0x140008482
mov rcx, rbx
call fcn.1400082a0
test eax, eax
jne 0x14000841d
mov eax, 3
add rsp, 0x30
pop rbx
ret
cmp dword [rbx + 0x11c], 0
je 0x140008449
mov rcx, rbx
call fcn.140008340
test eax, eax
jne 0x14000843d
mov eax, 4
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + 0xc0]
call fcn.14000dbf0
mov eax, dword [rbx + 0xd8]
mov dword [rbx], eax
test eax, eax
je 0x140008482
xor ecx, ecx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [0x140007b00]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x48], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x588], rax
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp 0x140007a50
Function at 0x140008970
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
xor esi, esi
mov qword [rax - 0x30], rsi
mov dword [rax - 0x28], esi
mov qword [rax - 0x20], rsi
mov dword [rax + 8], esi
mov ebx, 1
mov r9d, ebx
lea r8, str.SOFTWARERealtekAudioRtkAudioService
lea rcx, [rax - 0x30]
call fcn.140001720
test eax, eax
jne 0x140008a10
mov dword [rsp + 0x88], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.SetServiceDependency
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008a60
cmp dword [rsp + 0x90], 4
jne 0x140008a60
cmp dword [rsp + 0x80], ebx
jne 0x140008a60
jmp 0x140008a7d
lea rcx, [rsp + 0x48]
call fcn.1400063f0
mov rdi, qword [rsp + 0x48]
test eax, eax
jne 0x140008a60
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.SetServiceDependency
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140008a60
mov ebx, esi
jmp 0x140008a7d
lea rdx, str.sc_config_RtkAudioService_dependaudiosrv
lea rcx, [rsp + 0x88]
call fcn.140002b80
mov rcx, rax
call fcn.1400027d0
nop
test rdi, rdi
je 0x140008a8b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x140009410
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
xor ebx, ebx
lea rax, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.SOFTWARELenovoMultiMode
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 0x11]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000949d
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CameraAudio
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009492
cmp dword [rsp + 0x40], ebx
sete bl
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret