joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015a70
Capabilities:
Check if file exists
Get file attributes
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rcx, qword [0x140037bc0]
lea rdx, str.Entering__SetProgramFilesPath__function....._n
call fcn.140016980
mov rcx, qword [0x140037bc0]
call fcn.140016430
mov rcx, qword [0x140037bc0]
lea rdx, str.Setting_the_Gold_Path_as___s__n
xor ebp, ebp
mov r8, rsi
mov ebx, 1
mov qword [rsp + 0x68], rbp
call fcn.140016980
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [0x140037bc0]
cmp eax, 0xffffffff
jne 0x140015aeb
lea rdx, str.WARNING:___Program_Files___is_not_a_valid_System_path__n
mov ebx, ebp
call fcn.140016980
jmp 0x140015bc7
lea r8, str.SOFTWARENVIDIA_CorporationGlobalDrsPath
lea rdx, str.Creating_Opening_the_reg_path___s__n
call fcn.140016980
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalDrsPath
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [0x140037bc0]
lea r8, str.SOFTWARENVIDIA_CorporationGlobalDrsPath
test eax, eax
jne 0x140015bb9
lea rdx, str.Setting_NVDRS_GOLD_PATH_key_on___s__n
mov qword [rsp + 0x60], rdi
call fcn.140016980
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
lea rdx, str.NVDRS_GOLD_PATH
mov r9d, ebx
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x60]
test eax, eax
je 0x140015bac
mov rcx, qword [0x140037bc0]
lea rdx, str.WARNING:_Could_not_set_the_registry_entry_for_NVDRS_GOLD_PATH__n
mov ebx, ebp
call fcn.140016980
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140015bc7
lea rdx, str.WARNING:_Could_not_Create_or_Open_the_reg_path___s___n
call fcn.140016980
mov ebx, ebp
mov rcx, qword [0x140037bc0]
call fcn.140016470
mov rcx, qword [0x140037bc0]
lea rdx, str.Exiting__SetProgramFilesPath__function._Return__d_n
mov r8d, ebx
call fcn.140016980
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
Function at 0x1400164b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140036460]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
mov rbx, rdx
xor eax, eax
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], ax
call fcn.140016ef0
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140016542
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
cmp eax, 1
jne 0x140016542
lea rax, str.NVInstaller.log
lea r9, [rsp + 0x30]
lea r8, str._sTemp_s
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14001902c
cmp word [rbx], 0
je 0x140016542
mov eax, 1
jmp 0x140016544
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400177a0
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
Function at 0x140016980
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
mov eax, 0x2860
call fcn.1400187a0
sub rsp, rax
mov rax, qword [0x140036460]
xor rax, rsp
mov qword [rsp + 0x2840], rax
cmp dword [rcx + 0x18], 0xffffffff
mov rdi, rcx
je 0x140016ae3
mov rcx, qword [rcx + 8]
or edx, 0xffffffff
mov qword [rsp + 0x2850], rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x2878]
lea r8, [rsp + 0x2880]
lea rcx, [rsp + 0x840]
call fcn.140019020
lea rcx, [rsp + 0x840]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rdi + 0x9c]
lea rdx, [0x14002f250]
call fcn.140019564
mov rsi, rax
test rax, rax
je 0x140016ad1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x2858], rbx
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rax, [rsp + 0x40]
lea r9, str.hh:mm:ss_tt
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x800
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
je 0x140016a7c
mov eax, dword [rdi + 0x18]
lea r9, [rdi + 0x1c]
lea r8, [rsp + 0x40]
lea rdx, str._s____s__d___
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.1400193f0
mov rax, qword [rdi]
xor ebx, ebx
cmp dword [rax + 4], ebx
jle 0x140016aa9
nop word [rax + rax]
lea rcx, [0x14002f208]
mov rdx, rsi
call fcn.140019338
mov rax, qword [rdi]
inc ebx
cmp ebx, dword [rax + 4]
jl 0x140016a90
lea rcx, [rsp + 0x840]
mov rdx, rsi
call fcn.140019338
mov rcx, rsi
call fcn.1400192e8
mov rcx, rsi
call fcn.1400190cc
mov rbx, qword [rsp + 0x2858]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rsi, qword [rsp + 0x2850]
mov rcx, qword [rsp + 0x2840]
xor rcx, rsp
call fcn.1400177a0
add rsp, 0x2860
pop rdi
ret
Function at 0x140016b00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rcx, rdx
mov rbp, r8
mov rsi, rdx
xor ebx, ebx
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x140016b36
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x140016b24
mov rcx, rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140016c79
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140016b79
cmp eax, 3
je 0x140016b79
cmp eax, 0xb7
jmp 0x140016c88
inc rbp
mov eax, 2
mov rdi, 0xffffffffffffffff
mul rbp
cmovo rax, rdi
mov rcx, rax
call fcn.140018018
mov r12, rax
test rax, rax
je 0x140016c8f
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.140018b14
mov eax, 2
mul rbp
cmovo rax, rdi
mov rcx, rax
call fcn.140018018
mov rdi, rax
test rax, rax
je 0x140016c6f
mov r8, r12
mov rdx, rbp
mov rcx, rax
call fcn.140018b14
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathSkipRootW]
mov rdx, rbp
mov rcx, r12
mov r8, rax
call fcn.140018b14
lea rdx, [0x14002d808]
mov rcx, r12
call fcn.140019570
test rax, rax
je 0x140016c4e
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140016c3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140016c4e
lea rdx, [0x14002d808]
xor ecx, ecx
call fcn.140019570
test rax, rax
jne 0x140016c13
mov rdx, rsi
mov rcx, rdi
call fcn.140018a8c
mov ecx, ebx
mov ebx, 1
test eax, eax
cmove ecx, ebx
mov ebx, ecx
mov rcx, rdi
call fcn.140017fa0
mov rcx, r12
call fcn.140017fa0
jmp 0x140016c8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140016c8a
test eax, eax
jne 0x140016c8f
mov ebx, 1
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140016cb0
Capabilities:
Check if file exists
Check mutex on windows
Get file attributes
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x460
mov rax, qword [0x140036460]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x242]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], bp
call fcn.140016ef0
lea rdx, [rsp + 0x240]
mov r8d, 0x104
mov rcx, rdi
call fcn.140016570
test eax, eax
je 0x140016ead
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bp
call fcn.140016ef0
lea r8, [rsp + 0x240]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140018b14
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea r8, [rdi + 0x2a4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 8], rax
test rax, rax
je 0x140016ead
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r11, [rdi + 0x4ac]
lea r8d, [rbp + 4]
mov qword [rsp + 0x28], r11
xor r9d, r9d
xor edx, edx
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x140016dc7
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], rbp
jmp 0x140016ead
mov qword [rsp + 0x478], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x10]
cmp eax, 0xb7
mov qword [rsp + 0x20], rbp
sete sil
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi], rax
test rax, rax
jne 0x140016e27
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 8]
mov qword [rdi + 0x10], rbp
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], rbp
jmp 0x140016ea5
test sil, sil
jne 0x140016e34
mov dword [rax], ebp
mov rax, qword [rdi]
mov dword [rax + 4], ebp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140016e57
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call fcn.140016b00
lea rcx, [rdi + 0x9c]
lea r8, [rsp + 0x240]
mov edx, 0x104
call fcn.140018b14
mov rcx, rdi
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
mov word [rcx + rbx + 0x1a], ax
test ax, ax
jne 0x140016e80
mov rcx, qword [rdi]
mov eax, dword [rcx]
mov dword [rdi + 0x18], eax
inc dword [rcx]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rsi, qword [rsp + 0x478]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400177a0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001b8a3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140036460]
jne 0x1400177ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1400177b6
repz ret
ror rcx, 0x10
jmp 0x14001b7fc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140037ce0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140037dd8]
mov qword [rsp + 0x58], rax
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 0x14001b881
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, [0x140037ce0]
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 0x14001b8a3
mov rax, qword [rsp + 0x88]
mov qword [0x140037dd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140037d78], rax
mov rax, qword [0x140037dd8]
mov qword [0x140037c50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140037d60], rax
mov dword [0x140037c40], 0xc0000409
mov dword [0x140037c44], 1
mov rax, qword [0x140036460]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140036468]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140037cd8], eax
mov ecx, 1
call fcn.140022fc0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002f798]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140037cd8], 0
jne 0x14001b92a
mov ecx, 1
call fcn.140022fc0
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 0x1400217d0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140021640
Function at 0x1400238d8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140036460]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001a38c
xor ebx, ebx
cmp qword [0x140038d70], rbx
mov rdi, rax
jne 0x1400239eb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140023ac2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140023ac2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140038d70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140038d78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140038d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140038d90], rax
test rax, rax
je 0x1400239e2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140038d88], rax
jmp 0x1400239f2
mov rax, qword [0x140038d88]
jmp 0x1400239f9
mov rax, qword [0x140038d88]
mov r11, qword [0x140038d90]
cmp rax, rdi
je 0x140023a60
cmp r11, rdi
je 0x140023a60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140038d90]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140023a60
test rax, rax
je 0x140023a60
call rsi
test rax, rax
je 0x140023a5a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140023a5a
test byte [rsp + 0x40], 1
jne 0x140023a60
bts ebp, 0x15
jmp 0x140023aa0
mov rcx, qword [0x140038d78]
cmp rcx, rdi
je 0x140023aa0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140023aa0
call rax
mov rbx, rax
test rax, rax
je 0x140023aa0
mov rcx, qword [0x140038d80]
cmp rcx, rdi
je 0x140023aa0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140023aa0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140038d70]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140023ac2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140023ac4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400177a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002ee0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
mov rbp, r9
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140002f23
lea r8d, [rdx + 0x1d]
lea rdx, str.CAECustomized::Init
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14005dbf0
test r8, r8
jne 0x140002f30
mov r8d, 0x1e
jmp 0x140002f01
test rbp, rbp
jne 0x140002f3b
lea r8d, [rbp + 0x1f]
jmp 0x140002f01
test dword [rdx + 0xa8], 0x10000000
jne 0x140002f6c
test byte [rdx + 0x134], 8
jne 0x140002f6c
test dword [rdx + 0xf4], 0x1000
jne 0x140002f6c
test dword [rdx + 0x148], 0x100
jne 0x140002f6c
xor eax, eax
jmp 0x140002f71
mov eax, 0x80
and dword [rcx], 0xffffff7f
lea r8, str.TESHLLED
or dword [rcx], eax
lea rdx, str.Customize
lea rcx, [0x140161330]
xor r9d, r9d
call fcn.1400056a0
xor ecx, ecx
mov edx, 0x400000
cmp eax, 0x51e305a9
mov eax, dword [rdi]
cmove ecx, edx
btr eax, 0x16
or ecx, eax
mov dword [rdi], ecx
test edx, ecx
jne 0x140003037
call fcn.1400b41c0
test eax, eax
je 0x140002fd3
mov eax, 0x1028
cmp word [rsp + 0x60], ax
jne 0x140002fd3
mov ecx, 0x4000
jmp 0x140002fd5
xor ecx, ecx
mov eax, dword [rdi]
lea r9, [rsp + 0x48]
btr eax, 0xe
mov dword [rsp + 0x48], 0
or eax, ecx
lea r8, str.DellAudioUINotExist
lea rdx, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea ecx, [rax*8]
xor ecx, eax
and ecx, 0x20000
xor ecx, eax
mov eax, ecx
shl eax, 9
xor eax, ecx
and eax, 0x800000
xor eax, ecx
mov rcx, 0xffffffff80000002
mov dword [rdi], eax
call fcn.14007da80
mov eax, dword [rsp + 0x48]
shl eax, 0x1a
xor eax, dword [rdi]
and eax, 0x4000000
xor dword [rdi], eax
mov ecx, dword [rdi]
mov eax, 0x103c
cmp word [rsp + 0x60], ax
je 0x1400030a6
mov r9d, 0x17aa
cmp word [rsp + 0x60], r9w
jne 0x1400030b4
movzx eax, word [rsp + 0x68]
mov edx, 0x6000
cmp ax, dx
jb 0x14000306a
mov edx, 0x67ff
cmp ax, dx
jbe 0x1400030b4
mov edx, 0x2301
cmp ax, dx
jne 0x1400030b4
bts ecx, 0x1c
mov dword [rsp + 0x60], edx
mov dword [rdi], ecx
lea rdx, str.CCustomizeLenovo::AECustomize
lea rcx, str._s__d_0x_04X_04X_DspR0_Copy_RSA1_R0_L_To_RSA1_R0_R
mov r8d, 0x12a
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14005dbf0
mov r9, rdi
mov r8, rbp
mov rcx, rbx
call fcn.14003fdb0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140005b80
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x38], rdi
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140005d73
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov r9, rbx
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e2b48]
lea rcx, [rsp + 0x38]
call fcn.140006bc0
mov rsi, qword [rsi + 8]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
jne 0x140005c29
mov r8d, 0xf0
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
jmp 0x140005d3c
test rbp, rbp
jne 0x140005c36
mov r8d, 0xf1
jmp 0x140005c11
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14007eb60
test eax, eax
jne 0x140005c8b
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.14007de30
test eax, eax
jne 0x140005c8b
mov r8d, 0xfa
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
nop
jmp 0x140005d3c
mov r9d, 2
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400278b0
test eax, eax
je 0x140005cd1
mov r8d, 0xff
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005d3c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140005d3c
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, 3
xor r8d, r8d
mov rdx, rbp
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140005d29
mov r8d, 0x103
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
nop
test rsi, rsi
je 0x140005d3c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140005d3c
test rsi, rsi
je 0x140005d37
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, 1
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140005d59
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400beb20
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x14000d440
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor edi, edi
add rcx, 8
mov dword [rcx + 0x28], edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
mov qword [rbx + 0x38], rdi
lea rax, vtable.CAsyncEventNotifyBase.0
mov qword [rbx], rax
lea r8, [0x14000d640]
mov qword [rbx + 0x40], rdi
lea rax, [rsp + 0x30]
mov dword [rbx + 0x48], edi
mov r9, rbx
mov dword [rbx + 0x4c], 2
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], rdi
mov qword [rbx + 0x60], rdi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], rdi
mov dword [rbx + 0x78], 0xa
mov dword [rsp + 0x30], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x38], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbx + 0x40], rax
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000d7c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.14000b190
mov ecx, 0x3100
cmp word [rax + 0x342], cx
je 0x14000d7f6
call fcn.14000b190
mov ecx, 0x1179
cmp word [rax + 0x342], cx
jne 0x14000d822
mov r9d, dword [rdi + 0x48]
test r9d, r9d
je 0x14000d822
mov r8d, 0x61
lea rdx, str.CAsyncEventNotifyBase::PostEvent
lea rcx, str._s__d_m_bStop_d__return
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005dbf0
lea rcx, [rdi + 8]
mov qword [rsp + 0x30], rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi + 0x50]
mov rdx, rsi
call fcn.14000d870
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x40]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
Function at 0x140012710
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rsi, rdx
test rdx, rdx
lea rdx, str.CAudioDeviceMuteStateHandler::OnRemoveDevice
mov rbp, rcx
jne 0x140012741
mov r8d, 0x18f
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.14005dbf0
mov qword [rsp + 0x40], rbx
lea rcx, [0x1400e2bd0]
mov r8d, 0x191
mov qword [rsp + 0x58], rdi
call fcn.14005dbf0
cmp dword [rbp + 0x78], 0
mov edi, 0xffffffff
je 0x14001280b
mov rdx, qword [rsi + 0x168]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], r14
call fcn.140004520
mov r14, rax
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jge 0x140012792
mov ebx, edi
jmp 0x1400127b0
lea rdx, str.0.0.0.00000000
call fcn.1400c4db0
mov rbx, rax
test rax, rax
jne 0x1400127aa
mov ebx, edi
jmp 0x1400127b0
sub rbx, qword [r14]
sar rbx, 1
mov rdx, qword [rsp + 0x48]
mov eax, edi
shr ebx, 0x1f
xor bl, 1
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
mov r14, qword [rsp + 0x20]
sub eax, 1
jg 0x1400127d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14001280b
call fcn.14000b190
mov ebx, dword [rax + 0x2dc]
call fcn.14000b5e0
mov edx, 0x3fd
mov rcx, rax
mov r8d, 0x1f4
test bl, 0xf
jne 0x140012806
mov r8d, 0xc8
call fcn.1400b43a0
cmp dword [rbp + 0x74], 0
je 0x1400128a8
mov rdx, qword [rsi + 0x168]
lea rcx, [rsp + 0x50]
call fcn.140004520
mov rsi, rax
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jge 0x140012836
mov ebx, edi
jmp 0x140012854
lea rdx, str.0.0.1.00000000
call fcn.1400c4db0
mov rbx, rax
test rax, rax
jne 0x14001284e
mov ebx, edi
jmp 0x140012854
sub rbx, qword [rsi]
sar rbx, 1
mov rdx, qword [rsp + 0x50]
shr ebx, 0x1f
xor bl, 1
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140012876
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x1400128a8
call fcn.14000b190
mov ebx, dword [rax + 0x2dc]
call fcn.14000b5e0
mov edx, 0x3fe
mov rcx, rax
mov r8d, 0x1f4
test bl, 0xf
jne 0x1400128a3
mov r8d, 0xc8
call fcn.1400b43a0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x28
pop rsi
pop rbp
ret