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

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x24], 0
mov rbx, rcx
je 0x140002217
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp dword [rcx + 0x20], 0
mov qword [rsp + 0x40], rsi
je 0x140002227
call fcn.140002090
mov rcx, qword [rbx + 0x10]
mov esi, 1
test rcx, rcx
je 0x14000223c
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
mov rcx, qword [rbx + 8]
call fcn.1400019a0
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400022a3
mov qword [rax + 0x4038], rbx
cmp qword [rbx + 0x10], 0
mov qword [rsp + 0x48], rdi
je 0x140002297
cmp dword [rbx + 0x20], 0
jne 0x140002297
xor edi, edi
lea r8, [0x1400020f0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
mov qword [rbx + 0x18], rax
setne dil
mov dword [rbx + 0x20], edi
jmp 0x14000229b
xor edi, edi
mov esi, edi
mov rdi, qword [rsp + 0x48]
mov dword [rbx + 0x24], esi
mov eax, dword [rbx + 0x24]
mov rsi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret

Function at 0x1400025d0
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.140021fb4
mov qword [rsp + 0x70], rax
xor ebp, ebp
test rax, rax
je 0x14000260f
mov rcx, rax
call fcn.140002750
mov rbx, rax
jmp 0x140002612
mov rbx, rbp
mov rcx, rbx
call fcn.140002a40
test eax, eax
je 0x14000267a
mov edi, 0x3d
mov rcx, rsi
call fcn.140001820
mov rdx, rax
mov rcx, rbx
call fcn.140002fd0
dec rdi
jne 0x140002623
cmp dword [rbx + 8], edi
je 0x14000267a
cmp dword [rbx + 0xc], edi
jne 0x14000267a
mov dword [rsp + 0x68], ebp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140002af0]
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 0x140002d80
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140002da2
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 0x140002d95
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140002e0e
cmp eax, 0x3e5
jne 0x140002d95
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.140004080
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x10]
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400040b0
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 0x14000f5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r8, rcx
cmp edx, 0x100012c
ja 0x14000f62f
je 0x14000f62a
add edx, 0xfefffff6
cmp edx, 0xf3
ja case.0x14000f6a3.16777727
mov eax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0xf8a0]
mov ecx, dword [rdx + rax*4 + 0xf86c]
add rcx, rdx
jmp rcx
mov rax, r8
ret
lea rax, [r8 + 4]
ret
lea rax, [r8 + 0x10]
ret
lea rax, [r8 + 8]
ret
lea rax, [r8 + 0x14]
ret
lea rax, [r8 + 0x18]
ret
lea rax, [r8 + 0x1c]
ret
lea rax, [r8 + 0x20]
ret
lea rax, [r8 + 0x24]
ret
lea rax, [r8 + 0x28]
ret
lea rax, [r8 + 0x2c]
ret
lea rax, [r8 + 0xe0]
ret
lea rax, [rcx + 0x30]
ret
cmp edx, 0x10001f4
ja 0x14000f664
je 0x14000f65f
sub edx, 0x100012d
je 0x14000f65a
dec edx
je 0x14000f655
dec edx
jne case.0x14000f6a3.16777727
lea rax, [rcx + 0xdc]
ret
lea rax, [rcx + 0x38]
ret
lea rax, [rcx + 0x34]
ret
lea rax, [rcx + 0x3c]
ret
cmp edx, 0x100031f
ja 0x14000f83d
je 0x14000f835
add edx, 0xfefffe0b
cmp edx, 0xbd
ja case.0x14000f6a3.16777727
mov eax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0xfa78]
mov ecx, dword [rdx + rax*4 + 0xf994]
add rcx, rdx
jmp rcx
lea rax, [r8 + 0x40]
ret
lea rax, [r8 + 0x44]
ret
lea rax, [r8 + 0x48]
ret
lea rax, [r8 + 0x4c]
ret
lea rax, [r8 + 0x50]
ret
lea rax, [r8 + 0x54]
ret
lea rax, [r8 + 0x58]
ret
lea rax, [r8 + 0x5c]
ret
lea rax, [r8 + 0x60]
ret
lea rax, [r8 + 0x64]
ret
lea rax, [r8 + 0x68]
ret
lea rax, [r8 + 0x6c]
ret
lea rax, [r8 + 0x70]
ret
lea rax, [r8 + 0x74]
ret
lea rax, [r8 + 0x78]
ret
lea rax, [r8 + 0x7c]
ret
lea rax, [r8 + 0x80]
ret
lea rax, [r8 + 0x84]
ret
lea rax, [r8 + 0x88]
ret
lea rax, [r8 + 0x8c]
ret
lea rax, [r8 + 0x90]
ret
lea rax, [r8 + 0x94]
ret
lea rax, [r8 + 0x98]
ret
lea rax, [r8 + 0x9c]
ret
lea rax, [r8 + 0xa0]
ret
lea rax, [r8 + 0xa4]
ret
lea rax, [r8 + 0xa8]
ret
lea rax, [r8 + 0xac]
ret
lea rax, [r8 + 0xb0]
ret
lea rax, [r8 + 0xb4]
ret
lea rax, [r8 + 0xb8]
ret
lea rax, [r8 + 0xbc]
ret
lea rax, [r8 + 0xc0]
ret
lea rax, [r8 + 0xc4]
ret
lea rax, [r8 + 0xc8]
ret
lea rax, [r8 + 0xcc]
ret
lea rax, [r8 + 0xd0]
ret
lea rax, [r8 + 0xd4]
ret
lea rax, [r8 + 0xd8]
ret
lea rax, [r8 + 0xe4]
ret
lea rax, [r8 + 0xe8]
ret
lea rax, [r8 + 0xec]
ret
lea rax, [r8 + 0xf0]
ret
lea rax, [r8 + 0xf4]
ret
lea rax, [r8 + 0xf8]
ret
lea rax, [r8 + 0xfc]
ret
lea rax, [r8 + 0x100]
ret
lea rax, [r8 + 0x104]
ret
lea rax, [r8 + 0x108]
ret
lea rax, [r8 + 0x10c]
ret
lea rax, [r8 + 0x110]
ret
lea rax, [r8 + 0x114]
ret
lea rax, [r8 + 0x118]
ret
lea rax, [r8 + 0x11c]
ret
lea rax, [r8 + 0x130]
ret
lea rax, [r8 + 0x134]
ret
lea rax, [rcx + 0x12c]
ret
sub edx, 0x1000378
je 0x14000f861
dec edx
je 0x14000f859
cmp edx, 9
je 0x14000f851
xor eax, eax
ret
lea rax, [rcx + 0x128]
ret
lea rax, [rcx + 0x124]
ret
lea rax, [rcx + 0x120]
ret
Function at 0x140011c00
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x18]
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x140011c8d
cmp dword [rbx + 0x78], 0xffffffff
je 0x140011c8d
cmp qword [rbx + 0x1e0], 0
je 0x140011c2e
mov rcx, rbx
call fcn.140011ca0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
lea r8, [0x1400126c0]
mov dword [rbx + 0x1bc], eax
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rbx + 0x3c], ecx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x1e0], rax
test rax, rax
je 0x140011c8d
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov eax, 1
add rsp, 0x30
pop rbx
ret
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140011ca0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x18]
cmp qword [rbx + 0x1e0], 0
je 0x140011d3e
mov rcx, qword [rbx + 0x1d8]
test rcx, rcx
je 0x140011d1c
mov dword [rbx + 0x44], 1
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x140011d1c
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x140011d3e
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x1e0]
test eax, eax
je 0x140011d2d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x1e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1e0], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1e0], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140012b20
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x18]
cmp qword [rbx + 0x48], 0
je 0x140012b3e
mov rcx, rbx
call fcn.140012bc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x140012b68
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
xor eax, eax
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
lea rax, [rsp + 0x40]
lea r8, [0x140012d80]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rbx + 0x3c], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x140012b57
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140013f60
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 [0x1400512d0]
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 [0x140055280]
test al, 1
jne 0x140013fda
or eax, 1
mov dword [0x140055280], eax
mov qword [0x1400552a8], 7
mov qword [0x1400552a0], rbp
mov word [0x140055290], bp
lea rcx, [0x1400374e0]
call fcn.140021820
cmp qword [0x1400552a0], 0
jne 0x14001404c
mov word [rsp + 0x70], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.140024640
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 0x14001404c
cmp word [rsp + 0x70], ax
jne 0x140014027
mov r8, rbp
jmp 0x14001403b
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140014030
lea rdx, [rsp + 0x70]
lea rcx, [0x140055290]
call fcn.14000e180
test rdi, rdi
je 0x140014094
mov r8, rbx
lea rdx, [0x140055290]
lea rcx, [rsp + 0x48]
call fcn.14000ece0
cmp qword [rax + 0x18], 8
jb 0x14001406f
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 0x140014094
mov rcx, qword [rsp + 0x48]
call fcn.140021650
test byte [0x1400512b0], 2
je 0x1400140ea
mov r8, rbx
lea rdx, [0x140055290]
lea rcx, [rsp + 0x48]
call fcn.14000ece0
nop
cmp qword [rax + 0x18], 8
jb 0x1400140bc
mov rax, qword [rax]
mov r9, rax
lea r8, [0x140041dc0]
mov edx, 2
lea rcx, str.GetProgramFilesPath
call fcn.1400206a0
nop
cmp qword [rsp + 0x60], 8
jb 0x1400140ea
mov rcx, qword [rsp + 0x48]
call fcn.140021650
mov r8, rbx
lea rdx, [0x140055290]
mov rcx, rsi
call fcn.14000ece0
nop
cmp qword [rbx + 0x18], 8
jb 0x14001410c
mov rcx, qword [rbx]
call fcn.140021650
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.140021670
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018150
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.14001ff50
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.1400201c0
test eax, eax
je 0x1400181f0
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.140020d70
mov r14d, dword [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.140020bd0
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 0x1400182d8
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 0x140018284
mov r9d, 0x1388
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 0x1400182ce
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.1400201c0
test eax, eax
je 0x14001831a
xor r9d, r9d
mov r8d, dword [rsi]
lea rdx, str.DisableTPByGPIO
lea rcx, [rbp - 9]
call fcn.140021340
nop
lea rcx, [rbp - 0x11]
call fcn.140020070
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 0x140019c30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400512d0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov esi, r8d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0x30]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140019c70
mov eax, dword [0x140040d4c]
mov dword [rcx], eax
lea rcx, [rsp + 0x30]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140019c90
mov eax, dword [0x140044618]
movups xmm0, xmmword [str.SynCOM.dll]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [0x14004461c]
mov word [rcx + 0x14], ax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
cmp rax, 0x20
jae 0x140019cd4
xor eax, eax
jmp 0x140019d5b
lea rax, str.DllUnregisterServer
lea rdx, str.DllRegisterServer
test esi, esi
mov rcx, rdi
cmovne rdx, rax
mov qword [rsp + 0x260], rbx
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140019d07
call rax
jmp 0x140019d48
test byte [0x1400512b0], 2
je 0x140019d46
lea rax, str.Unregister
test esi, esi
lea r9, str.Register
cmovne r9, rax
lea rax, [rsp + 0x30]
lea r8, str.Fail_to__s__s
lea rcx, str.CEnhanceCallerService::SelfRegisterDll
mov edx, 2
mov qword [rsp + 0x20], rax
call fcn.1400205a0
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rbx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140021670
mov rsi, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x140019d80
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.140006d00
xor ebx, ebx
mov dword [rbp + 0x6f], ebx
cmp qword [rdi + 0x328], rbx
je 0x140019de3
mov rcx, qword [rdi + 0x328]
test rcx, rcx
jne 0x140019dcb
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 0x140019e73
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, [0x1400455e8]
lea rcx, [rbp - 0x21]
call fcn.14000e180
nop
call fcn.140013ae0
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rbx
mov word [rbp - 1], bx
cmp word [rax], 0
jne 0x140019e32
mov r8, rbx
jmp 0x140019e4b
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140019e40
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000e180
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 1]
mov rcx, rdi
call fcn.140018340
mov r8d, 1
call fcn.140019c30
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.14001ff50
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.1400201c0
test eax, eax
je 0x140019ebf
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, str.UnInstallRemoveUserSettings
lea rcx, [rbp + 0x27]
call fcn.140021340
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.14000e180
nop
call fcn.140013ae0
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rbx
mov word [rbp - 1], bx
cmp word [rax], 0
je 0x140019f1a
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140019f10
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000e180
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 1]
mov rcx, rdi
call fcn.140018340
call fcn.14001ae80
mov ecx, 0x3f
call fcn.140007790
lea rcx, str.HKLM_SoftwareSynapticsSynTPFilterHID
call fcn.1400070a0
lea rdx, [0x140040e20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
lea rcx, str.HKLM_SystemCurrentControlSetServicesSynTPEnhService
call fcn.1400070a0
mov rcx, rdi
call fcn.140019fb0
call fcn.14001deb0
mov rcx, rax
call fcn.14001ca20
nop
lea rcx, [rbp + 0x1f]
call fcn.140020070
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001bbd0
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 [0x1400512d0]
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.140013620
cmp word [rax], 0
je 0x14001bc64
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.140013620
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bc64
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x140054c10]
test al, 1
jne 0x14001bc85
or eax, 1
mov dword [0x140054c10], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140054e28], eax
jmp 0x14001bc8b
mov eax, dword [0x140054e28]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14001bcb1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x140054e28]
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 0x14001bce4
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 0x14001bcf6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14001bd05
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140021670
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x14001bd30
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 [0x1400512d0]
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.140013620
cmp word [rax], 0
je 0x14001bdc4
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.140013620
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bdc4
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x140054c14]
test al, 1
jne 0x14001bde5
or eax, 1
mov dword [0x140054c14], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140054e2c], eax
jmp 0x14001bdeb
mov eax, dword [0x140054e2c]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14001be11
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x140054e2c]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x70]
lea rcx, str.SynCom.PointingDevice
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x14001be44
xor edx, edx
lea r9, [0x1400439b0]
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 0x14001be56
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14001be65
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140021670
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret

Function at 0x14001c700
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, rdx
mov rdx, qword [rcx + 0x58]
xorps xmm0, xmm0
mov rdi, rcx
xor ecx, ecx
movzx esi, r8w
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14001c789
mov rcx, qword [rdi + 0x58]
mov edx, 2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rcx
xor ecx, ecx
lea r8d, [rdx - 1]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], dx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, rbx
movzx edx, si
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret