joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013620
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x208
call qword [0x140024280]
lea rcx, [rsp + 0x20]
call qword [0x1400243c0]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x1e], 0x5c
je 0x14001367a
lea rdx, [0x140024e58]
lea rcx, [rsp + 0x20]
call qword [0x140024108]
lea rdx, str.wtsapi32.dll
lea rcx, [rsp + 0x20]
call qword [0x140024108]
mov ecx, 0x8001
call qword [0x140024278]
lea rcx, [rsp + 0x20]
call qword [0x1400241a0]
mov rbx, rax
test rax, rax
je 0x1400136cd
lea rdx, str.WTSUnRegisterSessionNotification
mov rcx, rax
call qword [0x140024198]
test rax, rax
je 0x1400136c4
mov rcx, rdi
call rax
mov rcx, rbx
call qword [0x140024190]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140013ba0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x1400136f0
Capabilities:
Find taskbar

Disassembly:
sub rsp, 0x28
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [0x140024508]
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140015dcf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002c200]
jne 0x140013bba
rol rcx, 0x10
test cx, 0xffff
jne 0x140013bb6
repz ret
ror rcx, 0x10
jmp 0x140015d28
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400301b0]
call qword [0x140024338]
mov r11, qword [0x1400302a8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.140022fd8
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140015dad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400301b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call fcn.140022fea
jmp 0x140015dcf
mov rax, qword [rsp + 0x88]
mov qword [0x1400302a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140030248], rax
mov rax, qword [0x1400302a8]
mov qword [0x140030120], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140030230], rax
mov dword [0x140030110], 0xc0000409
mov dword [0x140030114], 1
mov rax, qword [0x14002c200]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002c208]
mov qword [rsp + 0x70], rax
call qword [0x140024348]
mov dword [0x1400301a8], eax
mov ecx, 1
call fcn.1400197b0
xor ecx, ecx
call qword [0x140024350]
lea rcx, [0x140025e80]
call qword [0x140024358]
cmp dword [0x1400301a8], 0
jne 0x140015e56
mov ecx, 1
call fcn.1400197b0
call qword [0x140024178]
mov edx, 0xc0000409
mov rcx, rax
call qword [0x140024360]
add rsp, 0x88
ret
Function at 0x140016214
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14001bfa8
nop
cmp dword [0x1400306d8], 1
je 0x1400161b4
mov dword [0x1400306d4], 1
mov byte [0x1400306d0], r12b
test ebx, ebx
jne 0x1400161a0
mov rcx, qword [0x1400322d0]
call fcn.140016564
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001618d
mov rcx, qword [0x1400322c8]
call fcn.140016564
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14001612c
call fcn.140016558
cmp qword [rdi], rax
jne 0x14001612c
jmp 0x140016112
cmp rdi, rsi
jb 0x14001618d
mov rcx, qword [rdi]
call fcn.140016564
mov rbx, rax
call fcn.140016558
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400322d0]
call fcn.140016564
mov rbx, rax
mov rcx, qword [0x1400322c8]
call fcn.140016564
cmp r14, rbx
jne 0x14001616b
cmp r13, rax
je 0x14001618b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140016112
lea rdx, [0x140024878]
lea rcx, [0x140024860]
call fcn.140015f5c
lea rdx, [0x140024888]
lea rcx, [0x140024880]
call fcn.140015f5c
nop
test r12d, r12d
je 0x1400161c3
mov ecx, 8
call fcn.14001bea8
test r12d, r12d
jne 0x1400161ee
mov dword [0x1400306d8], 1
lea ecx, [r12 + 8]
call fcn.14001bea8
mov ecx, r15d
call fcn.140015ef0
mov ecx, r15d
call qword [0x140024318]
int3
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001607c
Function at 0x14001c2d4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140016558
xor ebx, ebx
mov rdi, rax
cmp qword [0x140030ef8], rbx
jne 0x14001c3da
lea rcx, str.USER32.DLL
call qword [0x140024208]
mov rsi, rax
test rax, rax
je 0x14001c4af
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [0x140024198]
test rax, rax
je 0x14001c4af
mov rcx, rax
call fcn.140016550
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140030ef8], rax
call qword [0x140024198]
mov rcx, rax
call fcn.140016550
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140030f00], rax
call qword [0x140024198]
mov rcx, rax
call fcn.140016550
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140030f08], rax
call qword [0x140024198]
mov rcx, rax
call fcn.140016550
mov r11, rax
mov qword [0x140030f18], rax
test rax, rax
je 0x14001c3d1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [0x140024198]
mov rcx, rax
call fcn.140016550
mov qword [0x140030f10], rax
jmp 0x14001c3e1
mov rax, qword [0x140030f10]
jmp 0x14001c3e8
mov rax, qword [0x140030f10]
mov r11, qword [0x140030f18]
cmp rax, rdi
je 0x14001c450
cmp r11, rdi
je 0x14001c450
mov rcx, rax
call fcn.140016564
mov rcx, qword [0x140030f18]
mov rsi, rax
call fcn.140016564
mov r12, rax
test rsi, rsi
je 0x14001c450
test rax, rax
je 0x14001c450
call rsi
test rax, rax
je 0x14001c44a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001c44a
test byte [rsp + 0x38], 1
jne 0x14001c450
bts ebp, 0x15
jmp 0x14001c48e
mov rcx, qword [0x140030f00]
cmp rcx, rdi
je 0x14001c48e
call fcn.140016564
test rax, rax
je 0x14001c48e
call rax
mov rbx, rax
test rax, rax
je 0x14001c48e
mov rcx, qword [0x140030f08]
cmp rcx, rdi
je 0x14001c48e
call fcn.140016564
test rax, rax
je 0x14001c48e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140030ef8]
Function at 0x1400087f0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ac4e0
add rsp, 0x30
pop rbx
ret

Function at 0x14000b520
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x14000b622
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000b551
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.start
lea rcx, [rsp + 0x40]
call fcn.1400ab980
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000b5cc
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b5c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b5c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac500
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000b602
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000b5fd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b61b
mov rcx, r8
call fcn.1400ac500
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x60
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007720
int3

Function at 0x14000c090
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000c0e2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400ab350
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400ac4e0
add rsp, 0x140
pop rbx
ret
Function at 0x14000c120
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000c172
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400ab350
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400ac4e0
add rsp, 0x140
pop rbx
ret

Function at 0x14000c1b0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push rbx
sub rsp, 0x2d0
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbx, rcx
mov ecx, 2
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, 0x100
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rcx, qword [rcx]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor ecx, ecx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], cl
jne 0x14000c225
mov rdx, rax
mov rcx, rbx
call fcn.1400ab350
mov rax, rbx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400ac4e0
add rsp, 0x2d0
pop rbx
ret

Function at 0x14000c260
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x308
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14000c340
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000c371
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x53
call qword [sym.imp.USER32.dll_keybd_event]
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000c380
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
test ecx, ecx
je 0x14000c39d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
sets cl
mov eax, ecx
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000d530
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rbx, rdx
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14000d55d
mov r8, qword [rcx]
add r8, qword [rcx + 0x10]
mov rdx, qword [rcx]
jmp 0x14000d564
mov r8, qword [rcx + 0x10]
add r8, rcx
lea rcx, [rsp + 0x50]
call fcn.140040100
mov rdi, rax
cmp qword [rax + 0x18], 7
jbe 0x14000d57b
mov rdi, qword [rax]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d58e
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x14000d594
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140040100
cmp qword [rax + 0x18], 7
jbe 0x14000d5a8
mov rax, qword [rax]
xor ebp, ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rdi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000d600
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d64c
call fcn.1400ac500
movdqa xmm0, xmmword [0x1400b1aa0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000d658
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d653
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac500
mov edi, ebp
test esi, esi
sete dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000d696
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000d691
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d6bd
mov rcx, r8
call fcn.1400ac500
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000d900
Capabilities:
Execute command
Self delete

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 4
lea rdx, str.del
lea rcx, [rsp + 0x40]
call fcn.1400ab350
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d93e
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14003fc70
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000d9d1
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d9cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000da18
call fcn.1400ac500
movdqa xmm0, xmmword [0x1400b1ab0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000da25
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000da1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac500
nop
add rsp, 0x60
pop rbx
ret

Function at 0x14000e350
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, edx
mov ebx, r8d
mov esi, edx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edi, ax
and edi, 0x8000
test ebx, ebx
je 0x14000e429
test edi, edi
je 0x14000e429
xor edx, edx
cmp esi, 1
jne 0x14000e3b4
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp esi, 2
jne 0x14000e3e5
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov ecx, 0x10
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp esi, 4
jne 0x14000e416
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov ecx, 0x40
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
mov r8d, 2
movzx ecx, sil
call qword [sym.imp.USER32.dll_keybd_event]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000e830
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov ebx, dword [0x1400b8e1c]
cmp dword [0x1400b9128], 0
jne 0x14000e8b4
cmp dword [0x1400b912c], 0
jne 0x14000e8b4
movups xmm0, xmmword [0x1400b90f4]
movaps xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x60], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov r8d, 0x26
lea rdx, str.You_are_a_unique_star_in_the_universe.
lea rcx, [rsp + 0x60]
call fcn.1400ab350
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.14000df50
xor edi, edi
test ebx, ebx
je 0x14000e8f2
mov rcx, qword [0x1400b9120]
mov dword [rsp + 0x40], 0x5a0049
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rcx
mov eax, dword [0x1400b911c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400b9118]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rax, qword [0x1400b9120]
mov qword [rsp + 0x28], rax
mov eax, dword [0x1400b911c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400b9118]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400b9110]
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000e954
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000e977
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000e9c8
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400b9128]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [0x1400b9130]
mov rcx, qword [0x1400b9108]
call qword [sym.imp.USER32.dll_GetWindowRect]
inc dword [0x1400b8dcc]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400b9c54], ecx
jle 0x14000ea3b
lea rcx, [0x1400b9c54]
call fcn.1400ac574
cmp dword [0x1400b9c54], 0xffffffff
jne 0x14000ea3b
mov dword [0x1400b9da0], ebx
lea rcx, [0x1400b9c54]
call fcn.1400ac508
mov eax, dword [0x1400b9da0]
add eax, 0x3e8
cmp ebx, eax
jl 0x14000ea62
mov dword [0x1400b9da0], ebx
mov eax, dword [0x1400b8dcc]
mov dword [0x1400b9140], eax
mov dword [0x1400b8dcc], edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400ac4e0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x14000ec00
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000ec52
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400b9128]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x1400b9108]
lea rdx, [0x1400b9130]
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400b9108]
jne 0x14000ee24
cmp dword [0x1400b9144], 0
jne 0x14000ecf1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000ecf1
cmp dword [0x1400b9c78], 0
jne 0x14000ecfe
cmp dword [0x1400b9cec], 0
je 0x14000ece2
mov eax, dword [0x1400b912c]
sub eax, dword [0x1400b9134]
mov ecx, dword [0x1400b9128]
sub ecx, dword [0x1400b9130]
mov dword [0x1400b9394], eax
xor eax, eax
mov dword [0x1400b9cec], eax
mov dword [0x1400b9390], ecx
mov dword [0x1400b9c78], 1
jmp 0x14000ee2f
cmp dword [0x1400b9c78], 0
je 0x14000edd1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000edd1
mov eax, dword [0x1400b913c]
mov r9d, dword [0x1400b9138]
mov r8d, dword [0x1400b912c]
mov edx, dword [0x1400b9128]
sub eax, dword [0x1400b9134]
sub r9d, dword [0x1400b9130]
sub r8d, dword [0x1400b9394]
sub edx, dword [0x1400b9390]
mov rcx, qword [0x1400b9108]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov dword [0x1400b9144], 1
call qword [sym.imp.USER32.dll_MoveWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword gs:[0x58]
mov rbx, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400b9cf0], ecx
jle 0x14000edb5
lea rcx, [0x1400b9cf0]
call fcn.1400ac574
cmp dword [0x1400b9cf0], 0xffffffff
jne 0x14000edb5
lea rcx, [0x1400b9cf0]
mov dword [0x1400b9cdc], ebx
call fcn.1400ac508
mov eax, ebx
sub eax, dword [0x1400b9cdc]
cmp eax, 0x64
jl 0x14000edca
mov dword [0x1400b9cdc], ebx
jmp 0x14000ee2f
mov eax, 1
jmp 0x14000ee31
xor eax, eax
mov dword [0x1400b9cec], 1
cmp dword [0x1400b9148], eax
mov dword [0x1400b9c78], eax
mov dword [0x1400b9144], eax
jne 0x14000ee0f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000ee08
mov ecx, 1
jmp 0x14000ee29
mov ecx, 5
jmp 0x14000ee29
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x50
call fcn.1400405b0
jmp 0x14000ee2f
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ac4e0
add rsp, 0x78
ret