joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403039
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x10
jge 0x4030a2
jmp 0x403072
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x403054
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x403066
leave
ret

Function at 0x403044
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x10
jge 0x4030a2
jmp 0x403072
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x403054
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x403066
leave
ret
Function at 0x14000937b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400440e0]
jne 0x140006e1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140006e16
repz ret
ror rcx, 0x10
jmp 0x1400092d4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140045f90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140046088]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140009359
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140045f90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000937b
mov rax, qword [rsp + 0x88]
mov qword [0x140046088], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140046028], rax
mov rax, qword [0x140046088]
mov qword [0x140045f00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140046010], rax
mov dword [0x140045ef0], 0xc0000409
mov dword [0x140045ef4], 1
mov rax, qword [0x1400440e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400440e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140045f88], eax
mov ecx, 1
call fcn.14000f5c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002cfb8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140045f88], 0
jne 0x140009402
mov ecx, 1
call fcn.14000f5c4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000cbd4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000f2ac
nop
cmp dword [0x140046528], 1
je 0x14000cb80
mov dword [0x140046524], 1
mov byte [0x140046520], r12b
test ebx, ebx
jne 0x14000cb6c
mov rcx, qword [0x140048910]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000cb59
mov rcx, qword [0x140048908]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14000caf8
call fcn.14000a3d8
cmp qword [rdi], rax
jne 0x14000caf8
jmp 0x14000cade
cmp rdi, rsi
jb 0x14000cb59
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000a3d8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140048910]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140048908]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000cb37
cmp r13, rax
je 0x14000cb57
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000cade
lea rdx, [0x14002c5a0]
lea rcx, [0x14002c588]
call fcn.14000c928
lea rdx, [0x14002c5b0]
lea rcx, [0x14002c5a8]
call fcn.14000c928
nop
test r12d, r12d
je 0x14000cb8f
mov ecx, 8
call fcn.14000f1ac
test r12d, r12d
jne 0x14000cbba
mov dword [0x140046528], 1
lea ecx, [r12 + 8]
call fcn.14000f1ac
mov ecx, r15d
call fcn.14000c8bc
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000ca48

Function at 0x14000cbe0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000ca48
Function at 0x140010f58
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14000a3d8
xor ebx, ebx
mov rdi, rax
cmp qword [0x140046d70], rbx
jne 0x14001105e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140011133
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011133
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140046d70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140046d78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140046d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140046d90], rax
test rax, rax
je 0x140011055
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140046d88], rax
jmp 0x140011065
mov rax, qword [0x140046d88]
jmp 0x14001106c
mov rax, qword [0x140046d88]
mov r11, qword [0x140046d90]
cmp rax, rdi
je 0x1400110d4
cmp r11, rdi
je 0x1400110d4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140046d90]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400110d4
test rax, rax
je 0x1400110d4
call rsi
test rax, rax
je 0x1400110ce
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400110ce
test byte [rsp + 0x38], 1
jne 0x1400110d4
bts ebp, 0x15
jmp 0x140011112
mov rcx, qword [0x140046d78]
cmp rcx, rdi
je 0x140011112
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011112
call rax
mov rbx, rax
test rax, rax
je 0x140011112
mov rcx, qword [0x140046d80]
cmp rcx, rdi
je 0x140011112
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011112
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140046d70]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011133
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140011135
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140019da0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140019de5
mov r9d, dword [rsp + 0x30]
lea r8, [0x14002f6c0]
mov edx, 0x5e
lea rcx, [0x14002f6f0]
call fcn.140006790
jmp 0x140019f09
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
jne 0x140019e4d
mov rax, qword [rsp + 0x50]
add rax, 0x40
mov qword [rsp + 0x20], rax
lea r9, [0x14003e480]
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
xor edx, edx
lea rcx, [0x14003e470]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140019e4d
mov r9d, dword [rsp + 0x30]
lea r8, [0x14002f770]
mov edx, 0x65
lea rcx, [0x14002f7a0]
call fcn.140006790
jmp 0x140019f09
mov dword [rsp + 0x34], 0
jmp 0x140019e62
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 3
jge 0x140019e8d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
movsxd rcx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x50]
mov qword [rax + rcx*8 + 8], r11
jmp 0x140019e57
mov dword [rsp + 0x38], 0
jmp 0x140019ea2
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jge 0x140019ecd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
movsxd rcx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov qword [rax + rcx*8 + 0x28], r11
jmp 0x140019e97
mov rax, qword [rsp + 0x50]
add rax, 0x38
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x140019a10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x20], r11
mov al, 1
jmp 0x140019f4e
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
je 0x140019f3a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
mov rax, qword [rax]
call qword [rax + 0x10]
mov r11, qword [rsp + 0x50]
mov qword [r11 + 0x40], 0
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.CMMDeviceAPIBase::Init___failed_n
call fcn.140006790
xor al, al
add rsp, 0x48
ret

Function at 0x14001a900
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.140019da0
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x50]
call fcn.14001a000
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14001a967
mov rax, qword [rsp + 0x50]
add rax, 0xa8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x14001a0f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0xa0], r11
mov al, byte [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14001c970
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x498], 0
je 0x14001ca64
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x498]
call fcn.1400207f0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x498]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14001c9e8
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x20]
mov qword [rsp + 0x50], rax
jmp 0x14001c9f1
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x498], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140030e50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ca64
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.SensorAPI_uninit_HRESULT_
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x68
ret
Function at 0x140020250
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
mov ecx, 0x70
call fcn.140007fe8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14002029d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call fcn.140020950
mov qword [rsp + 0x68], rax
jmp 0x1400202a6
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x498], rax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x498]
call fcn.140020b40
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
lea rcx, str.m_pSensorManagerEvents__Initialize___08x___n
call fcn.140001000
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140030d88]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002034f
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.InitSensorAPI_HRESULT_
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
jl 0x1400203c8
lea rax, [rsp + 0x30]
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 0x1400203c1
mov dword [rsp + 0x3c], 0x752f
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140030e18]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140020428
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x498]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002040a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x140020413
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x498], 0
xor eax, eax
add rsp, 0x88
ret
Function at 0x140020ef0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARERealtekRealtekEffectsAP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020f92
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AutoRotationState
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.SensorIndex
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x48
ret

Function at 0x140020fa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x11
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021083
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.Enable
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.LastOrientation
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
add rsp, 0x58
ret

Function at 0x1400210a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x11
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlPriorityControl
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002113d
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.ConvertibleSlateMode
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x140021150
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x11
xor r8d, r8d
lea rdx, str.SOFTWARELenovoMultiMode
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021219
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.CameraAudio
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14002120a
cmp dword [rsp + 0x38], 0
jne 0x1400211fa
mov dword [rsp + 0x50], 1
jmp 0x140021202
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
add rsp, 0x68
ret
Function at 0x140022d60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
cmp qword [rsp + 0x98], 0
je 0x140022f07
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov qword [rcx + 0x7a0], rax
mov dword [rsp + 0x30], 0
jmp 0x140022dab
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x3c
jge 0x140022e83
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
mov qword [rax + rcx + 8], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdx, rax
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
mov qword [rax + rcx], rdx
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
cmp qword [rax + rcx], 0
je 0x140022e7e
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
lea rdi, [rsp + 0x50]
mov rax, qword [rsp + 0x90]
lea rsi, [rax + rcx]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call fcn.140022840
lea rdi, [rsp + 0x60]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov rax, qword [rsp + 0x90]
lea rsi, [rsp + 0x60]
lea rdi, [rax + rcx + 0x10]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x140022da0
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x788], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x780], rdx
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x780], 0
je 0x140022f07
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
lea r8, [0x140022ae0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x7a8], rdx
mov rax, qword [rsp + 0x90]
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140023750
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov rcx, qword [rsp + 0x40]
call fcn.140023380
test eax, eax
jne 0x14002377f
jmp 0x140023803
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x14], 0
jne 0x140023803
lea rcx, str.CMMDeviceHandler::Start_n
call fcn.140001000
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0x14], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], r11
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x20]
call fcn.140028bb0
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140023720]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r11
add rsp, 0x38
ret
Function at 0x140028050
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp dword [rsp + 0x68], 0
je 0x140028072
lea rax, [0x1400373b8]
mov qword [rsp + 0x40], rax
jmp 0x14002807e
lea rax, str.REALTEK
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
lea rdx, [0x140039590]
lea rcx, str.__s__CService::Initialize_for__s_n
call fcn.140001000
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x580], eax
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
mov r8d, 1
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x580]
call fcn.14001fc40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 2
jne 0x1400280e7
jmp 0x14002825e
mov rax, qword [rsp + 0x60]
mov dword [rax + 4], 1
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001b130
test eax, eax
je 0x140028254
mov rcx, qword [rsp + 0x60]
call fcn.140026380
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14002814b
lea r9, [0x1400395f8]
mov r8d, 0x38d
lea rdx, [0x140039618]
lea rcx, [0x140039640]
call fcn.140001000
mov eax, 2
jmp 0x140028260
mov rcx, qword [rsp + 0x60]
call fcn.1400262b0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14002818a
lea r9, [0x1400396a8]
mov r8d, 0x391
lea rdx, [0x1400396c8]
lea rcx, [0x140039700]
call fcn.140001000
mov eax, 3
jmp 0x140028260
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001b350
test eax, eax
je 0x1400281ef
mov rcx, qword [rsp + 0x60]
call fcn.1400261e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400281de
lea r9, [0x140039768]
mov r8d, 0x397
lea rdx, [0x140039788]
lea rcx, [0x1400397c0]
call fcn.140001000
mov eax, 4
jmp 0x140028260
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001d290
mov rcx, qword [rsp + 0x60]
add rcx, 0xb0
call fcn.14001b9b0
mov r11d, eax
mov rax, qword [rsp + 0x60]
mov dword [rax], r11d
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0
je 0x140028254
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x140026e70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x578], r11
mov rcx, qword [rsp + 0x60]
call fcn.140026ed0
xor eax, eax
add rsp, 0x58
ret