joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400766b0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
movss xmm0, dword [r8 + 0x2e7]
xorps xmm1, xmm1
mov rbx, r8
comiss xmm0, xmm1
jbe 0x14007677a
cmp dword [r8 + 0x2ef], 0
je 0x1400766e2
addss xmm0, dword [0x14012c43c]
jmp 0x1400766ea
subss xmm0, dword [0x14012c43c]
ucomiss xmm0, xmm1
movss dword [r8 + 0x2e7], xmm0
jp 0x1400766fa
je 0x140076757
lea rcx, [0x14026d730]
call fcn.140084d80
test eax, eax
je 0x14007674a
movzx eax, byte [rbx + 0x9b]
cmp al, 0xff
je 0x14007674a
mov edx, dword [rbx + 0x7f]
mov rcx, qword [0x14026e108]
movzx eax, al
movd xmm0, eax
mov r9d, 3
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rbx + 0x2e7]
divss xmm0, dword [rbx + 0x2eb]
cvttss2si r8, xmm0
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x14026e108]
call qword [sym.imp.USER32.dll_BringWindowToTop]
movss xmm0, dword [rbx + 0x2e7]
ucomiss xmm0, dword [rbx + 0x2eb]
jp 0x1400767d1
jne 0x1400767d1
mov dword [rbx + 0x2ef], 0
add rsp, 0x20
pop rbx
ret
cmp dword [r8 + 0x2af], 2
jne 0x1400767d1
test rbx, rbx
je 0x14007678e
mov rdx, rbx
jmp 0x140076795
lea edx, [r8 + 0x70f]
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rbx + 0x2f], 0
mov dword [rbx + 0x2af], 1
mov rcx, qword [0x14026e108]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [0x14026d648], 0
mov qword [0x14026d650], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140079300
Capabilities:
Delete file

Disassembly:
sub rsp, 0x48
lea rdx, [rcx + 0x48]
lea r8, str..syn
lea rcx, [rsp + 0x20]
call fcn.14002db30
cmp qword [rax + 0x18], 8
jb 0x140079323
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rsp + 0x38], 8
jb 0x14007933e
mov rcx, qword [rsp + 0x20]
call fcn.1400e4058
add rsp, 0x48
ret

Function at 0x140079350
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
lea rdx, [rcx + 0x48]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140007570
nop
movzx eax, word [str..syn]
neg ax
sbb r8, r8
and r8d, 4
lea rdx, str..syn
lea rcx, [rsp + 0x28]
call fcn.14000c900
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
cmp qword [rsp + 0x40], 8
jb 0x1400793d9
mov rcx, qword [rsp + 0x28]
call fcn.1400e4058
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x14007aa60
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp dword [rcx + 4], 0
je 0x14007ab10
cmp dword [rcx + 0xc], 0
je 0x14007ab10
lea rbx, [rcx + 0x30]
cmp qword [rbx + 0x18], 8
jb 0x14007aa93
mov rcx, qword [rbx]
jmp 0x14007aa96
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14007ab10
cmp qword [rbx + 0x18], 8
jb 0x14007aaaa
mov rbx, qword [rbx]
mov qword [rsp + 0x40], 7
xor r8d, r8d
mov qword [rsp + 0x38], r8
mov word [rsp + 0x28], r8w
cmp word [rbx], r8w
je 0x14007aadb
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14007aad0
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400076c0
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400da9b0
mov ebx, eax
cmp qword [rsp + 0x40], 8
jb 0x14007ab0c
mov rcx, qword [rsp + 0x28]
call fcn.1400e4058
mov eax, ebx
jmp 0x14007ab15
mov eax, 1
add rsp, 0x50
pop rbx
ret
Function at 0x14007c100
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, rcx
mov qword [rsp + 0x58], 7
xor esi, esi
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
lea rdx, [rcx + 0x30]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.140007570
nop
mov r8d, esi
cmp word [0x14012b748], r8w
setne r8b
lea rdx, [0x14012b748]
lea rcx, [rsp + 0x40]
call fcn.14000c900
movzx eax, word [str..syn]
neg ax
sbb r8, r8
and r8d, 4
lea rdx, str..syn
lea rcx, [rsp + 0x40]
call fcn.14000c900
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007c2c6
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp word [rbp - 0x64], si
jne 0x14007c1de
mov r8d, esi
jmp 0x14007c1fb
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14007c1f0
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.1400076c0
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14007c940
nop
cmp qword [rsp + 0x38], 8
jb 0x14007c22a
mov rcx, qword [rsp + 0x20]
call fcn.1400e4058
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14007c2bc
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp word [rbp - 0x64], 0
jne 0x14007c25f
mov r8, rsi
jmp 0x14007c27b
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14007c270
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.1400076c0
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14007c940
nop
cmp qword [rsp + 0x38], 8
jb 0x14007c2aa
mov rcx, qword [rsp + 0x20]
call fcn.1400e4058
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007c240
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x58], 8
jb 0x14007c2d8
mov rcx, qword [rsp + 0x40]
call fcn.1400e4058
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400839f0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
sub rsp, 0x440
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.1400e4220
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x230]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [rbx + 1]
lea rcx, [0x14012b750]
xor r8d, r8d
call fcn.1400df370
test eax, eax
jne 0x140083a69
lea r8d, [rbx + 0x10]
lea ecx, [rbx + 6]
xor edx, edx
call fcn.140083c60
mov ebx, eax
cmp word [rsp + 0x20], 0
je 0x140083a7c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, ebx
add rsp, 0x440
pop rbx
ret
Function at 0x140084620
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 [0x14026f008]
lea rsi, str.NO_INIT
test al, 1
jne 0x1400846eb
or eax, 1
mov dword [0x14026f008], eax
call fcn.140004e00
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140084686
mov ecx, 0x80004005
call fcn.140004c30
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x14026f000], rax
test rsi, 0xffffffffffff0000
jne 0x1400846c8
movzx ebx, si
xor edx, edx
mov ecx, ebx
call fcn.14000bbc0
test rax, rax
je 0x1400846de
mov r8d, ebx
mov rdx, rax
lea rcx, [0x14026f000]
call fcn.14000c050
jmp 0x1400846de
mov r8d, 7
mov rdx, rsi
lea rcx, [0x14026f000]
call fcn.14000c250
nop
lea rcx, [0x1401200a0]
call fcn.1400e52b0
nop
mov rdx, rbp
mov rax, qword [0x14026f000]
nop word [rax + rax]
movzx ecx, word [rax + rdx*2]
inc rdx
cmp cx, word [rsi + rdx*2 - 2]
jne 0x140084718
cmp rdx, 8
jne 0x140084700
mov ecx, ebp
jmp 0x14008471d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x140084840
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [0x14026f000]
call fcn.14000c250
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400c9420
nop
mov dword [rsp + 0x298], 0x208
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.1400e4220
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.1400c9590
test eax, eax
je 0x14008482f
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.1400dfda0
test eax, eax
je 0x14008482f
lea rcx, [rsp + 0x70]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400847c5
movups xmm0, xmmword [str.SynTPHelper.exe]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1401334a0]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [0x1401334b0]
mov word [rcx + 0x20], ax
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008482f
lea rdx, [rsp + 0x70]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140084810
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [0x14026f000]
call fcn.14000c250
nop
lea rcx, [rsp + 0x40]
call fcn.1400c9530
mov rax, qword [0x14026f000]
lea rcx, [rax - 0x18]
call fcn.14000bc70
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 0x140084880
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x9cc], 0
mov rbx, rcx
je 0x1400848df
cmp dword [rcx + 0x9d0], 0
je 0x1400848b7
mov rcx, qword [rcx + 0x920]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400848b7
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp dword [rbx + 0x1738], 0
jne 0x1400848df
xor eax, eax
lea r8, [0x14008aa10]
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 0x1400854f0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
cmp dword [rcx + 0x9d4], 0
mov edi, r8d
mov esi, edx
mov rbx, rcx
je 0x14008551a
xor eax, eax
jmp 0x140085609
call fcn.140084dc0
mov rcx, qword [rbx + 0x968]
test rcx, rcx
je 0x140085557
test edi, edi
jns 0x140085541
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140085557
mov edx, edi
call fcn.1400ddf70
test eax, eax
je 0x140085557
mov qword [rbx + 0x968], 0
mov rcx, qword [rbx + 0x960]
test rcx, rcx
je 0x140085604
test esi, esi
je 0x140085604
test edi, edi
jns 0x1400855ee
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.1400b0550
lea rcx, [rsp + 0x38]
mov edx, 0x104
mov r8, qword [rax]
call fcn.1400e59b4
mov rdx, qword [rsp + 0x250]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400855c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400c86f0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0x960]
xor r9d, r9d
lea edx, [r9 + 0x10]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140085604
mov edx, edi
call fcn.1400ddf70
test eax, eax
je 0x140085604
mov qword [rbx + 0x960], 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 0x140087260
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.1400dc0c0
xor ebp, ebp
cmp eax, 0xb
jl 0x14008732a
cmp word [rdi + 0x1a0], bp
je 0x14008732a
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400c9420
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.1400c9590
test eax, eax
je 0x14008731a
lea rdx, [rdi + 0x5b0]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, [rsp + 0x298]
lea rcx, [rsp + 0x40]
call fcn.1400dfc90
test eax, eax
je 0x14008731a
mov dword [rdi + 0x1790], ebp
cmp dword [rsp + 0x298], ebp
jne 0x14008731c
mov esi, ebp
mov ebx, ebp
lea rcx, [rsp + 0x38]
call fcn.1400c9530
test esi, esi
je 0x14008735d
cmp dword [rdi + 0x1790], 0
je 0x14008735d
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.140086270
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 0x140087520
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.1400c9420
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.1400c9590
test eax, eax
je 0x14008769f
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x2d8]
lea r8, [rsp + 0x2d8]
lea rdx, str.EnhancementLaunchMode
lea rcx, [rsp + 0x80]
call fcn.1400dfc90
test byte [rsp + 0x2d8], 1
je 0x14008769f
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 0x14008769f
lea r9, [0x140122f58]
lea r8, [0x14012fd40]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400dd3b0
cmp qword [rax + 0x18], 8
jb 0x14008760f
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.1400e5e60
cmp qword [rsp + 0x70], 8
jb 0x140087646
mov rcx, qword [rsp + 0x58]
call fcn.1400e4058
mov r8d, 4
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14008766d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140087687
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140087687
cmp dword [rsp + 0x34], 4
cmove ebx, ebp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x14008769f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x78]
call fcn.1400c9530
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 0x140089f00
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 0x14008a07e
call fcn.140004e00
mov rcx, rax
xor r8d, r8d
test rax, rax
setne r8b
test r8d, r8d
jne 0x140089f5b
mov ecx, 0x80004005
call fcn.140004c30
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 0x140089f8f
mov rbp, 0xffffffff80000003
mov r8d, 0x1c
lea rdx, str..DEFAULTControl_PanelMouse
jmp 0x140089fa3
mov rbp, 0xffffffff80000001
mov r8d, 0x13
lea rdx, str.Control_PanelMouse
call fcn.14000c250
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400c9420
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.1400c9590
test eax, eax
je 0x14008a05f
mov qword [rsp + 0x28], 0
lea rax, [0x1401335d4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x38]
lea rdx, str.SwapMouseButtons
lea rcx, [rsp + 0x58]
call fcn.1400dfda0
test eax, eax
je 0x14008a05f
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400e6698
mov esi, eax
mov eax, dword [rdi + 0x1620]
sub eax, 0x237c
cmp eax, 1
ja 0x14008a05f
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, eax
je 0x14008a05f
mov ecx, esi
call qword [sym.imp.USER32.dll_SwapMouseButton]
nop
lea rcx, [rsp + 0x50]
call fcn.1400c9530
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008a07e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rdi + 0x1620]
sub eax, 0x237c
cmp eax, 1
jbe 0x14008a097
cmp dword [rdi + 0x9b0], 0
je 0x14008a0a1
mov edx, esi
mov rcx, rdi
call fcn.14008a280
mov rcx, qword [rdi + 0x1640]
test rcx, rcx
jne 0x14008a0b4
lea rcx, [rdi + 0x1648]
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 0x14008aa80
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 0x14008ab55
dec edx
jne 0x14008ac36
lea rcx, [rsp + 0x38]
call fcn.1400c9420
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.1400c9590
test eax, eax
jne 0x14008aaf7
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x14008aac0
lea rcx, [rsp + 0x38]
call fcn.1400c9530
mov rcx, qword [rbx + 0x1640]
test rcx, rcx
jne 0x14008ab14
lea rcx, [rbx + 0x1648]
mov rax, qword [rcx]
mov edx, 0x80002010
call qword [rax + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140087f30
test eax, eax
je 0x14008ab41
lea rcx, [rbx + 0x17e0]
mov edx, 1
call fcn.14002c660
lea rcx, [rbx + 0x17e0]
or edx, 0xffffffff
call fcn.14002bc20
jmp 0x14008ac36
cmp dword [rcx + 0x16c8], 0
je 0x14008ab70
mov edx, 0xfffd
mov rcx, qword [0x14026e108]
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x17e0]
or edx, 0xffffffff
call fcn.14002bb00
cmp dword [rbx + 0x9d4], 0
jne 0x14008ac36
mov rcx, rbx
call fcn.140084dc0
mov rcx, qword [rbx + 0x968]
test rcx, rcx
je 0x14008abb0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, qword [rbx + 0x960]
test rax, rax
je 0x14008ac36
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.1400b0550
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rsp + 0x78]
call fcn.1400e59b4
mov rdx, qword [rsp + 0x2a0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008ac0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x70]
lea rcx, [0x1400c86f0]
call qword [sym.imp.USER32.dll_EnumWindows]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x960]
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 0x14008bf00
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.1400dc0c0
cmp eax, 7
jl 0x14008bfb5
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 0x14008bf40
mov ecx, dword [0x140132b48]
movups xmm0, xmmword [str.WtsApi32.dll]
movsd xmm1, qword [0x140132b40]
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 0x14008bf9b
lea rdx, str.WTSRegisterSessionNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14008bf9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14008bfb7
mov rcx, qword [rsi + 0x9d8]
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 0x14008bfe0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x230
mov rdi, rcx
xor ecx, ecx
call fcn.1400dc0c0
cmp eax, 7
jl 0x14008c09d
cmp qword [rdi + 0x9d8], 0
je 0x14008c09d
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 0x14008c030
mov ecx, dword [0x140132b48]
movups xmm0, xmmword [str.WtsApi32.dll]
movsd xmm1, qword [0x140132b40]
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 0x14008c095
lea rdx, str.WTSUnRegisterSessionNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008c08c
mov rcx, qword [rdi + 0x9d8]
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 0x14008cf30
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.140031330
cmp word [rax], 0
je 0x14008cfc0
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.140031330
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008cfc0
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x14026efdc]
test al, 1
jne 0x14008cfe1
or eax, 1
mov dword [0x14026efdc], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14026efd8], eax
jmp 0x14008cfe7
mov eax, dword [0x14026efd8]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14008d00d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x14026efd8]
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 0x14008d04d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14008d05c
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