joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140100d84
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140100dbe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140100dc3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140100e0c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140100e0c
dec r8
sub rdx, 1
jne 0x140100df2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000a008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000a008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000a008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x14001515c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400151da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400151d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400151d1
mov rax, qword [rbp - 8]
jmp 0x1400151ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400151a4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140013800
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov r8d, 1
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
je 0x140013871
test eax, eax
je 0x140013871
lea rcx, str...SwRpcServer.cpp
mov edx, 0x5c
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140013841
inc rax
jmp 0x140013848
lea rax, str...SwRpcServer.cpp
lea rcx, [0x140042858]
mov rdx, rax
call fcn.140001760
movabs rcx, 0x212500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
add rsp, 0x20
pop rbx
ret
movabs rax, 0x8000000000
add rsp, 0x20
pop rbx
ret
Function at 0x2bbee8230
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor esi, esi
mov ebx, edx
test r8, r8
je 0x2bbee8243
mov rsi, qword [r8 + 8]
call sym.tcl9tk90.dll_TkGetMainInfoList
lea rdx, [0x2bbff6400]
mov rcx, qword [rax + 8]
call sym.tcl9tk90.dll_Tk_InternAtom
cmp eax, ebx
je 0x2bbee8268
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call qword [sym.imp.USER32.dll_GetClipboardOwner]
cmp rsi, rax
je 0x2bbee825c
mov ecx, 1
call sym.TkWinUpdatingClipboard
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
xor edx, edx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
xor ecx, ecx
call sym.TkWinUpdatingClipboard
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x2bbee82b0
Capabilities:
Write clipboard data

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
mov rsi, qword [rcx + 0x938]
test rsi, rsi
jne 0x2bbee82dd
jmp 0x2bbee8448
mov rsi, qword [rsi + 0x18]
test rsi, rsi
je 0x2bbee8448
cmp dword [rsi], 0x1f
jne 0x2bbee82d0
mov rbx, qword [0x2bc041fd0]
mov r9, qword [rsi + 8]
xor edx, edx
mov rax, qword [rbx]
mov r10, qword [rax + 0x28]
test r9, r9
je 0x2bbee8462
nop
mov r8, qword [r9 + 8]
mov rax, qword [r9]
add rdx, r8
add r8, rax
cmp rax, r8
jae 0x2bbee832c
nop word [rax + rax]
xor ecx, ecx
cmp byte [rax], 0xa
sete cl
add rax, 1
add rdx, rcx
cmp rax, r8
jne 0x2bbee8318
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x2bbee8300
lea rcx, [rdx + 1]
call r10
mov rdi, rax
mov r10, qword [rsi + 8]
mov rax, rdi
test r10, r10
je 0x2bbee8391
nop dword [rax + rax]
mov rdx, qword [r10]
mov r9, qword [r10 + 8]
add r9, rdx
cmp rdx, r9
jae 0x2bbee8388
nop
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0xa
jne 0x2bbee8378
mov byte [rax], 0xd
movzx r8d, byte [rdx]
add rcx, 1
add rdx, 1
mov byte [rcx], r8b
lea rax, [rcx + 1]
cmp r9, rdx
jne 0x2bbee8360
mov r10, qword [r10 + 0x10]
test r10, r10
jne 0x2bbee8350
mov byte [rax], 0
mov rax, qword [rbx]
lea rbp, [rsp + 0x20]
mov rcx, rbp
call qword [rax + 0x3e0]
mov rax, qword [rbx]
mov r8, rbp
mov rcx, rdi
mov rdx, 0xffffffffffffffff
call qword [rax + 0xb28]
mov rax, qword [rbx]
mov rcx, rdi
call qword [rax + 0x30]
mov rax, qword [rsp + 0x28]
mov ecx, 0x2002
lea rdx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x2bbee842f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rax, qword [rsp + 0x28]
lea r8, [rax + 2]
call sym.memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [rbx]
mov rcx, rbp
call qword [rax + 0x3d0]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
nop
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rax, qword [rbx]
mov rcx, rbp
call qword [rax + 0x3d0]
nop
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rbx, qword [0x2bc041fd0]
mov ecx, 1
mov rax, qword [rbx]
call qword [rax + 0x28]
mov rdi, rax
jmp 0x2bbee8391
mov ecx, 1
call r10
mov rdi, rax
jmp 0x2bbee833f
Function at 0x2bbee8480
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
mov ecx, 1
mov rbx, qword [rax + 8]
call sym.TkWinUpdatingClipboard
mov rcx, rbx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
xor edx, edx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp sym.TkWinUpdatingClipboard

Function at 0x2bbee8520
Capabilities:
Print debug messages

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor ecx, ecx
mov rbx, r8
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetDC]
mov byte [rsp + 0x2b], 0
mov edx, 0x26
mov rbp, qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdi, rax
movzx eax, byte [rbx + 5]
mov rcx, rdi
mov byte [rsp + 0x28], al
movzx eax, byte [rbx + 7]
mov byte [rsp + 0x29], al
movzx eax, byte [rbx + 9]
mov byte [rsp + 0x2a], al
call rbp
test ah, 1
je 0x2bbee8668
mov edx, 0x68
mov rcx, rdi
call rbp
movzx ebp, byte [rsp + 0x2a]
mov rcx, qword [rsi]
mov r13d, eax
movzx eax, word [rsp + 0x28]
shl ebp, 0x10
or ebp, eax
mov edx, ebp
call qword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
mov rcx, qword [rsi]
lea r9, [rsp + 0x2c]
mov r8d, 1
mov edx, eax
mov r12d, eax
call qword [sym.imp.GDI32.dll_GetPaletteEntries]
movzx r9d, byte [rsp + 0x2e]
movzx r8d, word [rsp + 0x2c]
movzx r10d, byte [rsp + 0x2c]
movzx ecx, byte [rsp + 0x2d]
mov eax, r9d
shl r9d, 0x10
mov edx, dword [rsi + 8]
or r8d, r9d
cmp r8d, ebp
jne 0x2bbee85e2
cmp r12d, edx
jb 0x2bbee8624
cmp edx, r13d
jne 0x2bbee86d0
shl ecx, 0x10
or ecx, r10d
movd xmm0, ecx
movzx ecx, al
shl eax, 8
movdqa xmm1, xmm0
add eax, ecx
psllw xmm1, 8
mov word [rbx + 8], ax
mov eax, dword [rsp + 0x2c]
paddw xmm0, xmm1
mov dword [rsp + 0x28], eax
movd dword [rbx + 4], xmm0
cmp r12d, edx
jae 0x2bbee8700
movzx edx, byte [rsp + 0x2a]
movzx eax, word [rsp + 0x28]
lea rcx, [rsi + 0x10]
lea r8, [rsp + 0x24]
shl edx, 0x10
or edx, eax
or edx, 0x2000000
mov dword [rbx], edx
call qword [rsi + 0x68]
mov ecx, dword [rsp + 0x24]
mov edx, 1
test ecx, ecx
jne 0x2bbee865c
mov rsi, qword [rax + 0x18]
lea rdx, [rsi + 1]
mov qword [rax + 0x18], rdx
jmp 0x2bbee86b2
movzx edx, byte [rsp + 0x2a]
movzx eax, word [rsp + 0x28]
mov rcx, rdi
shl edx, 0x10
or edx, eax
call qword [sym.imp.GDI32.dll_GetNearestColor]
movzx edx, ah
movzx ecx, al
mov dword [rbx], eax
shr eax, 0x10
shl edx, 0x10
or edx, ecx
movd xmm0, edx
movzx edx, al
shl eax, 8
movdqa xmm1, xmm0
add eax, edx
psllw xmm1, 8
mov word [rbx + 8], ax
paddw xmm0, xmm1
movd dword [rbx + 4], xmm0
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
add edx, 1
mov rcx, qword [rsi]
mov dword [rsi + 8], edx
call qword [sym.imp.GDI32.dll_ResizePalette]
mov eax, dword [rsi + 8]
mov rcx, qword [rsi]
lea r9, [rsp + 0x28]
mov r8d, 1
lea edx, [rax - 1]
call qword [sym.imp.GDI32.dll_SetPaletteEntries]
jmp 0x2bbee8624
lea rcx, str.XAllocColor:_Colormap_is_bigger_than_we_thought
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x2bbee8624
Function at 0x2bbef3d40
Capabilities:
Capture screenshot

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor edi, edi
mov rbx, rcx
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x2bbef3e40
xor r9d, r9d
xor r8d, r8d
lea rcx, [0x2bbff7d6a]
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateDCW]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12d, dword [rbx]
mov r15d, dword [rbx + 8]
mov rcx, rsi
mov rbp, rax
mov r13d, dword [rbx + 4]
mov edi, dword [rbx + 0xc]
mov edx, 8
mov r14, qword [sym.imp.GDI32.dll_GetDeviceCaps]
call r14
mov edx, 0xa
mov rcx, rsi
mov ebx, eax
call r14
xor edx, edx
test r12d, r12d
mov rcx, rsi
cmovs r12d, edx
test r13d, r13d
cmovs r13d, edx
cmp r15d, ebx
cmovle ebx, r15d
sub ebx, r12d
cmp edi, eax
cmovg edi, eax
mov edx, ebx
sub edi, r13d
mov r8d, edi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbp
mov rdx, rax
call r15
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r14, rax
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r14
mov rcx, rbp
call r15
mov rcx, rsi
mov rbx, qword [sym.imp.GDI32.dll_DeleteDC]
mov rdi, rax
call rbx
mov rcx, rbp
call rbx
mov rax, rdi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x2bbefad20
Capabilities:
Print debug messages

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x830
mov rbp, qword [0x2bc041fd0]
mov rax, qword [rbp]
cmp qword [rax + 0x58], 0
mov rsi, rcx
mov rdi, rdx
je 0x2bbefadd0
mov ecx, 8
call qword [rax + 0x578]
mov rbx, rax
test rax, rax
je 0x2bbefadd0
mov rax, qword [rbp]
mov rdx, rdi
mov rcx, rbx
mov r8, 0xffffffffffffffff
call qword [rax + 0xaa0]
mov rax, qword [rbp]
mov rcx, rbx
mov r8d, 2
lea rdx, [0x2bbff93a9]
call qword [rax + 0xaa0]
mov rax, qword [rbp]
mov rdx, rsi
mov rcx, rbx
mov r8, 0xffffffffffffffff
call qword [rax + 0xaa0]
mov rax, qword [rbp]
mov r8d, 1
mov rcx, rbx
lea rdx, [0x2bbff93ac]
mov rax, qword [rax + 0xaa0]
add rsp, 0x830
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp rax
lea rbp, [rsp + 0x30]
mov r8, rdi
xor edx, edx
mov r9d, 0xffffffff
mov r12, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], 0x400
call r12
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
mov ebx, eax
lea eax, [rax + 1]
mov word [rsp + 0x82e], cx
mov r8, rsi
cdqe
mov ecx, 0xfde9
lea rdi, [rbp + rax*2]
mov eax, 0x3ff
sub eax, ebx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], eax
call r12
cmp word [rsp + 0x82e], 0
jne 0x2bbefaea0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
sub ebx, 1
movsxd rbx, ebx
test eax, eax
jne 0x2bbefae80
xor eax, eax
mov r9d, 0x51030
mov r8, rbp
mov rdx, rdi
mov word [rsp + rbx*2 + 0x30], ax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
add rsp, 0x830
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov dword [rsp + rbx*2 + 0x30], 0x20003a
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
add rsp, 0x830
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movabs rax, 0x2e002e002e0020
xor edx, edx
sub ebx, 1
mov qword [rsp + 0x826], rax
movsxd rbx, ebx
mov word [rsp + 0x82e], dx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x2bbefae50
jmp 0x2bbefae80
Function at 0x2bbefaff0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
mov r12, qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, ecx
mov esi, edx
mov edi, r8d
xor edx, edx
mov ecx, ebx
call r12
mov ebp, eax
cmp ebx, 0x14
je 0x2bbefb0e5
and edi, 1
jne 0x2bbefb0e5
lea eax, [rbx - 0x90]
cmp eax, 1
jbe 0x2bbefb120
mov edx, 2
mov ecx, ebx
call r12
cmp eax, 0x7fff
ja 0x2bbefb1b0
lea r13, [rsp + 0x40]
mov ecx, 0x20
xor eax, eax
mov rdi, r13
rep stosq qword [rdi], rax
test sil, 1
je 0x2bbefb06d
mov byte [rsp + 0x50], pe_nt_image_headers64
test sil, 4
je 0x2bbefb078
mov byte [rsp + 0x51], pe_nt_image_headers64
test sil, 0x10
je 0x2bbefb083
mov byte [rsp + 0x52], pe_nt_image_headers64
test sil, 2
je 0x2bbefb08e
mov byte [rsp + 0x54], 1
test sil, 0x20
je 0x2bbefb09c
mov byte [rsp + 0xd1], 1
test sil, 8
jne 0x2bbefb140
lea r14, [rsp + 0x38]
mov r15, qword [sym.imp.USER32.dll_ToUnicode]
mov edx, ebp
mov ecx, ebx
mov dword [rsp + 0x28], 0
mov r9, r14
mov r8, r13
mov dword [rsp + 0x20], 4
call r15
test eax, eax
js 0x2bbefb190
cmp eax, 2
je 0x2bbefb1c0
cmp eax, 1
je 0x2bbefb160
xor eax, eax
cmp ebx, 0xb7
ja 0x2bbefb12b
cmp ebx, 0x11
je 0x2bbefb180
cmp ebx, 0x12
je 0x2bbefb150
cmp ebx, 0x10
jne 0x2bbefb120
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
mov edx, eax
mov eax, 0xffe2
and edx, 0x80
jne 0x2bbefb12b
nop dword [rax]
lea rax, [0x2bbff93e0]
mov rax, qword [rax + rbx*8]
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsp + 0xd0], 1
jmp 0x2bbefb0a6
and esi, 0x40000
mov eax, 0xffea
je 0x2bbefb120
jmp 0x2bbefb12b
movzx eax, word [rsp + 0x38]
cmp ax, 0x1f
jbe 0x2bbefb0e5
cmp ax, 0x7f
je 0x2bbefb0e5
jmp 0x2bbefb12b
and esi, 0x40000
mov eax, 0xffe4
je 0x2bbefb120
jmp 0x2bbefb12b
mov dword [rsp + 0x28], 0
mov r9, r14
mov r8, r13
mov edx, ebp
mov dword [rsp + 0x20], 4
mov ecx, ebx
call r15
nop dword [rax]
mov eax, 0xff20
jmp 0x2bbefb12b
movzx ecx, word [rsp + 0x38]
mov rdi, r13
call qword [sym.imp.USER32.dll_VkKeyScanW]
xor edx, edx
movzx ebx, al
movsx esi, ah
mov ecx, ebx
call r12
mov ecx, 0x20
mov edx, eax
xor eax, eax
rep stosq qword [rdi], rax
test sil, 1
je 0x2bbefb1f2
mov byte [rsp + 0x50], pe_nt_image_headers64
test sil, 2
je 0x2bbefb1fd
mov byte [rsp + 0x51], pe_nt_image_headers64
and esi, 4
je 0x2bbefb207
mov byte [rsp + 0x52], pe_nt_image_headers64
mov dword [rsp + 0x28], 0
mov r9, r14
mov r8, r13
mov ecx, ebx
mov dword [rsp + 0x20], 4
call r15
jmp 0x2bbefb1b0

Function at 0x2bbefb310
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov ecx, edx
mov edx, r8d
xor r8d, r8d
and edx, 1
jmp sym.KeycodeToKeysym

Function at 0x2bbefb320
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
xor r8d, r8d
mov ecx, edx
mov edx, r9d
and edx, 1
jmp sym.KeycodeToKeysym
Function at 0x2bbefb330
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
xor eax, eax
lea rcx, [0x2bbff93e0]
mov dword [r8 + 0x48], 0
test rdx, rdx
jne 0x2bbefb35c
jmp 0x2bbefb366
add rax, 1
cmp rax, 0xb8
je 0x2bbefb36b
cmp qword [rcx + rax*8], rdx
jne 0x2bbefb350
mov dword [r8 + 0x48], eax
add rsp, 0x28
ret
cmp rdx, 0x1f
jbe 0x2bbefb366
mov qword [rsp + 0x40], r8
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
je 0x2bbefb366
mov edx, eax
mov r8, qword [rsp + 0x40]
sar dx, 8
test ah, 1
je 0x2bbefb39a
or dword [r8 + 0x44], 1
test dl, 2
je 0x2bbefb3a4
or dword [r8 + 0x44], 4
and edx, 4
je 0x2bbefb3ae
or dword [r8 + 0x44], 0x10
movzx eax, al
jmp 0x2bbefb362

Function at 0x2bbefb3c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
xor eax, eax
lea rcx, [0x2bbff93e0]
test rdx, rdx
jne 0x2bbefb3e4
jmp 0x2bbefb3f5
add rax, 1
cmp rax, 0xb8
je 0x2bbefb3ef
cmp qword [rcx + rax*8], rdx
jne 0x2bbefb3d8
add rsp, 0x28
ret
cmp rdx, 0x1f
ja 0x2bbefb3fc
xor eax, eax
add rsp, 0x28
ret
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
je 0x2bbefb3f5
movzx eax, al
jmp 0x2bbefb3ea

Function at 0x2bbefb7d0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov edi, dword [rdx + 0x44]
mov eax, dword [rcx + 0x160]
mov ebp, edi
mov rbx, rdx
test eax, eax
jne 0x2bbefb820
mov ecx, dword [rbx + 0x48]
xor r8d, r8d
mov edx, edi
call sym.KeycodeToKeysym
mov rsi, rax
test rax, rax
jne 0x2bbefb80b
test dil, 0x14
jne 0x2bbefb830
test bpl, 1
jne 0x2bbefb860
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sym.tcl9tk90.dll_TkpInitKeymapInfo
jmp 0x2bbefb7ea
and edi, 0xffffffeb
mov ecx, dword [rbx + 0x48]
xor r8d, r8d
mov edx, edi
mov ebp, edi
call sym.KeycodeToKeysym
test rax, rax
je 0x2bbefb805
mov rsi, rax
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, ebp
mov ecx, dword [rbx + 0x48]
xor r8d, r8d
and edx, 0xfffffffe
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.KeycodeToKeysym
Function at 0x2bbefce40
Capabilities:
Log keystrokes via polling

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rdi, qword [0x2bc041fd0]
mov rax, qword [rdx]
mov r15, qword [rdx + 0x138]
mov r12, qword [rsp + 0xe0]
mov r14, qword [rax + 0x40]
mov rax, qword [rdi]
mov dword [rsp + 0xd0], r8d
mov r13, rdx
mov ebp, r9d
call qword [rax + 0x568]
mov edx, 0xf8
lea rcx, [0x2bc063368]
mov dword [rsp + 0x4c], eax
mov rax, qword [rdi]
call qword [rax + 0x998]
add dword [rax], 1
mov rbx, rax
test byte [r13 + 0x107], 0x20
je 0x2bbefcec8
mov rax, qword [rdi]
lea rcx, [sym.ReconfigureWindowsMenu]
mov rdx, r13
call qword [rax + 0x290]
mov rcx, r13
call sym.ReconfigureWindowsMenu
mov rcx, r13
call sym.TkPreprocessMenu
mov esi, eax
test eax, eax
jne 0x2bbefd030
mov rax, qword [r13 + 0x28]
lea rdx, [rax - 1]
cmp rax, r12
cmovle r12, rdx
test r12, r12
js 0x2bbefcefc
mov rax, qword [r13 + 0x20]
mov rax, qword [rax + r12*8]
sub ebp, dword [rax + 0xec]
cmp qword [r13], 0
je 0x2bbefd030
test r14, r14
je 0x2bbefd000
lea r12, [rsp + 0x58]
lea rdx, [rsp + 0x54]
mov rcx, r14
mov r8, r12
call sym.tcl9tk90.dll_Tk_GetRootCoords
mov eax, dword [rsp + 0x54]
mov ecx, dword [r14 + 0x78]
mov edx, dword [rsp + 0x58]
add ecx, eax
movd xmm0, eax
movd xmm1, ecx
mov ecx, dword [r14 + 0x7c]
movd xmm3, edx
punpckldq xmm0, xmm3
add ecx, edx
movd xmm2, ecx
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [rdi]
xor ecx, ecx
call qword [rax + 0x758]
mov ecx, 0x17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x2bbefd038
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, eax
shr edx, 0xe
and edx, 2
lea rax, [rsp + 0x60]
mov r8d, dword [rsp + 0xd0]
mov r9d, ebp
mov rcx, r15
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 8]
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_TrackPopupMenu]
mov rax, qword [rdi]
mov ecx, dword [rsp + 0x4c]
call qword [rax + 0x758]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
xor ecx, ecx
call sym.TkWinPointerEvent
mov eax, dword [rbx]
test eax, eax
je 0x2bbefcfec
mov dword [rbx], 0
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movd xmm0, dword [rsp + 0xd0]
movd xmm4, ebp
lea r12, [rsp + 0x58]
punpckldq xmm0, xmm4
punpcklqdq xmm0, xmm0
paddd xmm0, xmmword [0x2bbff9d70]
movups xmmword [rsp + 0x60], xmm0
jmp 0x2bbefcf5a
sub dword [rbx], 1
jmp 0x2bbefcfec
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, eax
shr edx, 0xe
and edx, 2
jmp 0x2bbefcf8b