joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078920
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 dword [rdx], esi
mov rdi, rcx
mov word [rdx + 4], si
cmp qword [rcx + 0x28], rsi
je 0x1400789ba
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140078a90
mov al, 0x80
cmp byte [rsp + 0xc0], al
je 0x14007896f
cmp byte [rsp + 0x30], al
jne 0x140078978
cmp byte [rdi + 0x1e], sil
jne 0x140078978
mov byte [rbx], 1
cmp byte [rsp + 0xc1], al
jne 0x14007898b
cmp byte [rdi + 0x1f], sil
jne 0x14007898b
mov byte [rbx + 1], 1
cmp byte [rsp + 0x31], al
jne 0x14007899b
cmp byte [rdi + 0x20], sil
jne 0x14007899b
mov byte [rbx + 2], 1
cmp byte [rsp + 0x32], al
jne 0x1400789ab
cmp byte [rdi + 0x21], sil
jne 0x1400789ab
mov byte [rbx + 3], 1
cmp byte [rsp + 0x7b], al
jne 0x140078a90
jmp 0x140078a86
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x1400789df
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x1400789e8
cmp byte [rdi + 0x1e], sil
jne 0x1400789e8
mov byte [rbx], 1
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140078a08
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140078a12
cmp byte [rdi + 0x1f], sil
jne 0x140078a12
mov byte [rbx + 1], 1
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140078a32
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140078a3c
cmp byte [rdi + 0x20], sil
jne 0x140078a3c
mov byte [rbx + 2], 1
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140078a5c
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140078a66
cmp byte [rdi + 0x21], sil
jne 0x140078a66
mov byte [rbx + 3], 1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140078a86
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140078a90
cmp byte [rdi + 0x22], sil
jne 0x140078a90
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 0x14007909c
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 rdx, rax
mov qword [rcx + 0x28], rax
mov r8b, 1
mov rbx, rcx
call fcn.14007a078
xor r15d, r15d
cmp byte [rbx + 8], 1
mov bpl, r15b
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
jne 0x140079105
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14007982c
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.140078920
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400788c0
mov edi, r15d
movsxd rdx, edi
mov rcx, r14
call fcn.140022af4
movzx esi, word [rax]
test si, si
je 0x140079141
mov rcx, rbx
inc edi
call fcn.140078b8c
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.140079000
mov dword [rbx + 0x18], r15d
mov word [rbx + 0x1c], r15w
jmp 0x140079108
cmp byte [rbx + 8], 1
jne 0x140079161
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140079bac
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14007982c
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.14007a078

Function at 0x14007982c
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 ecx, esi
mov bl, r8b
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and di, 1
cmp bl, dil
je 0x1400798ad
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.14007a1b4
mov rcx, r14
call fcn.140078904
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.14007a1b4
mov rcx, r14
call fcn.1400788ec
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1400798cc
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 rbx, rcx
mov bpl, byte [rdx + 7]
xor r14d, r14d
movzx ecx, word [rdx + 8]
mov rsi, rdx
mov r15d, 1
cmp qword [rbx + 0x28], r14
je 0x1400799bd
cmp dil, 0x14
je 0x1400799bd
lea eax, [rdi + 0x70]
cmp al, r15b
jbe 0x1400799bd
cmp dil, 0xff
je 0x1400799a5
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14007994a
movzx eax, dil
lea rcx, [rsp + 0x60]
or byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx r8d, bpl
mov rcx, rsi
shl r8, 0x10
or r8, r15
call fcn.140078b50
mov r9, r8
bts r9, 0x18
cmp al, r15b
cmovne r9, r8
cmp byte [rbx + 0x1b], r14b
jne 0x14007997e
cmp byte [rbx + 0x21], r14b
jne 0x14007997e
cmp dil, 0x12
jne 0x14007999a
cmp byte [rbx + 0x1a], r14b
jne 0x14007999a
cmp byte [rbx + 0x20], r14b
jne 0x14007999a
bts r9, 0x1d
movzx r8d, dil
mov edx, 0x104
jmp 0x1400799b1
movzx r8d, dil
mov edx, 0x100
jmp 0x1400799b1
movzx r8d, cx
mov r9, r15
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140079a1a
cmp dil, 0xff
je 0x1400799e8
mov rcx, rsi
call fcn.140078b50
mov r8b, bpl
mov dl, dil
mov rcx, rbx
cmp al, r15b
jne 0x1400799de
mov r9d, r15d
jmp 0x1400799e1
xor r9d, r9d
call fcn.14007a1b4
jmp 0x140079a1a
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
mov ecx, r15d
mov dword [rsp + 0x30], r15d
mov r8d, SafeArrayCreateEx
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.140078904
Function at 0x140079a40
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 rbx, rcx
mov bpl, byte [rdx + 7]
xor r14d, r14d
movzx ecx, word [rdx + 8]
mov rsi, rdx
mov r9d, 1
cmp qword [rbx + 0x28], r14
je 0x140079b25
cmp dil, 0x14
je 0x140079b25
lea eax, [rdi + 0x70]
cmp al, r9b
jbe 0x140079b25
cmp dil, 0xff
je 0x140079b86
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140079ac3
movzx eax, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
mov rcx, rsi
call fcn.140078b50
movzx r9d, al
mov eax, 0xc0000001
shl r9, 0x18
add r9, rax
movzx eax, bpl
shl rax, 0x10
or r9, rax
cmp byte [rbx + 0x1b], r14b
jne 0x140079af8
cmp byte [rbx + 0x21], r14b
jne 0x140079af8
cmp dil, 0x12
jne 0x140079b10
cmp byte [rbx + 0x1a], r14b
jne 0x140079b10
cmp byte [rbx + 0x20], r14b
jne 0x140079b10
bts r9, 0x1d
mov edx, 0x105
jmp 0x140079b15
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140079b86
cmp dil, 0xff
je 0x140079b54
mov rcx, rsi
call fcn.140078b50
cmp al, r9b
mov r8b, bpl
mov r9d, 3
mov dl, dil
mov rcx, rbx
je 0x140079b4d
mov r9d, 2
call fcn.14007a1b4
jmp 0x140079b86
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
mov ecx, r9d
mov dword [rsp + 0x30], r9d
mov r8d, SafeArrayCreateEx
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.1400788ec
Function at 0x140079bac
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x140079bf0
cmp byte [rdx + 1], sil
jne 0x140079bf0
cmp byte [rdx + 2], sil
jne 0x140079bf0
cmp byte [rdx + 3], sil
jne 0x140079bf0
cmp byte [rdx + 4], sil
je 0x140079dae
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x140079d34
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140079d34
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140079c66
mov cl, 0x80
mov al, byte [rsp + 0x40]
cmp byte [rbx], sil
je 0x140079c2f
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x140079c3e
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x140079c48
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x140079c52
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x140079c5b
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x140079c71
cmp byte [rbx + 1], sil
je 0x140079c93
movzx r9d, byte [rdi + 0x32]
mov edx, 0x100
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_recv
shl r9, 0x10
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x140079cbb
movzx r9d, byte [rdi + 0x30]
mov edx, 0x100
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_recvfrom
shl r9, 0x10
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 3], sil
je 0x140079d06
cmp byte [rbx + 2], sil
jne 0x140079ce4
cmp byte [rdi + 0x20], sil
jne 0x140079ce4
movzx r9d, byte [rdi + 0x31]
mov edx, 0x104
shl r9, 0x10
or r9, 0x20000001
jmp 0x140079cf6
movzx r9d, byte [rdi + 0x31]
mov edx, 0x100
shl r9, 0x10
or r9, 1
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x140079da6
movzx r9d, byte [rdi + 0x35]
mov edx, 0x100
mov rcx, qword [rdi + 0x28]
mov r8d, 0x5b
shl r9, 0x10
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140079da6
cmp byte [rbx], sil
je 0x140079d4a
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 1], sil
je 0x140079d61
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 2], sil
je 0x140079d78
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 3], sil
je 0x140079d8f
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 4], sil
je 0x140079da6
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.14007a1b4
mov rcx, rdi
call fcn.140078904
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140079dc8
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x130
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x140079e10
cmp byte [rdx + 1], sil
jne 0x140079e10
cmp byte [rdx + 2], sil
jne 0x140079e10
cmp byte [rdx + 3], sil
jne 0x140079e10
cmp byte [rdx + 4], sil
je 0x140079fd5
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x140079f55
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140079f55
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140079e86
mov cl, 0x80
mov al, byte [rsp + 0x40]
cmp byte [rbx], sil
je 0x140079e4f
xor al, cl
xor byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x140079e5e
xor al, cl
xor byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x140079e68
xor byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x140079e72
xor byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x140079e7b
xor byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
mov r15d, 0xc0000001
mov r14d, 0x101
cmp byte [rbx], sil
jne 0x140079e9d
cmp byte [rbx + 1], sil
je 0x140079ebc
movzx r9d, byte [rdi + 0x32]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, qword [rdi + 0x28]
mov edx, r14d
shl r9, 0x10
or r9, r15
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x140079ee1
movzx r9d, byte [rdi + 0x30]
mov r8d, reloc.WSOCK32.dll_recvfrom
mov rcx, qword [rdi + 0x28]
mov edx, r14d
shl r9, 0x10
or r9, r15
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 3], sil
je 0x140079f2a
cmp byte [rbx + 2], sil
jne 0x140079f0b
cmp byte [rdi + 0x20], sil
jne 0x140079f0b
movzx r9d, byte [rdi + 0x31]
mov eax, 0xe0000001
shl r9, 0x10
mov edx, 0x105
or r9, rax
jmp 0x140079f1a
movzx r9d, byte [rdi + 0x31]
mov edx, r14d
shl r9, 0x10
or r9, r15
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x140079fcd
movzx r9d, byte [rdi + 0x35]
mov r8d, 0x5b
mov rcx, qword [rdi + 0x28]
mov edx, r14d
shl r9, 0x10
or r9, r15
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140079fcd
mov r14d, 2
cmp byte [rbx], sil
je 0x140079f71
mov r8b, byte [rdi + 0x33]
mov r9d, r14d
mov dl, 0xa0
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 1], sil
je 0x140079f88
mov r8b, byte [rdi + 0x34]
mov r9d, r14d
mov dl, 0xa1
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 2], sil
je 0x140079f9f
mov r8b, byte [rdi + 0x30]
mov r9d, r14d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 3], sil
je 0x140079fb6
mov r8b, byte [rdi + 0x31]
mov r9d, r14d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.14007a1b4
cmp byte [rbx + 4], sil
je 0x140079fcd
mov r8b, byte [rdi + 0x35]
mov r9d, r14d
mov dl, 0x5b
mov rcx, rdi
call fcn.14007a1b4
mov rcx, rdi
call fcn.1400788ec
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140079ff4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x14007a076
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
mov ebx, ecx
test ecx, ecx
je 0x14007a061
cmp ebx, 0xf
jae 0x14007a05f
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14007a05f
xorps xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm6, xmm6
sub rax, qword [rsp + 0x60]
cvtsi2sd xmm6, rax
call fcn.140022ecc
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x14007a029
jmp 0x14007a067
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 0x14007a078
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15b, r8b
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14007a0a7
cmp byte [rcx + 9], dl
je 0x14007a19a
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x14007a156
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8d, [r14 + 1]
mov ecx, ebx
mov edx, eax
mov dword [0x1400f4088], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x14007a12f
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400f4088]
mov dword [0x1400f408c], eax
cmp ecx, eax
je 0x14007a11d
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400f408c]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x14007a19a
test r14d, r14d
jne 0x14007a19a
test ebp, ebp
jne 0x14007a19a
mov eax, dword [0x1400f4088]
cmp ebx, eax
jne 0x14007a19a
cmp eax, dword [0x1400f408c]
jne 0x14007a19a
and qword [rsi + 0x28], 0
jmp 0x14007a19a
test rdi, rdi
je 0x14007a187
mov edx, dword [0x1400f408c]
xor r8d, r8d
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400f4088]
mov edx, dword [0x1400f408c]
cmp eax, edx
je 0x14007a18d
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400f4088]
xor r8d, r8d
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14007a21c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov qword [rcx], 0xff
mov byte [rcx + 0xa], al
mov rbx, rcx
mov word [rcx + 8], dx
test dx, dx
je 0x14007a283
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
movzx edi, ax
cmp ax, 0xffff
je 0x14007a283
movzx ecx, dil
xor edx, edx
mov byte [rbx], cl
sar di, 8
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
test al, dil
je 0x14007a26f
mov byte [rbx + 1], al
test dil, 2
je 0x14007a278
mov byte [rbx + 3], al
test dil, 4
je 0x14007a285
mov byte [rbx + 4], al
jmp 0x14007a285
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007a290
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov dword [rcx + 6], eax
mov dword [rcx + 1], eax
mov byte [rcx + 5], al
mov byte [rcx + 0xa], al
mov byte [rcx], dl
cmp dl, 0xff
je 0x14007a2be
movzx ecx, dl
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14007c0c8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14007bf1c
mov rcx, qword [rsi]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
add qword [rsi + 0x18], rax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14007c368
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x14007c39a
call fcn.14007ddd0
test al, al
jne 0x14007c3b7
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 0x14007c3ad
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, 0x20
pop rbx
ret
Function at 0x14007c3c0
Capabilities:
Copy file
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1ff88]
mov eax, 0x20080
call fcn.140049520
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.14007d8d4
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.14007d8d4
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x14007c455
test dil, dil
je 0x14007c477
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.140029b4c
test eax, eax
je 0x14007c54b
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007c54b
lea rcx, [rbp + 0xff80]
call fcn.14007dd74
test al, al
je 0x14007c477
lea rcx, [rbp - 0x80]
call fcn.14007dd74
test al, al
je 0x14007c492
test dil, dil
jne 0x14007c4ca
xor al, al
lea r11, [rsp + 0x20080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000c6d0
lea rcx, [rsp + 0x58]
call fcn.14007c84c
test al, al
lea rcx, [rsp + 0x58]
sete bl
call fcn.1400054ac
test bl, bl
jne 0x14007c477
lea rcx, [rbp - 0x80]
call fcn.14007dd74
test al, al
je 0x14007c477
lea rdx, str..
lea rcx, [rbp + 0xff80]
call fcn.14002e328
lea rcx, [rbp + 0xff80]
call fcn.1400292e8
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.1400292e8
xorps xmm0, xmm0
mov dword [rsp + 0x44], esi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
movdqu xmmword [rsp + 0x48], xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x14007c477
mov al, 1
jmp 0x14007c479
Function at 0x14007c814
Capabilities:
Copy file

Disassembly:
sub rsp, 0x38
mov rdx, qword [rdx]
lea rax, [rsp + 0x40]
mov rcx, qword [rcx]
xor r9d, r9d
and dword [rsp + 0x40], 0
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp eax, 1
sete al
add rsp, 0x38
ret

Function at 0x14007c84c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
lea r12, [0x1400b74d8]
mov r8, qword [rcx + 8]
xor ebx, ebx
mov rsi, qword [rcx]
mov edi, 1
mov qword [rbp - 0x30], rax
or r14, 0xffffffffffffffff
mov rax, qword [rcx + 0x18]
mov edx, ebx
mov qword [rbp - 0x40], rsi
lea rcx, [r8 - 1]
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x28], rax
add dword [rax], edi
test r8, r8
je 0x14007c8df
mov r10, rbx
mov r9, rbx
mov r11d, 0x5c
cmp word [rsi + rcx*2], r11w
lea rax, [r9 + 1]
cmovne rax, r9
add r10, rdi
mov r9, rax
movzx r11d, word [r12 + r10*2]
test r11w, r11w
jne 0x14007c8b1
test rax, rax
je 0x14007c8e2
sub rcx, rdi
add rdx, rdi
cmp rdx, r8
jb 0x14007c8a5
mov rcx, r14
cmp rcx, r14
lea rax, [rcx + 1]
mov rdx, rbx
lea rcx, [rbp - 0x40]
cmovne rdx, rax
mov r8, r14
call fcn.1400099a4
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14007c9d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14007c931
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14007c93a
jmp 0x14007c9dd
cmp eax, 3
jne 0x14007c9da
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 8], rax
mov qword [rbp - 0x20], rsi
add dword [rax], edi
mov rax, rbx
mov rcx, qword [rbp - 0x18]
lea rdx, [rcx - 1]
test rcx, rcx
je 0x14007c995
mov r10, qword [rbp - 0x20]
mov r9, rbx
mov r8d, 0x5c
cmp word [r10 + rdx*2], r8w
je 0x14007c998
add r9, rdi
movzx r8d, word [r12 + r9*2]
test r8w, r8w
jne 0x14007c975
sub rdx, rdi
add rax, rdi
cmp rax, rcx
jb 0x14007c96c
mov rdx, r14
cmp rdx, r14
je 0x14007c9c8
mov r8, r14
lea rcx, [rbp - 0x20]
call fcn.1400099a4
lea rcx, [rbp - 0x20]
call fcn.14007c84c
test al, al
je 0x14007c9c6
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
mov bl, al
lea rcx, [rbp - 0x20]
call fcn.1400054ac
jmp 0x14007c9da
test al, 0x10
je 0x14007c9da
mov bl, dil
mov dil, bl
lea rcx, [rbp - 0x40]
call fcn.1400054ac
lea r11, [rsp + 0x60]
mov al, dil
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret