joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e3d0
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.140030ce0
cmp word [rax], 0
je 0x14002e460
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.140030ce0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e460
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x14027046c]
test al, 1
jne 0x14002e481
or eax, 1
mov dword [0x14027046c], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140270468], eax
jmp 0x14002e487
mov eax, dword [0x140270468]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e4ad
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x140270468]
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, [0x14012a178]
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 0x14002e4ed
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e4fc
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 0x14002e520
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.140030ce0
cmp word [rax], 0
je 0x14002e5b0
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.140030ce0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e5b0
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x140270474]
test al, 1
jne 0x14002e5d1
or eax, 1
mov dword [0x140270474], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140270470], eax
jmp 0x14002e5d7
mov eax, dword [0x140270470]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e5fd
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x140270470]
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, [0x14012a188]
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 0x14002e63d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e64c
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 0x14002e670
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.140030ce0
cmp word [rax], 0
je 0x14002e700
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.140030ce0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e700
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x140270464]
test al, 1
jne 0x14002e721
or eax, 1
mov dword [0x140270464], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140270460], eax
jmp 0x14002e727
mov eax, dword [0x140270460]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e74d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x140270460]
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, [0x14012a168]
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 0x14002e78d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e79c
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 0x14002e7c0
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.140030ce0
cmp word [rax], 0
je 0x14002e850
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.140030ce0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e850
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x14027045c]
test al, 1
jne 0x14002e871
or eax, 1
mov dword [0x14027045c], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140270458], eax
jmp 0x14002e877
mov eax, dword [0x140270458]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e89d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x140270458]
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, [0x14012a158]
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 0x14002e8dd
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e8ec
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 0x140031400
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rbx, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x140031623
test r8, r8
je 0x140031623
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140031623
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.14000b1a0
nop
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x30]
call fcn.14000b1a0
nop
test rbx, rbx
jne 0x140031484
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rbx, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b1a0
nop
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.14000b1a0
nop
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x68]
call fcn.14000b1a0
nop
mov dword [rdi + 0xcc], 0
lea rcx, [rdi + 0x98]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400314d0
mov r8d, eax
mov rdx, rsi
call fcn.14000be20
lea rcx, [rdi + 0x90]
mov rax, rbx
nop
inc rax
cmp word [rbp + rax*2], 0
jne 0x1400314f0
mov r8d, eax
mov rdx, rbp
call fcn.14000be20
mov rax, qword [rsp + 0x28]
cmp dword [rax - 0x10], 0
je 0x140031522
lea rcx, [rdi + 0xa0]
lea rdx, [rsp + 0x28]
call fcn.140034a60
mov rax, qword [rsp + 0x38]
cmp dword [rax - 0x10], 0
je 0x14003153b
lea rcx, [rdi + 0x30]
lea rdx, [rsp + 0x38]
call fcn.140034a60
mov rax, qword [rsp + 0x30]
cmp dword [rax - 0x10], 0
je 0x14003155e
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.140034a60
mov dword [rdi + 0xcc], 1
mov rax, qword [rsp + 0x20]
cmp dword [rax - 0x10], 0
je 0x14003159a
lea rcx, [rdi + 0x50]
lea rdx, [rsp + 0x20]
call fcn.140034a60
mov rax, qword [rsp + 0x68]
cmp dword [rax - 0x10], 0
je 0x14003159a
lea rcx, [rdi + 0x70]
lea rdx, [rsp + 0x68]
call fcn.140034a60
mov dword [rdi + 0xcc], 0x100
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400315b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400315ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400315e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140031602
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14003161c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
jmp 0x140031625
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140037ab0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, rdx
mov rdi, rcx
xor r8d, r8d
mov rcx, rax
xor edx, edx
call fcn.1400aab30
mov ebx, eax
bt eax, 0x12
jae 0x140037aee
mov rcx, rdi
call fcn.140037fe0
test al, al
je 0x140037aee
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
bt ebx, 0x13
jae 0x140037b00
mov rcx, rdi
call fcn.140037f60
test al, al
jne 0x140037ae1
bt ebx, 0x14
jae 0x140037b2b
xor ecx, ecx
call fcn.1400dd570
cmp eax, 0xb
jl 0x140037b2b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [str.SearchPane]
mov rcx, rax
call fcn.1400e2250
test al, al
jne 0x140037ae1
bt ebx, 0x16
jae 0x140037b4b
lea rcx, [0x140038330]
mov rdx, rdi
mov byte [rdi + 0x28], 0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rdi + 0x28], 0
jne 0x140037ae1
bt ebx, 0x15
jae 0x140037b5d
mov rcx, rdi
call fcn.140038110
test al, al
jne 0x140037ae1
test ebx, 0x1800000
mov rbx, qword [rsp + 0x30]
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x140037f60
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call fcn.1400dd570
cmp eax, 0xa
jl 0x140037fcb
mov rcx, rbx
call fcn.1400381f0
mov dword [rbx + 0x1c], eax
cmp eax, 0xffffffff
je 0x140037fcb
lea rcx, [0x140038280]
mov rdx, rbx
mov byte [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx + 0x20], 0
je 0x140037fb0
mov al, 1
add rsp, 0x20
pop rbx
ret
cmp byte [rbx + 0x18], 0
je 0x140037fcb
movsxd rax, dword [rbx + 0x1c]
lea rcx, [0x1401f1a5a]
shl rax, 4
cmp byte [rax + rcx], 0
jne 0x140037fa8
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140037fe0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x238
xor ecx, ecx
call fcn.1400dd570
cmp eax, 0xb
jge 0x140037ffd
xor al, al
add rsp, 0x238
ret
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x230], rbx
mov word [rsp + 0x20], ax
call fcn.1400e5f00
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, [rsp + 0x20]
mov rcx, rax
mov r8d, 0x104
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x20], 0
je 0x140038083
mov rdx, qword [str.NativeHWNDHost]
mov rcx, rbx
call fcn.1400e2250
test al, al
je 0x140038083
mov rcx, qword [str.Charm_Bar]
lea rdx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400e7d60
test eax, eax
jne 0x140038083
mov al, 1
mov rbx, qword [rsp + 0x230]
add rsp, 0x238
ret
xor al, al
mov rbx, qword [rsp + 0x230]
add rsp, 0x238
ret
Function at 0x1400381f0
Capabilities:
Get keyboard layout

Disassembly:
mov r11, rsp
sub rsp, 0x78
xor eax, eax
lea rdx, [r11 - 0x58]
xor ecx, ecx
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x20], 0x48
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
mov rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r8d, dword [0x1401f1a48]
mov rdx, rax
xor eax, eax
shr edx, 0x10
test r8d, r8d
jle 0x140038271
lea rcx, [0x1401f1a58]
cmp dx, word [rcx]
je 0x140038274
inc eax
add rcx, 0x10
cmp eax, r8d
jl 0x140038261
or eax, 0xffffffff
add rsp, 0x78
ret
Function at 0x14003ab70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x240
lea rbp, [rcx + 0x28c0]
mov rbx, rcx
mov edi, r9d
mov rcx, rbp
mov r14d, r8d
movzx esi, dx
call fcn.140039700
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
mov r15d, eax
call fcn.1400e5f00
lea rcx, [rdi + 0xde]
lea rdx, [rsp + 0x30]
lea r9, [rcx + rcx*2]
mov r8d, 0x104
add r9, r9
mov ecx, dword [rbx + r9*8]
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
movzx edx, si
mov rcx, rbp
call fcn.140039700
test eax, eax
jle 0x14003ac00
test r14d, r14d
je 0x14003abfa
inc dword [rbp + 0x30c8]
jmp 0x14003ac00
dec dword [rbp + 0x30c8]
test r15d, r15d
je 0x14003acbe
cmp word [rsp + 0x30], 0
je 0x14003ad0e
lea rsi, [0x14012b6a4]
mov eax, 0x7b
xor edi, edi
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx + 0x5990]
mov rcx, qword [rbx + 0x5998]
movsxd r9, eax
mov r8d, 0x102
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_CallWindowProcW]
movzx eax, word [rsi + 2]
lea rsi, [rsi + 2]
test eax, eax
jne 0x14003ac30
movzx eax, word [rsp + 0x30]
lea rsi, [rsp + 0x30]
test eax, eax
je 0x14003ac9e
nop dword [rax]
mov rdx, qword [rbx + 0x5990]
mov rcx, qword [rbx + 0x5998]
movsxd r9, eax
mov r8d, 0x102
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_CallWindowProcW]
movzx eax, word [rsi + 2]
lea rsi, [rsi + 2]
test eax, eax
jne 0x14003ac70
lea rax, [0x14012b6a8]
cmp r14d, 1
lea rdx, str._UP
cmove rdx, rax
mov rcx, rbx
call fcn.14003ad40
jmp 0x14003ad0e
cmp r14d, 1
jne 0x14003ad0e
movzx eax, word [rsp + 0x30]
lea rsi, [rsp + 0x30]
test eax, eax
je 0x14003ad0e
xor edi, edi
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x5990]
mov rcx, qword [rbx + 0x5998]
movsxd r9, eax
mov r8d, 0x102
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_CallWindowProcW]
movzx eax, word [rsi + 2]
lea rsi, [rsi + 2]
test eax, eax
jne 0x14003ace0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140042810
Capabilities:
Find taskbar
Get keyboard layout

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x148], rbx
mov rbx, rcx
mov dword [rcx + 8], 2
lea rax, vtable.CPluginAction.0
mov qword [rcx], rax
add rcx, 0x68
mov edx, 0x200
call fcn.14004e4d0
nop
mov dword [rbx + 0x98], 4
lea rax, vtable.CSynList_class_CPluginAction::CActionTracker_.0
mov qword [rbx + 0xb8], rax
lea rcx, [rbx + 0xd8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0xd4], 1
xor edi, edi
mov qword [rbx + 0xc0], rdi
mov qword [rbx + 0xc8], rdi
mov dword [rbx + 0xd0], edi
lea rax, vtable.CPluginAction::CActionTrackerList.0
mov qword [rbx + 0xb8], rax
lea rcx, [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rcx, [rbx + 0x128]
call fcn.140034b30
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140042927
lea edx, [rdi + 5]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rbx + 0x18], rax
mov r8d, 0x80
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
mov eax, edi
lea rdx, [rsp + 0x30]
lea r8, str.Button
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140042927
cmp rax, 7
jne 0x140042910
jmp 0x14004292b
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x10], rdi
mov rcx, rbx
call fcn.140049030
mov qword [rbx + 0x60], rdi
mov dword [rbx + 0x50], 0x4b
mov dword [rbx + 0x4c], 0x1f4
mov dword [rbx + 0x54], edi
mov qword [rbx + 0x38], rdi
mov qword [rbx + 0x44], rdi
mov qword [rbx + 0x78], rdi
mov dword [rbx + 0x90], edi
mov dword [rbx + 0x40], edi
mov dword [rbx + 0x94], 0xc
mov qword [rbx + 0xa8], rdi
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0x58], rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rbx + 0xa0], rax
mov rax, rbx
mov rbx, qword [rsp + 0x148]
add rsp, 0x130
pop rdi
ret
Function at 0x14004df30
Capabilities:
Get keyboard layout

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
xor eax, eax
mov ebx, edx
mov rsi, rcx
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
lea rdx, [r11 - 0x58]
xor ecx, ecx
mov dword [rsp + 0x20], 0x48
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
mov rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, eax
mov ebp, eax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdi, rax
test ebx, ebx
je 0x14004dfe4
mov rcx, rax
call sub.IMM32.dll_ImmIsIME
test eax, eax
je 0x14004e013
lea rcx, [0x14012dc70]
mov edx, 1
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test rax, rax
je 0x14004e013
mov rcx, qword [rsp + 0x28]
mov edx, 0x50
mov r9, rax
lea r8d, [rdx - 0x4f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsi + 0xa0], rdi
jmp 0x14004e013
mov r9, qword [rsi + 0xa0]
cmp rax, r9
je 0x14004e013
mov rcx, qword [rsp + 0x28]
mov edx, 0x50
lea r8d, [rdx - 0x4f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebp
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rsi + 0xa0], rax
lea r11, [rsp + 0x70]
mov eax, 1
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14004e130
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x428
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14004e252
lea rdx, [rsp + 0x20]
mov r8d, 0x200
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x14004e252
lea rdx, str.Netscape
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
test rax, rax
je 0x14004e185
mov eax, 1
add rsp, 0x428
ret
lea rdx, str.Internet_Explorer
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
test rax, rax
jne 0x14004e178
lea rdx, str.Mozilla
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
test rax, rax
jne 0x14004e178
lea rdx, str.Opera
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
test rax, rax
jne 0x14004e178
lea rdx, str.Google_Chrome
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
test rax, rax
jne 0x14004e178
lea rdx, str.Microsoft_Edge
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
test rax, rax
jne 0x14004e178
call fcn.1400dc5d0
test rax, rax
je 0x14004e252
lea rdx, [rsp + 0x20]
mov r8d, 0x200
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x14004e252
lea rdx, str.Internet_Explorer
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
test rax, rax
jne 0x14004e178
lea rdx, str.Mozilla
lea rcx, [rsp + 0x20]
call fcn.1400e7f94
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x428
ret
xor eax, eax
add rsp, 0x428
ret
Function at 0x140050d00
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
xor edx, edx
xor edi, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, eax
test eax, eax
je 0x140050d5a
cmp ebx, 0xa3
je 0x140050d43
cmp ebx, 0xa5
je 0x140050d43
cmp ebx, 0x2e
ja 0x140050d48
movabs rdx, 0x61fe00000000
bt rdx, rbx
jae 0x140050d48
mov edi, 0x1000000
shl ecx, 0x10
or ecx, edi
mov eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400515f0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
mov edx, 0x414
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 0x40
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.1400519c0
nop
mov edx, dword [rsi + 0x28f0]
test edx, edx
jne 0x140051688
lea rcx, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rcx, r9
lea rdx, [rsi + 0x28f4]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x140051670
jmp 0x140051753
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov r9, qword [rsi + 8]
lea rcx, [rsp + 0x120]
call fcn.1400b1580
mov rbx, qword [rax]
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400516c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdi, [rsi + 0x28f4]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14003ae50
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400516e1
mov rdx, qword [rax]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x1400516f7
add rbx, 2
test eax, eax
jne 0x1400516e4
test ecx, ecx
setne bl
cmp qword [rsp + 0x70], 8
jb 0x14005170e
mov rcx, qword [rsp + 0x58]
call fcn.1400e5d34
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
test bl, bl
je 0x140051753
mov dword [rsi + 0x28f0], 0
lea rcx, [rsp + 0x30]
cmp r8, 8
cmovae rcx, r9
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdi], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 2]
test ax, ax
jne 0x140051740
cmp r8, 8
jb 0x140051761
mov rcx, r9
call fcn.1400e5d34
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret