joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006631c
Capabilities:
Get token privileges

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 r14
sub rsp, 0x30
mov rsi, qword [rsp + 0x60]
xor r9d, r9d
mov r14, r8
mov r8, qword [r8]
lea edx, [r9 + 3]
mov rbp, rcx
mov qword [rax - 0x18], rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
xor edi, edi
test eax, eax
jne 0x14006639f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400663a4
mov ebx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rdi + 8]
mov rcx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [r14], rax
test rax, rax
je 0x1400663a4
mov r9d, dword [rsi]
lea edx, [rdi + 3]
mov r8, rax
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400663a4
mov edi, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov al, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140066a84
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x60
xor r10d, r10d
mov rbp, r9
mov r14, r8
mov qword [rax + 0x30], r10
mov eax, dword [rsp + 0xa0]
lea ebx, [r10 + 1]
mov r15, rdx
test bl, al
je 0x140066ac3
mov edi, ebx
jmp 0x140066ad0
mov ecx, 2
mov edi, r10d
test cl, al
cmovne edi, ecx
xor sil, sil
test al, 4
je 0x140066b30
and qword [rsp + 0x80], r10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x80]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xa8]
mov r8d, ebx
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140066b96
mov r10, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0xb8]
mov r9d, edi
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
bts ecx, 0xa
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov r8, rbp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne sil
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140066ba9
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
lea r11, [rsp + 0x60]
mov al, sil
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x140066d08
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
lea rax, [rbp + 0x20]
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rbp + 0x18], ebx
mov word [rbp + 0x1c], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0x10], eax
test eax, eax
je 0x140066d87
mov rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp + 0x10], ecx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0x10]
mov rbx, qword [rsp + 0x88]
cmp eax, 1
sete al
add rsp, 0x60
pop rbp
ret
Function at 0x140066f58
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x40
mov r14, r9
mov r15, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rcx, rax
mov r9, rsi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [r14]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rsi + 0x10]
mov rcx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rax, qword [r15]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x140067040]
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov qword [rsi + 8], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x14006738c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15, rcx
mov rcx, qword [rcx]
mov rbp, rdx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x68], eax
jae 0x140067452
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov rdi, rax
test eax, eax
je 0x140067452
cmp eax, dword [rsp + 0x68]
jb 0x140067452
cmp eax, dword [rsp + 0x60]
jb 0x140067452
lea ebx, [rax + 1]
lea rcx, [rsi - 1]
lea eax, [rsi + 2]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14002686c
mov rcx, qword [r15]
lea edx, [rsi + 0xd]
mov r9, rax
mov r8d, ebx
mov r14, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140067445
cmp dword [rsp + 0x60], edi
je 0x140067432
mov ecx, dword [rsp + 0x60]
mov word [r14 + rcx*2], si
mov eax, dword [rsp + 0x68]
mov rcx, rbp
lea rdx, [r14 + rax*2]
call fcn.14001efd8
mov sil, 1
mov rcx, r14
call fcn.140026914
mov al, sil
jmp 0x140067454
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006807c
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, qword [rcx]
mov r8b, 1
mov rdi, rcx
call fcn.1400697b8
xor edx, edx
test ebx, ebx
lea ebx, [rdx + 0x25]
mov ecx, ebx
jns 0x1400680d9
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov r8d, ebx
shl eax, 0x10
mov edx, 0x100
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, ebx
jmp 0x140068115
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov rcx, qword [rdi]
shl eax, 0x10
mov edx, 0x101
mov r9d, eax
mov eax, 0xc0000001
or r9, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rdi]
xor r8d, r8d
call fcn.1400697b8
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140068aec
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rbx, rdx
mov rcx, rdx
cmp r8b, 1
jne 0x140068b4a
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], 0x1388
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x140068b67
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140068b5d
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x40
pop rbx
ret

Function at 0x1400697b8
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp r8b, 1
jne 0x1400697eb
call fcn.140025b58
test al, al
jne 0x14006980b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140069801
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x20
pop rbx
ret
Function at 0x140069940
Capabilities:
Get graphical window text

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 r14
sub rsp, 0x40
mov r14, rcx
mov rcx, rdx
mov rbp, rdx
call fcn.14001f224
mov rdx, qword [r14]
call fcn.140025b58
test al, al
je 0x14006997a
xor al, al
jmp 0x140069a4e
mov rdx, qword [r14]
call fcn.140025b58
test al, al
jne 0x1400699a0
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test eax, eax
jne 0x1400699a5
mov esi, 0x7fff
mov rcx, 0xffffffffffffffff
lea ebx, [rsi + 1]
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14002686c
mov rcx, qword [r14]
mov r8d, ebx
mov r9, rax
mov edx, reloc.WSOCK32.dll_listen
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x140069a44
mov rcx, rdi
call fcn.140027e00
mov ecx, esi
mov r8, rax
cmp rax, rcx
jne 0x140069a39
test rax, rax
je 0x140069a13
mov rdx, rdi
mov rcx, rdi
neg rdx
mov al, byte [rcx]
sub al, 0x20
cmp al, 0x5e
ja 0x140069a39
inc rcx
lea rax, [rdx + rcx]
cmp rax, r8
jb 0x1400699ff
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140069750
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.14001e9c4
lea rcx, [rsp + 0x20]
call fcn.14001c5f8
jmp 0x140069a44
mov rdx, rdi
mov rcx, rbp
call fcn.14001efd8
mov rcx, rdi
call fcn.140026914
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14006b534
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x220
mov rbx, rcx
mov rcx, qword [rcx + 0x88]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
test rax, rax
je 0x14006b5c9
lea rdx, [rsp + 0x20]
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test byte [rbx + 0x10], 1
je 0x14006b588
cmp word [rsp + 0x20], di
jne 0x14006b588
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x14006b5c9
movsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmmword [0x1400bb008]
jbe 0x14006b5a9
mov rcx, qword [rbx + 0x88]
mov edx, 0x40a
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x20]
call fcn.14001efd8
mov rcx, qword [rbx + 0x88]
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rdi
ret
Function at 0x14006f240
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rcx, qword [r8]
mov rdi, rdx
mov rsi, r8
mov r14d, dword [rcx + rdx]
lea rax, [rcx + 4]
mov qword [r8], rax
lea eax, [r14 + 1]
movsxd rcx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002686c
mov rdx, qword [rsi]
lea ecx, [r14 + r14]
movsxd rbx, ecx
add rdx, rdi
mov rcx, rax
mov r8, rbx
mov r15, rax
call fcn.140026930
add qword [rsi], rbx
xor eax, eax
movsxd rcx, r14d
mov word [r15 + rcx*2], ax
test r14d, r14d
jle 0x14006f2cf
mov rax, r15
mov ecx, r14d
xor word [rax], r14w
lea rax, [rax + 2]
dec rcx
jne 0x14006f2c2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rax, r15
add rsp, 0x20
pop r15
ret

Function at 0x14006fa58
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
lea edx, [rax + 2]
cmovne eax, edx
mov edx, dword [rcx]
cmp edx, eax
jge 0x14006fa6c
mov edx, eax
jmp 0x1400711ac
test edx, edx
js 0x14007123b
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ebx, edx
movaps xmmword [rsp + 0x20], xmm7
test edx, edx
jne 0x1400711d2
xor ecx, ecx
jmp 0x140071226
cmp ebx, 0xf
jae 0x140071224
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140071224
xorps xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm6, xmm6
sub rax, qword [rsp + 0x60]
cvtsi2sd xmm6, rax
call fcn.140025fc4
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x1400711ee
jmp 0x14007122c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x14006fa74
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
lea edx, [rax + 2]
cmovne eax, edx
mov edx, dword [rcx + 4]
cmp edx, eax
jge 0x14006fa89
mov edx, eax
jmp 0x1400711ac
Function at 0x14006fa90
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, 0x120
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rdx], esi
mov word [rdx + 4], si
cmp qword [rcx + 0x28], rsi
je 0x14006fb2a
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14006fc00
mov al, 0x80
cmp byte [rsp + 0xc0], al
je 0x14006fadf
cmp byte [rsp + 0x30], al
jne 0x14006fae8
cmp byte [rdi + 0x1e], sil
jne 0x14006fae8
mov byte [rbx], 1
cmp byte [rsp + 0xc1], al
jne 0x14006fafb
cmp byte [rdi + 0x1f], sil
jne 0x14006fafb
mov byte [rbx + 1], 1
cmp byte [rsp + 0x31], al
jne 0x14006fb0b
cmp byte [rdi + 0x20], sil
jne 0x14006fb0b
mov byte [rbx + 2], 1
cmp byte [rsp + 0x32], al
jne 0x14006fb1b
cmp byte [rdi + 0x21], sil
jne 0x14006fb1b
mov byte [rbx + 3], 1
cmp byte [rsp + 0x7b], al
jne 0x14006fc00
jmp 0x14006fbf6
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x14006fb4f
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14006fb58
cmp byte [rdi + 0x1e], sil
jne 0x14006fb58
mov byte [rbx], 1
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14006fb78
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14006fb82
cmp byte [rdi + 0x1f], sil
jne 0x14006fb82
mov byte [rbx + 1], 1
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14006fba2
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14006fbac
cmp byte [rdi + 0x20], sil
jne 0x14006fbac
mov byte [rbx + 2], 1
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14006fbcc
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14006fbd6
cmp byte [rdi + 0x21], sil
jne 0x14006fbd6
mov byte [rbx + 3], 1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14006fbf6
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14006fc00
cmp byte [rdi + 0x22], sil
jne 0x14006fc00
mov byte [rbx + 4], 1
lea r11, [rsp + 0x120]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007021c
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, r8
mov r14, rdx
mov r8b, 1
mov rdx, rax
mov rbx, rcx
mov qword [rcx + 0x28], rax
call fcn.14007123c
xor r15d, r15d
cmp byte [rbx + 8], 1
mov bpl, r15b
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
jne 0x140070285
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.1400709ac
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.14006fa90
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14006fa2c
mov edi, r15d
movsxd rdx, edi
mov rcx, r14
call fcn.14001ed20
movzx esi, word [rax]
test si, si
je 0x1400702c1
mov rcx, rbx
inc edi
call fcn.14006fd10
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14007018c
mov dword [rbx + 0x18], r15d
mov word [rbx + 0x1c], r15w
jmp 0x140070288
cmp byte [rbx + 8], 1
jne 0x1400702e1
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140070d50
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.1400709ac
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.14007123c

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

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 r14
sub rsp, 0x30
movzx esi, dl
mov r14, rcx
mov bl, r8b
mov ecx, esi
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and dil, 1
cmp bl, dil
je 0x140070a2d
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.140071378
mov rcx, r14
call fcn.14006fa74
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, 2
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.140071378
mov rcx, r14
call fcn.14006fa58
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov al, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140070a4c
Capabilities:
Check for time delay via queryperformancecounter
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, 0x160
mov dil, byte [rdx]
mov bpl, byte [rdx + 7]
mov rbx, rcx
movzx ecx, word [rdx + 8]
xor r14d, r14d
mov rsi, rdx
mov r15d, 1
cmp qword [rbx + 0x28], r14
je 0x140070b3a
cmp dil, 0x14
je 0x140070b3a
lea eax, [rdi + 0x70]
cmp al, r15b
jbe 0x140070b3a
cmp dil, 0xff
je 0x140070b22
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140070aca
movzx eax, dil
lea rcx, [rsp + 0x60]
or byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, bpl
mov rcx, rsi
shl eax, 0x10
movsxd r9, eax
or r9, r15
call fcn.14006fcd0
cmp al, r15b
jne 0x140070ae9
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x140070afb
cmp byte [rbx + 0x21], r14b
jne 0x140070afb
cmp dil, 0x12
jne 0x140070b17
cmp byte [rbx + 0x1a], r14b
jne 0x140070b17
cmp byte [rbx + 0x20], r14b
jne 0x140070b17
bts r9, 0x1d
movzx r8d, dil
mov edx, 0x104
jmp 0x140070b2e
movzx r8d, dil
mov edx, 0x100
jmp 0x140070b2e
movzx r8d, cx
mov r9, r15
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140070b97
cmp dil, 0xff
je 0x140070b65
mov rcx, rdx
call fcn.14006fcd0
mov r8b, bpl
mov dl, dil
mov rcx, rbx
cmp al, r15b
jne 0x140070b5b
mov r9d, r15d
jmp 0x140070b5e
xor r9d, r9d
call fcn.140071378
jmp 0x140070b97
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
mov r8d, SafeArrayCreateEx
mov ecx, r15d
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 4
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp fcn.14006fa74
Function at 0x140070bbc
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

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 r14
sub rsp, 0x160
mov dil, byte [rdx]
mov bpl, byte [rdx + 7]
mov rbx, rcx
movzx ecx, word [rdx + 8]
xor r14d, r14d
mov rsi, rdx
cmp qword [rbx + 0x28], r14
je 0x140070c9a
cmp dil, 0x14
je 0x140070c9a
lea eax, [rdi + 0x70]
cmp al, 1
jbe 0x140070c9a
cmp dil, 0xff
je 0x140070cfe
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140070c38
movzx eax, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, bpl
mov rcx, rsi
shl eax, 0x10
movsxd r9, eax
mov eax, 0xc0000001
or r9, rax
call fcn.14006fcd0
cmp al, 1
jne 0x140070c5b
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x140070c6d
cmp byte [rbx + 0x21], r14b
jne 0x140070c6d
cmp dil, 0x12
jne 0x140070c85
cmp byte [rbx + 0x1a], r14b
jne 0x140070c85
cmp byte [rbx + 0x20], r14b
jne 0x140070c85
bts r9, 0x1d
mov edx, 0x105
jmp 0x140070c8a
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140070cfe
cmp dil, 0xff
je 0x140070cc8
mov rcx, rdx
call fcn.14006fcd0
mov r8b, bpl
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x140070cc1
mov r9d, 2
call fcn.140071378
jmp 0x140070cfe
mov r8d, SafeArrayCreateEx
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
lea ecx, [r8 - 0x27]
mov dword [rsp + 0x30], 1
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 6
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
jmp fcn.14006fa58

Function at 0x140070d24
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140070a4c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140070bbc