joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001660
Capabilities:
Create pipe

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
test rcx, rcx
jne 0x140001676
xor eax, eax
add rsp, 0x60
pop rsi
ret
mov edx, 1
xor r9d, r9d
xor ecx, ecx
mov r8d, edx
mov qword [rsp + 0x78], rbp
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400016b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_create_event:__d_n
mov edx, eax
call fcn.1400195e8
mov rbp, qword [rsp + 0x78]
xor eax, eax
add rsp, 0x60
pop rsi
ret
mov ecx, 0x28
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rdi
call fcn.140019794
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1400016f0
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
jmp 0x1400016f3
mov rbx, rdi
xor eax, eax
lea r8, [rsp + 0x48]
lea rcx, str.D:_A_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_S:_ML__NW___ME_
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x18], rbp
lea edx, [rax + 1]
xor r9d, r9d
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], edi
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
xor ecx, ecx
call fcn.140015e30
lea rcx, [rsp + 0x40]
mov r9d, 0xff
cmp eax, 8
mov edx, 0x40000003
cmovle rcx, rdi
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x1388
mov rcx, rsi
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001794
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateNamedPipe_failed_with__d._n
mov edx, eax
call fcn.1400195e8
xor eax, eax
jmp 0x1400017bc
mov ecx, 0x4048
call fcn.140019794
test rax, rax
je 0x1400017b9
mov r8, rsi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.1400017e0
mov rdi, rax
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret

Function at 0x1400018d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor edx, edx
mov r8d, 0x2000
add rcx, 0x2c
call fcn.14001bcd0
cmp dword [rbx + 8], 1
jne 0x14000191d
lea rax, [0x140002050]
test rax, rax
je 0x14000191d
mov r9, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x2c]
mov r8d, 0x2000
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140001f90
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rsi, rcx
mov ecx, 0xa8
call fcn.140019794
mov qword [rsp + 0x70], rax
xor ebp, ebp
test rax, rax
je 0x140001fcf
mov rcx, rax
call fcn.140002100
mov rbx, rax
jmp 0x140001fd2
mov rbx, rbp
mov rcx, rbx
call fcn.1400023f0
test eax, eax
je 0x14000203a
mov edi, 0x3d
mov rcx, rsi
call fcn.140001660
mov rdx, rax
mov rcx, rbx
call fcn.140002980
dec rdi
jne 0x140001fe3
cmp dword [rbx + 8], edi
je 0x14000203a
cmp dword [rbx + 0xc], edi
jne 0x14000203a
mov dword [rsp + 0x68], ebp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x1400024a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x78], rax
cmp rax, 0xffffffffffffffff
setne bpl
mov dword [rbx + 0xc], ebp
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140002730
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140002752
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rdx, qword [rdx + 0x20]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140002745
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1400027be
cmp eax, 0x3e5
jne 0x140002745
mov rax, qword [rbx + 0x18]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 1
call fcn.140003a60
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x10]
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140003a90
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x40
pop rdi
ret

Function at 0x1400041a0
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 0x1400041d3
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 0x140004219
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140004214
nop
cmp rbx, rcx
jae 0x140004219
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x140004200
cmp rbx, rcx
jb 0x14000421d
xor eax, eax
jmp 0x140004229
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 0x140006700
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x848]
sub rsp, 0x940
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rbp + 0x830], rax
xor edi, edi
mov word [rbp + 0x30], di
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x32]
call fcn.14001bcd0
lea r9, [rsp + 0x30]
lea r8d, [rdi + 1]
lea rdx, [rbp]
lea rcx, str.Keyboard
call qword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameW]
mov edx, 0xf003f
lea rcx, [rbp]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenClassRegKey]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140006922
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.UpperFilters
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006919
lea rax, [rsp + 0x58]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
xor r8d, r8d
lea rdx, [0x140037874]
lea rcx, [rsp + 0x58]
call fcn.14000c8f0
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
xor r8d, r8d
lea rdx, [0x140037874]
lea rcx, [rsp + 0x78]
call fcn.14000c8f0
nop
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rdi
mov word [rbp - 0x68], di
xor r8d, r8d
lea rdx, [0x140037874]
lea rcx, [rbp - 0x68]
call fcn.14000c8f0
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
xor r8d, r8d
lea rdx, [0x140037874]
lea rcx, [rsp + 0x38]
call fcn.14000c8f0
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
lea r8d, [rdi + 5]
lea rdx, str.SynTP
lea rcx, [rbp - 0x48]
call fcn.14000c8f0
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x10]
call fcn.1400162b0
cmp qword [rax + 0x18], 8
jb 0x1400068d1
mov rax, qword [rax]
mov r8, rax
mov edx, dword [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400065e0
mov edi, eax
cmp qword [rbp + 0x28], 8
jb 0x1400068f3
mov rcx, qword [rbp + 0x10]
call fcn.140018e6c
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, str.UpperFilters
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.140018e90
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000e800
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x30], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov eax, dword [0x140047e88]
test al, 1
jne 0x14000e899
or eax, 1
mov dword [0x140047e88], eax
call fcn.1400011c0
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x14000e87c
mov ecx, 0x80004005
call fcn.140004180
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140047e90], rax
lea rcx, [0x14002e380]
call fcn.1400195b8
mov rax, qword [0x140047e90]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
jne 0x14000e9f7
mov word [rsp + 0x40], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.14001bcd0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rax, [rsp + 0x40]
mov rbx, rsi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000e8e0
test ebx, ebx
jne 0x14000e95a
mov rax, qword [0x140047e90]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000e9f7
cmp dword [rdx + 0x10], 0
jge 0x14000e931
cmp dword [rax - 0xc], 0
jge 0x14000e91d
mov ecx, 0x80070057
call fcn.140004180
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x140047e90]
mov word [rax], r13w
jmp 0x14000e9f7
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000e941
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140047e90], rax
jmp 0x14000e9f7
mov rcx, qword [0x140047e90]
mov ebp, dword [rcx - 0x10]
lea rdi, [rsp + 0x40]
sub rdi, rcx
sar rdi, 1
test ebx, ebx
jns 0x14000e97e
mov ecx, 0x80070057
call fcn.140004180
int3
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, ebx
or eax, edx
jge 0x14000e9a4
mov edx, ebx
lea rcx, [0x140047e90]
call fcn.14000d100
mov rcx, qword [0x140047e90]
movsxd rax, ebx
movsxd rdx, dword [rcx - 0xc]
lea r14, [rax + rax]
add rdx, rdx
mov r9, r14
cmp rdi, rbp
ja 0x14000e9c5
lea r8, [rcx + rdi*2]
call fcn.140019800
jmp 0x14000e9cf
lea r8, [rsp + 0x40]
call fcn.14001a388
mov rax, qword [0x140047e90]
cmp ebx, dword [rax - 0xc]
jg 0x14000e9ec
mov dword [rax - 0x10], ebx
mov rax, qword [0x140047e90]
mov word [r14 + rax], r13w
jmp 0x14000e9f7
mov ecx, 0x80070057
call fcn.140004180
int3
mov r8, r15
lea rdx, [0x140047e90]
mov rcx, r12
call fcn.14000b610
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ea22
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, r12
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140018e90
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ea50
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x290
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2c8], rbx
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rdx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov eax, dword [0x140047e80]
test al, 1
jne 0x14000eaca
or eax, 1
mov dword [0x140047e80], eax
mov qword [0x140047eb8], 7
mov qword [0x140047eb0], rbp
mov word [0x140047ea0], bp
lea rcx, [0x14002e3a0]
call fcn.1400195b8
cmp qword [0x140047eb0], 0
jne 0x14000eb3c
mov word [rsp + 0x70], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.14001bcd0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14000eb3c
cmp word [rsp + 0x70], ax
jne 0x14000eb17
mov r8, rbp
jmp 0x14000eb2b
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000eb20
lea rdx, [rsp + 0x70]
lea rcx, [0x140047ea0]
call fcn.14000c8f0
test rdi, rdi
je 0x14000eb84
mov r8, rbx
lea rdx, [0x140047ea0]
lea rcx, [rsp + 0x48]
call fcn.14000d460
cmp qword [rax + 0x18], 8
jb 0x14000eb5f
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, ebp
cmp eax, 0xffffffff
setne cl
mov dword [rdi], ecx
cmp qword [rsp + 0x60], 8
jb 0x14000eb84
mov rcx, qword [rsp + 0x48]
call fcn.140018e6c
mov r8, rbx
lea rdx, [0x140047ea0]
mov rcx, rsi
call fcn.14000d460
nop
cmp qword [rbx + 0x18], 8
jb 0x14000eba6
mov rcx, qword [rbx]
call fcn.140018e6c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov word [rbx], bp
mov rax, rsi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140018e90
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rsi, rdx
mov r15, rcx
xor edx, edx
lea rcx, [rbp - 0x11]
call fcn.140017a70
nop
xor r12d, r12d
mov dword [rbp + 0x77], r12d
mov r14d, r12d
mov ebx, r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x11]
call fcn.140017ce0
test eax, eax
je 0x140011c60
mov dword [rbp + 0x7f], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x39]
lea rdx, str.DisableTPByGPIO
lea rcx, [rbp - 9]
call fcn.140018290
mov r14d, dword [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.1400180f0
mov qword [rbp - 0x31], r12
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetServicesSynTPParametersTouchPad
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011d48
xor r9d, r9d
xor r8d, r8d
mov r13d, 1
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov qword [rbp - 0x21], rax
mov rax, qword [r15 + 0xa0]
mov qword [rbp - 0x19], rax
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8d, [r13 + 3]
mov edx, r13d
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x140011cf4
mov r9d, 0x7530
xor r8d, r8d
lea rdx, [rbp - 0x21]
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
cmove ebx, r13d
mov dword [rbp + 0x7f], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisableTPByGPIO
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rbp + 0x77]
mov dword [rsi], eax
cmp eax, r14d
cmovne ebx, r13d
test rdi, rdi
je 0x140011d3e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x20006
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x11]
call fcn.140017ce0
test eax, eax
je 0x140011d8a
xor r9d, r9d
mov r8d, dword [rsi]
lea rdx, str.DisableTPByGPIO
lea rcx, [rbp - 9]
call fcn.140018700
nop
lea rcx, [rbp - 0x11]
call fcn.140017b90
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400130e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov esi, r8d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140013120
mov eax, dword [0x140037840]
mov dword [rcx], eax
lea rax, [rsp + 0x20]
sub rax, 2
nop dword [rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140013140
mov ecx, dword [0x1400396a0]
movups xmm0, xmmword [str.SynCOM.dll]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1400396a4]
mov word [rax + 0x14], cx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
cmp rax, 0x20
jae 0x140013181
xor eax, eax
jmp 0x1400131c9
lea rax, str.DllUnregisterServer
lea rdx, str.DllRegisterServer
test esi, esi
mov rcx, rdi
cmovne rdx, rax
mov qword [rsp + 0x250], rbx
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400131b4
call rax
jmp 0x1400131b6
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rbx, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140018e90
mov rsi, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x1400131f0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rdi, rcx
call fcn.140006700
xor ebx, ebx
mov dword [rbp + 0x6f], ebx
cmp qword [rdi + 0x328], rbx
je 0x140013253
mov rcx, qword [rdi + 0x328]
test rcx, rcx
jne 0x14001323b
lea rcx, [rdi + 0x330]
mov rax, qword [rcx]
lea r8, [rbp + 0x6f]
mov edx, 0x10000003
call qword [rax + 0x30]
cmp dword [rbp + 0x6f], ebx
jne 0x1400132e3
lea rax, [rbp - 0x21]
mov qword [rbp + 0x67], rax
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rbx
mov word [rbp - 0x21], bx
mov r8d, 2
lea rdx, [0x140039ee4]
lea rcx, [rbp - 0x21]
call fcn.14000c8f0
nop
call fcn.14000e630
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rbx
mov word [rbp - 1], bx
cmp word [rax], 0
jne 0x1400132a2
mov r8, rbx
jmp 0x1400132bb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400132b0
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000c8f0
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 1]
mov rcx, rdi
call fcn.140011db0
mov r8d, 1
call fcn.1400130e0
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.140017a70
nop
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 1
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x1f]
call fcn.140017ce0
test eax, eax
je 0x14001332f
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, str.UnInstallRemoveUserSettings
lea rcx, [rbp + 0x27]
call fcn.140018700
lea rax, [rbp - 0x21]
mov qword [rbp + 0x67], rax
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rbx
mov word [rbp - 0x21], bx
mov r8d, 0xd
lea rdx, str._usersettings
lea rcx, [rbp - 0x21]
call fcn.14000c8f0
nop
call fcn.14000e630
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rbx
mov word [rbp - 1], bx
cmp word [rax], 0
je 0x14001338a
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140013380
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000c8f0
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 1]
mov rcx, rdi
call fcn.140011db0
call fcn.140014020
mov ecx, 0x7f
call fcn.140006c60
lea rcx, str.HKLM_SoftwareSynapticsSynTPFilterHID
call fcn.140006950
lea rdx, [0x140037920]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
lea rcx, str.HKLM_SystemCurrentControlSetServicesSynTPEnhService
call fcn.140006950
mov rcx, rdi
call fcn.140013420
call fcn.140015c80
mov rcx, rax
call fcn.140015300
nop
lea rcx, [rbp + 0x1f]
call fcn.140017b90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400144b0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov rdi, rcx
or rbx, 0xffffffffffffffff
mov qword [rcx], rax
mov qword [rsp + 0x30], rax
call fcn.14000e170
cmp word [rax], 0
je 0x140014544
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x38], 0x38
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.14000e170
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014544
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x140047ec0]
test al, 1
jne 0x140014565
or eax, 1
mov dword [0x140047ec0], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140047e98], eax
jmp 0x14001456b
mov eax, dword [0x140047e98]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140014591
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x140047e98]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x70]
lea rcx, str.SynCom.SynAPI
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x1400145c4
xor edx, edx
lea r9, str.c_a2A
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400145d6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x1400145e5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140018e90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret