joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400844f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov eax, dword [0x140272108]
lea rsi, str.NO_INIT
test al, 1
jne 0x1400845bb
or eax, 1
mov dword [0x140272108], eax
call fcn.140004f70
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140084556
mov ecx, 0x80004005
call fcn.140004f20
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140272100], rax
test rsi, 0xffffffffffff0000
jne 0x140084598
movzx ebx, si
xor edx, edx
mov ecx, ebx
call fcn.14000b7c0
test rax, rax
je 0x1400845ae
mov r8d, ebx
mov rdx, rax
lea rcx, [0x140272100]
call fcn.14000bc50
jmp 0x1400845ae
mov r8d, 7
mov rdx, rsi
lea rcx, [0x140272100]
call fcn.14000be50
nop
lea rcx, [0x140121e40]
call fcn.1400e6f70
nop
mov rdx, rbp
mov rax, qword [0x140272100]
nop word [rax + rax]
movzx ecx, word [rax + rdx*2]
inc rdx
cmp cx, word [rsi + rdx*2 - 2]
jne 0x1400845e8
cmp rdx, 8
jne 0x1400845d0
mov ecx, ebp
jmp 0x1400845ed
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x140084710
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [0x140272100]
call fcn.14000be50
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400ca710
nop
mov dword [rsp + 0x298], 0x208
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.1400e5ee0
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400ca880
test eax, eax
je 0x1400846ff
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x298]
lea r8, [rsp + 0x70]
lea rdx, str.ProgDir
lea rcx, [rsp + 0x48]
call fcn.1400e17a0
test eax, eax
je 0x1400846ff
lea rcx, [rsp + 0x70]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140084695
movups xmm0, xmmword [str.SynTPHelper.exe]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140135958]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [0x140135968]
mov word [rcx + 0x20], ax
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400846ff
lea rdx, [rsp + 0x70]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400846e0
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [0x140272100]
call fcn.14000be50
nop
lea rcx, [rsp + 0x40]
call fcn.1400ca820
mov rax, qword [0x140272100]
lea rcx, [rax - 0x18]
call fcn.14000b870
add rax, 0x18
mov qword [rdi], rax
mov rax, rdi
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140084750
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x9d4], 0
mov rbx, rcx
je 0x1400847af
cmp dword [rcx + 0x9d8], 0
je 0x140084787
mov rcx, qword [rcx + 0x928]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140084787
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp dword [rbx + 0x1768], 0
jne 0x1400847af
xor eax, eax
lea r8, [0x14008aa00]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400853c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
cmp dword [rcx + 0x9dc], 0
mov edi, r8d
mov esi, edx
mov rbx, rcx
je 0x1400853ea
xor eax, eax
jmp 0x1400854d9
call fcn.140084c90
mov rcx, qword [rbx + 0x970]
test rcx, rcx
je 0x140085427
test edi, edi
jns 0x140085411
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140085427
mov edx, edi
call fcn.1400df7b0
test eax, eax
je 0x140085427
mov qword [rbx + 0x970], 0
mov rcx, qword [rbx + 0x968]
test rcx, rcx
je 0x1400854d4
test esi, esi
je 0x1400854d4
test edi, edi
jns 0x1400854be
mov qword [rsp + 0x30], rcx
xor r8d, r8d
lea rcx, [rsp + 0x250]
xor r9d, r9d
mov edx, reloc.OLEAUT32.dll_VarDecFix
mov dword [rsp + 0x20], r8d
call fcn.1400b1560
lea rcx, [rsp + 0x38]
mov edx, 0x104
mov r8, qword [rax]
call fcn.1400e7674
mov rdx, qword [rsp + 0x250]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140085493
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400c99e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0x968]
xor r9d, r9d
lea edx, [r9 + 0x10]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400854d4
mov edx, edi
call fcn.1400df7b0
test eax, eax
je 0x1400854d4
mov qword [rbx + 0x968], 0
mov eax, 1
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140087130
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rcx
mov ebx, 1
mov esi, ebx
xor ecx, ecx
call fcn.1400dd550
xor ebp, ebp
cmp eax, 0xb
jl 0x1400871fa
cmp word [rdi + 0x1a0], bp
je 0x1400871fa
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400ca710
nop
mov dword [rsp + 0x298], ebp
lea r8, [rdi + 0x3a8]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x38]
call fcn.1400ca880
test eax, eax
je 0x1400871ea
lea rdx, [rdi + 0x5b0]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, [rsp + 0x298]
lea rcx, [rsp + 0x40]
call fcn.1400e1690
test eax, eax
je 0x1400871ea
mov dword [rdi + 0x17c0], ebp
cmp dword [rsp + 0x298], ebp
jne 0x1400871ec
mov esi, ebp
mov ebx, ebp
lea rcx, [rsp + 0x38]
call fcn.1400ca820
test esi, esi
je 0x14008722d
cmp dword [rdi + 0x17c0], 0
je 0x14008722d
lea rcx, [rdi + 0x1a0]
mov r8d, 0x104
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140086140
test eax, eax
cmove ebx, ebp
mov eax, ebx
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140087410
Capabilities:
Query service status

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400ca710
nop
xor ebx, ebx
mov dword [rsp + 0x2d8], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x78]
call fcn.1400ca880
test eax, eax
je 0x14008758f
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x2d8]
lea r8, [rsp + 0x2d8]
lea rdx, str.EnhancementLaunchMode
lea rcx, [rsp + 0x80]
call fcn.1400e1690
test byte [rsp + 0x2d8], 1
je 0x14008758f
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov ebp, 1
mov r8d, ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14008758f
lea r9, [0x140124f70]
lea r8, [0x140132220]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400de840
cmp qword [rax + 0x18], 8
jb 0x1400874ff
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, str.SynTPEnhService
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1400e7b20
cmp qword [rsp + 0x70], 8
jb 0x140087536
mov rcx, qword [rsp + 0x58]
call fcn.1400e5d14
mov r8d, 4
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14008755d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140087577
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140087577
cmp dword [rsp + 0x34], 4
cmove ebx, ebp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x14008758f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x78]
call fcn.1400ca820
mov eax, ebx
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140089eb0
Capabilities:
Swap mouse buttons

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov ebx, r8d
mov ebp, edx
mov rdi, rcx
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
test ebx, ebx
je 0x14008a02e
call fcn.140004f70
mov rcx, rax
xor r8d, r8d
test rax, rax
setne r8b
test r8d, r8d
jne 0x140089f0b
mov ecx, 0x80004005
call fcn.140004f20
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xb8]
test ebp, ebp
jne 0x140089f3f
mov rbp, 0xffffffff80000003
mov r8d, 0x1c
lea rdx, str..DEFAULTControl_PanelMouse
jmp 0x140089f53
mov rbp, 0xffffffff80000001
mov r8d, 0x13
lea rdx, str.Control_PanelMouse
call fcn.14000be50
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400ca710
nop
mov dword [rsp + 0xb0], 0x14
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rbx, qword [rsp + 0xb8]
mov r8, rbx
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.1400ca880
test eax, eax
je 0x14008a00f
mov qword [rsp + 0x28], 0
lea rax, [0x140135a94]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x38]
lea rdx, str.SwapMouseButtons
lea rcx, [rsp + 0x58]
call fcn.1400e17a0
test eax, eax
je 0x14008a00f
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400e8358
mov esi, eax
mov eax, dword [rdi + 0x1650]
sub eax, 0x237c
cmp eax, 1
ja 0x14008a00f
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, eax
je 0x14008a00f
mov ecx, esi
call qword [sym.imp.USER32.dll_SwapMouseButton]
nop
lea rcx, [rsp + 0x50]
call fcn.1400ca820
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008a02e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rdi + 0x1650]
sub eax, 0x237c
cmp eax, 1
jbe 0x14008a047
cmp dword [rdi + 0x9b8], 0
je 0x14008a051
mov edx, esi
mov rcx, rdi
call fcn.14008a290
mov rcx, qword [rdi + 0x1670]
test rcx, rcx
jne 0x14008a064
lea rcx, [rdi + 0x1678]
mov rax, qword [rcx]
mov r8d, esi
mov edx, 0x1000097
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0x40]
Function at 0x14008aa70
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, rcx
dec edx
je 0x14008ab45
dec edx
jne 0x14008ac26
lea rcx, [rsp + 0x38]
call fcn.1400ca710
nop
xor esi, esi
mov edi, esi
nop
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.SOFTWARE
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x38]
call fcn.1400ca880
test eax, eax
jne 0x14008aae7
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x14008aab0
lea rcx, [rsp + 0x38]
call fcn.1400ca820
mov rcx, qword [rbx + 0x1670]
test rcx, rcx
jne 0x14008ab04
lea rcx, [rbx + 0x1678]
mov rax, qword [rcx]
mov edx, 0x80002010
call qword [rax + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140087e40
test eax, eax
je 0x14008ab31
lea rcx, [rbx + 0x1810]
mov edx, 1
call fcn.14002b7c0
lea rcx, [rbx + 0x1810]
or edx, 0xffffffff
call fcn.14002ada0
jmp 0x14008ac26
cmp dword [rcx + 0x16fc], 0
je 0x14008ab60
mov edx, 0xfffd
mov rcx, qword [0x1402711c0]
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x1810]
or edx, 0xffffffff
call fcn.14002ac80
cmp dword [rbx + 0x9dc], 0
jne 0x14008ac26
mov rcx, rbx
call fcn.140084c90
mov rcx, qword [rbx + 0x970]
test rcx, rcx
je 0x14008aba0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, qword [rbx + 0x968]
test rax, rax
je 0x14008ac26
mov qword [rsp + 0x70], rax
xor r8d, r8d
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov edx, reloc.OLEAUT32.dll_VarDecFix
lea rcx, [rsp + 0x2a0]
call fcn.1400b1560
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rsp + 0x78]
call fcn.1400e7674
mov rdx, qword [rsp + 0x2a0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008abfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x70]
lea rcx, [0x1400c99e0]
call qword [sym.imp.USER32.dll_EnumWindows]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x968]
call qword [sym.imp.USER32.dll_PostMessageW]
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14008bf90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov rsi, rcx
xor ecx, ecx
xor edi, edi
call fcn.1400dd550
cmp eax, 7
jl 0x14008c045
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rsp + 0x20]
sub rax, 2
cmp word [rax + 2], di
lea rax, [rax + 2]
jne 0x14008bfd0
mov ecx, dword [0x140134fe0]
movups xmm0, xmmword [str.WtsApi32.dll]
movsd xmm1, qword [0x140134fd8]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14008c02b
lea rdx, str.WTSRegisterSessionNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14008c02f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14008c047
mov rcx, qword [rsi + 0x9e0]
xor edx, edx
call rax
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14008c070
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x230
mov rdi, rcx
xor ecx, ecx
call fcn.1400dd550
cmp eax, 7
jl 0x14008c12d
cmp qword [rdi + 0x9e0], 0
je 0x14008c12d
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov qword [rsp + 0x240], rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rsp + 0x20]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x14008c0c0
mov ecx, dword [0x140134fe0]
movups xmm0, xmmword [str.WtsApi32.dll]
movsd xmm1, qword [0x140134fd8]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14008c125
lea rdx, str.WTSUnRegisterSessionNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008c11c
mov rcx, qword [rdi + 0x9e0]
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
Function at 0x14008cfc0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x90], rax
or rbx, 0xffffffffffffffff
call fcn.140030d10
cmp word [rax], 0
je 0x14008d050
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x40], 0x38
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
mov qword [rsp + 0x70], rax
call fcn.140030d10
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008d050
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x1402720dc]
test al, 1
jne 0x14008d071
or eax, 1
mov dword [0x1402720dc], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1402720d8], eax
jmp 0x14008d077
mov eax, dword [0x1402720d8]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14008d09d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x1402720d8]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, str.c_a2A
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x14008d0dd
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14008d0ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140090780
Capabilities:
Accept command line arguments

Disassembly:
mov qword [0x1402707b8], rcx
mov qword [0x1402707c0], rdx
lea rcx, [0x140270750]
mov edx, r9d
mov qword [0x1402707c8], r8
mov dword [0x1402707d0], r9d
jmp 0x140090780
push rbx
sub rsp, 0x30
cmp byte [0x14027072b], 0
mov rbx, rcx
je 0x14009079b
or eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
mov qword [rsp + 0x40], rdi
call qword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400907d8
cmp eax, 0x80010106
jne 0x140090834
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400907dc
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
mov byte [rbx + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov rdx, rax
call fcn.14008f100
cmp al, 1
jne 0x140090824
mov eax, dword [rbx + 0x80]
mov r9, qword [rbx + 0x78]
mov r8, qword [rbx + 0x70]
mov rdx, qword [rbx + 0x68]
lea rcx, [0x1402707e0]
mov dword [rsp + 0x20], eax
call fcn.140087730
mov rcx, rbx
call fcn.14008f5e0
mov edi, eax
jmp 0x140090828
mov edi, dword [rsp + 0x50]
cmp byte [rbx + 0x62], 0
je 0x140090834
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x14009a1a0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rbx, rcx
call fcn.14009ec50
xor edi, edi
cmp qword [rbx + 0x68], rdi
je 0x14009a2af
xor r8d, r8d
lea edx, [rdi + 3]
lea rcx, [0x140271ff0]
call fcn.14002c550
test rax, rax
jne 0x14009a1fe
lea edx, [rdi + 3]
lea r8d, [rdi + 1]
lea rcx, [0x140271ff0]
call fcn.14002c550
test rax, rax
je 0x14009a292
mov rcx, rax
call fcn.140032260
test eax, eax
je 0x14009a292
test byte [rbx + 0xc], 0x40
mov edx, 5
cmovne edx, edi
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400ca710
nop
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2001f
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnhShortcutConfig
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x38]
call fcn.1400ca880
test eax, eax
je 0x14009a274
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, str.CheckForcePadShortcut
lea rcx, [rsp + 0x40]
call fcn.1400e1af0
mov edx, 8
lea rcx, [0x1402707e0]
call fcn.140086420
nop
lea rcx, [rsp + 0x38]
call fcn.1400ca820
jmp 0x14009a2af
xor edx, edx
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 4
lea rcx, [0x1402707e0]
call fcn.140086420
mov rax, qword [0x140271ff8]
test rax, rax
je 0x14009a3b4
cmp qword [rax], 0
je 0x14009a3b4
cmp dword [rbx + 0x54c], 0
je 0x14009a2df
mov rcx, rbx
call fcn.14009d470
jmp 0x14009a3d8
cmp dword [rbx + 0x598], 0
jne 0x14009a3d8
mov dword [rbx + 0x44], edi
cmp dword [rbx + 0x590], 0
je 0x14009a341
lea rcx, [0x140271ff0]
call fcn.14000ba30
test rax, rax
jne 0x14009a31a
lea rcx, [0x140271ff0]
call fcn.140030a10
test rax, rax
je 0x14009a325
mov rcx, rax
call fcn.140031fa0
mov dword [rbx + 0x44], eax
lea rcx, [0x140271ff0]
call fcn.14008e7c0
test rax, rax
je 0x14009a341
mov rcx, rax
call fcn.140031fa0
or dword [rbx + 0x44], eax
cmp dword [rbx + 0x44], 0
je 0x14009a35e
test byte [rbx + 0xc], 0x20
jne 0x14009a35e
mov rdx, qword [rbx + 0xd8]
mov rcx, rbx
call fcn.14009d390
jmp 0x14009a3d8
mov eax, dword [rbx + 0xc]
test al, 0x20
je 0x14009a392
test al, 0x10
je 0x14009a373
mov rcx, rbx
call fcn.14009d350
jmp 0x14009a3d8
test al, 1
je 0x14009a3d8
mov rcx, rbx
test byte [rbx + 0x5a8], 0x20
je 0x14009a36c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.14009c7a0
jmp 0x14009a3d8
test al, 1
je 0x14009a369
mov rcx, rbx
test al, 0x10
je 0x14009a3a6
cmp dword [rbx + 0x56c], 0
je 0x14009a383
mov rdx, qword [rbx + 0xe0]
call fcn.14009d390
jmp 0x14009a3d8
lea rdx, [rbx + 0x178]
mov ecx, 2
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
jne 0x14009a3d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14009a3d8
mov dword [rbx + 0x48], edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x14009a7d0
Capabilities:
Check if file exists

Disassembly:
cmp dword [rcx + 0x594], 0
mov r8, rcx
je 0x14009a831
cmp dword [rcx + 0x598], 0
je 0x14009a831
lea rax, [0x1401246c4]
mov rdx, rcx
mov dword [rcx + 0x598], 0
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
lea rax, [rax + 2]
mov word [rdx + rax + 0x2a6], cx
test cx, cx
jne 0x14009a800
mov eax, dword [r8 + 0x5a8]
test al, 0x20
je 0x14009a829
and eax, 0xffffffdf
mov dword [r8 + 0x5a8], eax
mov rcx, r8
jmp fcn.14009a1a0
ret

Function at 0x14009cfd0
Capabilities:
Find taskbar

Disassembly:
sub rsp, 0x28
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14009d04b
lea r8, str.TrayNotifyWnd
xor r9d, r9d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
je 0x14009d046
lea r8, str.SysPager
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
xor r9d, r9d
xor edx, edx
lea r8, str.ToolbarWindow32
mov rcx, rax
test rax, rax
jne 0x14009d036
mov rcx, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x14009d350
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, [rcx + 0x178]
mov rbx, rcx
mov ecx, 2
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
jne 0x14009d37a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14009d381
mov dword [rbx + 0x48], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14009d390
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
mov rdi, rcx
mov qword [rcx + 0x198], rdx
jne 0x14009d3be
lea rdx, [rcx + 0x178]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [rdi + 0x48], eax
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov ebx, 0x64
nop dword [rax]
lea rdx, [rdi + 0x178]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
jne 0x14009d44c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x64
cmp ebx, 0x44c
jl 0x14009d3d0
lea rdx, [rdi + 0x178]
mov ecx, 2
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
jne 0x14009d41a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14009d421
mov dword [rdi + 0x48], 0
cmp dword [rdi + 0x48], 0
jne 0x14009d439
lea rdx, [rdi + 0x178]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov dword [rdi + 0x48], eax
mov eax, dword [rdi + 0x48]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov dword [rdi + 0x48], 1
mov eax, 1
add rsp, 0x20
pop rdi
ret