joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007bcbc
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
or dword [rsp + 0x38], 0xffffffff
lea rdx, [rsp + 0x38]
mov ebx, ecx
call fcn.18007bc00
test eax, eax
js 0x18007bd19
mov ecx, dword [rsp + 0x38]
cmp ecx, 0xffffffff
jne 0x18007bcf2
lea rcx, [rsp + 0x38]
call fcn.18007bd20
test eax, eax
js 0x18007bd19
mov ecx, dword [rsp + 0x38]
xor edx, edx
test ebx, ebx
setne dl
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
test eax, eax
jne 0x18007bd17
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x18007bd19
movzx eax, ax
or eax, 0x80070000
jmp 0x18007bd19
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x18007bd20
Capabilities:
Allocate thread local storage

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rsi, rcx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x48], eax
test rcx, rcx
jne 0x18007bd58
mov ebx, 0x80004003
jmp 0x18007bdea
or ebp, 0xffffffff
mov dword [rcx], ebp
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov edi, eax
cmp eax, ebp
jne 0x18007bd80
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x18007bdea
movzx ebx, ax
or ebx, 0x80070000
jmp 0x18007bdea
mov dword [rsp + 0x30], 0x1c
mov dword [rsp + 0x34], 7
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov ecx, dword [rsp + 0x34]
xor r9d, r9d
mov dword [rsp + 0x38], eax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], edi
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ext_ms_win_feclient_encryptedfile_l1_1_0.dll_EdpSetCredServiceInfo]
mov ebx, eax
test eax, eax
js 0x18007bdde
mov rdx, rsi
call fcn.18007bc00
mov ebx, eax
test eax, eax
js 0x18007bdde
cmp dword [rsi], ebp
jne 0x18007bdd9
mov ebx, 0x8000ffff
jmp 0x18007bdde
cmp edi, dword [rsi]
cmove edi, ebp
cmp edi, ebp
je 0x18007bdea
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsFree]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x18007becc
Capabilities:
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov esi, dword [rdx + 0xc]
lea rdi, [rdx + 0x18]
mov rbx, rdx
xor r15d, r15d
lea rdx, str.ClipboardDataObjectInterface
mov r12, rdi
mov rbp, rcx
call qword [sym.imp.USER32.dll_GetPropW]
mov r14, rax
jmp 0x18007bf63
dec esi
cmp dword [rdi + 0x20], 1
jne 0x18007bf5f
movzx ecx, word [0x180123324]
cmp word [rdi], cx
jne 0x18007bf2b
cmp byte [0x180123391], 0
jne 0x18007bf5f
movups xmm0, xmmword [rdi]
inc r15d
xor r9d, r9d
mov r8, r14
mov rcx, rbp
movups xmmword [r12], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r12 + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [r12 + 0x20], xmm0
movzx edx, word [rdi]
add r12, 0x30
call fcn.18007de08
add rdi, 0x30
test esi, esi
jne 0x18007bf0e
mov eax, dword [rbx + 0x10]
test al, 1
je 0x18007bf9b
movzx edx, word [0x1801232e4]
xor r9d, r9d
mov r8, r14
mov rcx, rbp
call fcn.18007de08
movzx edx, word [0x180123348]
xor r9d, r9d
mov r8, r14
mov rcx, rbp
call fcn.18007de08
mov eax, dword [rbx + 0x10]
test al, 2
je 0x18007bfb4
movzx edx, word [0x180123350]
xor r9d, r9d
mov r8, r14
mov rcx, rbp
call fcn.18007de08
mov r8d, dword [rbx + 4]
mov rdx, rbx
movzx ecx, word [0x180123338]
mov dword [rbx + 0xc], r15d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp fcn.180012e74
Function at 0x18007bfec
Capabilities:
Read clipboard data
Write clipboard data

Disassembly:
test rdx, rdx
je 0x18007c153
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov eax, dword [rdx + 0x10]
lea rdi, [rdx + 0x18]
mov esi, dword [rdx + 0xc]
xor r14d, r14d
mov rbx, rdx
mov r15, rcx
mov rbp, rdi
test al, 4
jne 0x18007c0a0
test esi, esi
je 0x18007c065
dec esi
cmp dword [rdi + 0x20], 1
jne 0x18007c05a
movups xmm0, xmmword [rdi]
inc r14d
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbp + 0x20], xmm0
movzx ecx, word [rdi]
add rbp, 0x30
call qword [sym.imp.USER32.dll_GetClipboardData]
add rdi, 0x30
test esi, esi
jne 0x18007c02b
mov eax, dword [rbx + 0x10]
test al, 1
je 0x18007c086
movzx ecx, word [0x1801232e4]
call qword [sym.imp.USER32.dll_GetClipboardData]
movzx ecx, word [0x180123348]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov eax, dword [rbx + 0x10]
test al, 2
je 0x18007c124
movzx ecx, word [0x180123350]
call qword [sym.imp.USER32.dll_GetClipboardData]
jmp 0x18007c124
test esi, esi
je 0x18007c0e2
movzx eax, word [0x180123330]
dec esi
cmp word [rdi], ax
je 0x18007c0bc
add rdi, 0x30
test esi, esi
jne 0x18007c0ab
jmp 0x18007c0e2
movups xmm0, xmmword [rdi]
mov r14d, 1
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbp + 0x20], xmm0
movzx ecx, word [rdi]
call qword [sym.imp.USER32.dll_GetClipboardData]
lea rdx, str.ClipboardDataObjectInterface
mov rcx, r15
call qword [sym.imp.USER32.dll_GetPropW]
mov rcx, rax
call fcn.18007d9ac
mov rdi, rax
test rax, rax
je 0x18007c120
movzx ecx, word [0x180123324]
mov rdx, rax
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x18007c120
mov rcx, rdi
call qword [sym.imp.KERNELBASE.dll_GlobalFree]
and dword [rbx + 0x10], 0xfffffffc
mov r8d, dword [rbx + 4]
mov rdx, rbx
movzx ecx, word [0x180123338]
mov dword [rbx + 0xc], r14d
call fcn.180012e74
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18007d360
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x80]
lea r8, str.SuppressASTAAutoFlush
mov rcx, qword [rcx]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jle 0x18007d3aa
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x18007d419
cmp ebx, 0x80070002
je 0x18007d419
cmp ebx, 0x800700ea
je 0x18007d419
xor r8d, r8d
lea rcx, [0x1801220f0]
xor edx, edx
call fcn.18000e778
test al, al
jne 0x18007d3e9
cmp dword [0x180122f00], 0
je 0x18007d419
mov rax, qword [section..data]
test byte [rax + 0x1c], 1
je 0x18007d419
lea rax, str.hr:__HRESULT_
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r8, str.RegistryKey::GetValue
and dword [rsp + 0x20], 0
lea rdx, str.internalonecorecominccombase_registrykey.hpp
mov r9d, 0x638
mov ecx, ebx
call fcn.1800107c0
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x18007de08
Capabilities:
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor eax, eax
mov byte [rbp - 0x39], 0
mov qword [rbp - 0x31], rax
mov rdi, r8
mov r8b, byte [0x180123391]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
movzx eax, word [0x1801232e4]
mov dword [rbp - 0x31], 1
cmp edx, eax
jne 0x18007de68
test r8b, r8b
jne 0x18007de68
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.18007cb70
jmp 0x18007df28
movzx eax, word [0x180123348]
cmp edx, eax
jne 0x18007de89
test r8b, r8b
jne 0x18007de89
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.18007d124
jmp 0x18007df28
movzx eax, word [0x180123350]
cmp edx, eax
jne 0x18007deca
test r8b, r8b
jne 0x18007deca
lea r8, [rbp - 0x11]
call fcn.18007d518
test eax, eax
jne 0x18007debc
lea r8, [rbp - 0x31]
mov rcx, rdi
lea rdx, [rbp - 0x11]
call fcn.18007d424
mov ebx, eax
test eax, eax
je 0x18007df2e
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.18007cd40
jmp 0x18007df28
test r9, r9
je 0x18007df1c
lea rax, [rbp + 0x67]
mov qword [rbp - 0x11], rax
lea rcx, [rbp + 0x17]
lea rax, [rbp + 0x7f]
mov qword [rbp - 9], rax
lea rax, [rbp + 0x6f]
movups xmm0, xmmword [rbp - 0x11]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x31]
mov qword [rbp + 7], rax
lea rax, [rbp - 0x39]
movups xmm1, xmmword [rbp - 1]
mov qword [rbp + 0xf], rax
movaps xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [rbp + 0xf]
movsd qword [rbp + 0x37], xmm0
movaps xmmword [rbp + 0x27], xmm1
call fcn.18007b164
jmp 0x18007df28
mov r9, rdi
lea r8, [rbp - 0x31]
call fcn.18007dd60
mov ebx, eax
test eax, eax
jne 0x18007df6e
mov rdx, qword [rbp - 0x29]
mov ecx, dword [rbp + 0x6f]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x18007df6e
cmp byte [rbp - 0x39], 0
lea rax, [rbp - 0x31]
mov qword [rbp - 0x19], rax
je 0x18007df60
cmp qword [rbp - 0x21], 0
je 0x18007df60
lea rcx, [rbp - 0x31]
call fcn.18007b0e4
jmp 0x18007df69
lea rcx, [rbp - 0x19]
call fcn.18007b4ec
mov ebx, 0x800401d2
mov eax, ebx
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
Function at 0x180080334
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
mov ebx, 0x50
mov r8d, ebx
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], ebx
xor esi, esi
mov qword [rsp + 0x20], rax
lea r9d, [rbx - 0x4f]
mov qword [rsp + 0x38], rsi
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftOleExtensions
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jle 0x1800803ae
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1800803be
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_winrt_error_l1_1_0.dll_RoOriginateError]
jmp 0x180080436
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.DragDropHost
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jle 0x1800803fb
movzx ebx, ax
or ebx, 0x80070000
mov word [rsp + 0x8e], si
test ebx, ebx
js 0x180080418
cmp dword [rsp + 0x34], 1
mov eax, 0x8000ffff
cmovne ebx, eax
test ebx, ebx
jns 0x180080426
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_winrt_error_l1_1_0.dll_RoOriginateError]
test ebx, ebx
js 0x180080436
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_IIDFromString]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180080584
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea rcx, [0x180123118]
mov dword [rsp + 0x40], ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp qword [0x180123808], rbx
jne 0x18008064c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [0x180123a40], rax
test rax, rax
je 0x18008064c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [0x180123a38], rax
test rax, rax
je 0x18008064c
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
lea r8, [0x1800812d0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [0x180123800], rax
test rax, rax
je 0x18008064c
mov rcx, qword [0x180123a40]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x18008064c
mov ecx, 0x8000ffff
xor edx, edx
mov dword [rsp + 0x40], ecx
call qword [sym.imp.api_ms_win_core_winrt_error_l1_1_0.dll_RoOriginateError]
mov rcx, qword [0x180123800]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [0x180123800], rbx
mov ebx, dword [rsp + 0x40]
lea rcx, [0x180123118]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1800806c0
Capabilities:
Check for debugger via api
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
and dword [rax + 8], 0
lea r9, [rax + 8]
xor edx, edx
xor r8d, r8d
lea ebx, [rdx + 5]
mov ecx, ebx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov r8d, dword [rsp + 0x30]
mov rdi, rax
test r8d, r8d
je 0x18008077c
test rax, rax
je 0x18008077c
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jne 0x18008077c
mov rsi, rdi
and dword [rsp + 0x38], 0
xor edx, edx
mov r8d, dword [rsi + 0x50]
mov ecx, 0x400
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180080756
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x180080756
cmp dword [rsp + 0x38], 0
jne 0x18008079e
cmp dword [rsi], 0
jne 0x18008075f
xor esi, esi
jmp 0x180080764
mov eax, dword [rsi]
add rsi, rax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x180080777
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test rsi, rsi
jne 0x18008071b
xor bl, bl
test rdi, rdi
je 0x18008078c
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800807b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov bl, 1
jmp 0x18008077e
Function at 0x18008318c
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov r14, r9
mov r15, r8
mov ebx, r12d
test r8, r8
je 0x1800831bc
mov qword [r8], r12
test r14, r14
je 0x1800831c4
mov qword [r9], r12
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x1800831d1
mov qword [rsi], r12
mov ecx, edx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r13, rax
test rax, rax
jne 0x1800831eb
mov ebx, 0x800401d3
jmp 0x18008332f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rax, rax
jne 0x180083206
mov ebx, 0x8007000e
jmp 0x18008332f
or rdi, 0xffffffffffffffff
test r15, r15
je 0x180083236
mov rax, rdi
inc rax
cmp byte [rax + rbp], r12b
jne 0x180083212
lea ecx, [rax + 1]
mov r9, r15
xor r8d, r8d
mov rdx, rbp
call fcn.18009ffb8
mov ebx, eax
test eax, eax
jne 0x1800832e0
mov rcx, rdi
inc rcx
cmp byte [rcx + rbp], r12b
jne 0x180083239
inc rbp
add rbp, rcx
test r14, r14
je 0x180083270
mov rax, rdi
inc rax
cmp byte [rax + rbp], r12b
jne 0x180083250
lea ecx, [rax + 1]
mov r9, r14
xor r8d, r8d
mov rdx, rbp
call fcn.18009ffb8
mov ebx, eax
test eax, eax
jne 0x1800832e0
mov rax, rdi
inc rax
cmp byte [rax + rbp], r12b
jne 0x180083273
add rbp, rax
test rsi, rsi
je 0x1800832a9
mov rax, rdi
inc rax
cmp byte [rax + rbp + 1], r12b
jne 0x180083287
lea ecx, [rax + 1]
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 1]
call fcn.18009ffb8
mov ebx, eax
test eax, eax
jne 0x1800832e0
mov r12, qword [rsp + 0x78]
test r12, r12
je 0x1800832e0
inc rdi
cmp byte [rdi + rbp + 1], 0
jne 0x1800832b3
lea rdx, [rdi + 1]
lea rcx, [rbp + 1]
call fcn.18001bf90
mov ecx, ebx
mov qword [r12], rax
mov ebx, 0x8007000e
xor r12d, r12d
test rax, rax
cmove ecx, ebx
mov ebx, ecx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebx, ebx
je 0x18008332f
test r15, r15
je 0x180083303
mov rcx, qword [r15]
test rcx, rcx
je 0x180083303
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [r15], r12
test r14, r14
je 0x180083319
mov rcx, qword [r14]
test rcx, rcx
je 0x180083319
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [r14], r12
test rsi, rsi
je 0x18008332f
mov rcx, qword [rsi]
test rcx, rcx
je 0x18008332f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsi], r12
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180084430
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ecx, word [0x180123348]
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x180084490
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
test rax, rax
je 0x180084490
mov rax, qword [rax]
sub rax, qword [0x180105c88]
jne 0x18008447c
movzx eax, byte [rcx + 8]
movzx ecx, byte [0x180105c90]
sub rax, rcx
test rax, rax
mov ecx, 1
cmove ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18008b5f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebp, ebp
neg ecx
movzx edi, bp
sbb eax, eax
not eax
and eax, 3
mov ebx, eax
mov esi, eax
lea rax, [0x180106208]
shl rbx, 4
add rbx, rax
mov ecx, dword [rbx - 8]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18008b635
or di, word [rbx]
inc esi
add rbx, 0x10
cmp esi, 6
jb 0x18008b624
mov rbx, qword [rsp + 0x30]
movzx eax, di
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18008b658
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x12
and bx, 0x1f
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18008b679
or bx, 0x20
movzx eax, bx
add rsp, 0x20
pop rbx
ret
Function at 0x18008c000
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rax, [r11 - 0x48]
mov dword [0x1801226ec], 0x32
mov qword [r11 - 0x50], rax
lea rdx, str.Control_PanelMouseDragScrollDelay
lea rax, [r11 - 0x40]
mov dword [rsp + 0x30], 0x28
xor r9d, r9d
mov qword [r11 - 0x58], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
jne 0x18008c073
mov word [rsp + 0x60], cx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcstol]
mov dword [0x1801226ec], eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180023ec0
add rsp, 0x78
ret
Function at 0x18008f23c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 8]
xor ebp, ebp
sub eax, 0x100
mov rdi, rdx
mov rsi, rcx
mov ebx, ebp
test eax, 0xfffffffb
jne 0x18008f2aa
lea ecx, [rbp + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18008f2aa
movzx eax, word [rsi + 0x10]
cmp eax, 9
je 0x18008f28a
cmp eax, 0x73
je 0x18008f2c1
cmp eax, 0x75
jne 0x18008f2aa
mov ebx, 1
lea ecx, [rbx + 0xf]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, 0xf050
js 0x18008f2a7
mov eax, 0xf040
mov word [rdi], ax
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, 0xf060
mov ebx, 1
jmp 0x18008f2a7

Function at 0x18008fc80
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
xorps xmm0, xmm0
xor r8d, r8d
mov r14, r9
mov ebp, edx
mov r10, rcx
movzx r15d, r8w
mov r12d, r8d
movdqu xmmword [rax - 0x38], xmm0
test edx, edx
je 0x18008fdb4
mov rcx, r13
call fcn.18008fb7c
sub eax, 0x100
je 0x18008fce8
sub eax, 2
je 0x18008fce3
sub eax, 2
je 0x18008fce8
cmp eax, 2
jne 0x18008fdb4
mov rsi, r8
jmp 0x18008fced
mov esi, 1
test r10, r10
je 0x18008fdb4
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov rdx, r10
call fcn.18008f1c8
xor r8d, r8d
test eax, eax
je 0x18008fdb4
mov rbx, qword [rsp + 0x20]
movzx eax, word [r13 + 0x10]
movzx edi, byte [rbx]
cmp word [rbx + 2], ax
jne 0x18008fd9a
mov eax, edi
and eax, 1
cmp esi, eax
jne 0x18008fd9a
test rsi, rsi
je 0x18008fd77
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
xor r8d, r8d
test ax, ax
mov ecx, r8d
mov eax, edi
sets cl
shr eax, 2
and eax, 1
cmp ecx, eax
jne 0x18008fd9a
lea ecx, [r8 + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
xor r8d, r8d
test ax, ax
mov ecx, r8d
mov eax, edi
sets cl
shr eax, 3
and eax, 1
cmp ecx, eax
jne 0x18008fd9a
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
xor r8d, r8d
test ax, ax
mov ecx, r8d
mov eax, edi
sets cl
shr eax, 4
and eax, 1
cmp ecx, eax
je 0x18008fda9
add rbx, 6
sub ebp, 1
jne 0x18008fd16
jmp 0x18008fdb4
movzx r15d, word [rbx + 4]
mov r12d, 1
test r14, r14
je 0x18008fdbd
mov word [r14], r15w
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [0x180123080]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov eax, r12d
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret