joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002e90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140262920]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov r8d, 0x43a5b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1400030c2
mov r8d, 0x43a5b
lea rdx, [0x1402634a0]
mov rcx, rax
call fcn.14019d5d0
call rbx
mov rcx, rdi
call fcn.140019338
mov dword [rsp + 0x28], 1
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140017348
xor edx, edx
mov rcx, rdi
call fcn.140017570
xor r9d, r9d
mov edx, 0x40000
mov r8d, 0x80
mov rcx, rdi
call fcn.140017310
mov rcx, rdi
call fcn.140003d30
mov r9, qword [rdi + 0x1e8]
mov edx, 0x80
lea r8d, [rsi + 1]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rdi + 0x1e8]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov ebx, esi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareJixun.MoeDuGenerator
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000302c
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.LANG_ID
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003012
cmp dword [rsp + 0x3c], 4
jne 0x140003012
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
test rbx, rbx
je 0x140003028
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], esi
lea rcx, [rdi + 0x170]
mov edx, 0x66
call fcn.140005240
lea rcx, [rdi + 0x178]
mov edx, 0x67
call fcn.140005240
mov r9d, 0x27100000
xor r8d, r8d
mov edx, 0x401
mov rcx, qword [rdi + 0x230]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc5
mov rcx, qword [rdi + 0x5a0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
test rbx, rbx
je 0x14000309d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140199ac0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 1
call fcn.1401a3f4c
int3
Function at 0x14005d8f4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14005d91a
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14003568c
jmp 0x14005d986
cmp byte [0x1402b0f60], 0
jne 0x14005d95e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005d94e
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402b0f58], rax
jmp 0x14005d955
mov rax, qword [0x1402b0f58]
mov byte [0x1402b0f60], 1
jmp 0x14005d965
mov rax, qword [0x1402b0f58]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x14005d97f
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x1401585e9.0]
jmp 0x14005d986
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140064e6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x140064e97
call fcn.14001ed74
mov rbx, qword [rax + 0x18]
lea r8, [0x1401e1fc0]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140064ef0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140064ef0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140064ef0
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.140064f08
jmp 0x140064ef2
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400eddf4
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400edf40
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x1400edf82
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x140008530
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400b7040]
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.1400aae50
add rsp, 0x30
pop rbx
ret

Function at 0x14000b260
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 0x14000b362
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000b291
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.1400aa2f0
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 0x14000b30c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b307
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b307
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aae70
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000b342
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000b33d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b35b
mov rcx, r8
call fcn.1400aae70
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.140007670
int3

Function at 0x14000bdb0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov dword [rsp + 0x20], pe_nt_image_headers64
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 0x14000be02
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400a9cc0
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400aae50
add rsp, 0x140
pop rbx
ret
Function at 0x14000be40
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov dword [rsp + 0x20], pe_nt_image_headers64
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 0x14000be92
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400a9cc0
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400aae50
add rsp, 0x140
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x2d0
mov rax, qword [0x1400b7040]
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, pe_nt_image_headers64
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 0x14000bf45
mov rdx, rax
mov rcx, rbx
call fcn.1400a9cc0
mov rax, rbx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400aae50
add rsp, 0x2d0
pop rbx
ret

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

Disassembly:
sub rsp, 0x308
mov rax, qword [0x1400b7040]
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 0x14000c060
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000c091
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 0x14000c0a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
test ecx, ecx
je 0x14000c0bd
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 0x14000d230
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 0x14000d25d
mov r8, qword [rcx]
add r8, qword [rcx + 0x10]
mov rdx, qword [rcx]
jmp 0x14000d264
mov r8, qword [rcx + 0x10]
add r8, rcx
lea rcx, [rsp + 0x50]
call fcn.140040cb0
mov rdi, rax
cmp qword [rax + 0x18], 7
jbe 0x14000d27b
mov rdi, qword [rax]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d28e
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x14000d294
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140040cb0
cmp qword [rax + 0x18], 7
jbe 0x14000d2a8
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 0x14000d300
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d34c
call fcn.1400aae70
movdqa xmm0, xmmword [0x1400b0a50]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000d358
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d353
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d353
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aae70
mov edi, ebp
test esi, esi
sete dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000d396
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000d391
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d3bd
mov rcx, r8
call fcn.1400aae70
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 0x14000d600
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.1400a9cc0
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003fd70
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 0x14000d6c3
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d6be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d70a
call fcn.1400aae70
movdqa xmm0, xmmword [0x1400b0a60]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000d717
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d711
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d711
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aae70
nop
add rsp, 0x60
pop rbx
ret

Function at 0x14000e040
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 0x14000e119
test edi, edi
je 0x14000e119
xor edx, edx
cmp esi, 1
jne 0x14000e0a4
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 0x14000e0d5
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 0x14000e106
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 0x14000e520
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov ebx, dword [0x1400b7d80]
cmp dword [0x1400b8078], 0
jne 0x14000e5a4
cmp dword [0x1400b807c], 0
jne 0x14000e5a4
movups xmm0, xmmword [0x1400b8044]
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.1400a9cc0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.14000dc40
xor edi, edi
test ebx, ebx
je 0x14000e5e2
mov rcx, qword [0x1400b8070]
mov dword [rsp + 0x40], 0x5a0049
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rcx
mov eax, dword [0x1400b806c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400b8068]
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 [0x1400b8070]
mov qword [rsp + 0x28], rax
mov eax, dword [0x1400b806c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400b8068]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400b8060]
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000e644
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 0x14000e667
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 0x14000e6b8
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400b8078]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [0x1400b8080]
mov rcx, qword [0x1400b8058]
call qword [sym.imp.USER32.dll_GetWindowRect]
inc dword [0x1400b7d38]
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 [0x1400b8b94], ecx
jle 0x14000e72b
lea rcx, [0x1400b8b94]
call fcn.1400aaee4
cmp dword [0x1400b8b94], 0xffffffff
jne 0x14000e72b
mov dword [0x1400b8cc8], ebx
lea rcx, [0x1400b8b94]
call fcn.1400aae78
mov eax, dword [0x1400b8cc8]
add eax, 0x3e8
cmp ebx, eax
jl 0x14000e752
mov dword [0x1400b8cc8], ebx
mov eax, dword [0x1400b7d38]
mov dword [0x1400b8090], eax
mov dword [0x1400b7d38], edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400aae50
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x14000e8f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400b7040]
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 0x14000e942
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400b8078]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x1400b8058]
lea rdx, [0x1400b8080]
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400b8058]
jne 0x14000eb14
cmp dword [0x1400b8094], 0
jne 0x14000e9e1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000e9e1
cmp dword [0x1400b8bac], 0
jne 0x14000e9ee
cmp dword [0x1400b8c24], 0
je 0x14000e9d2
mov eax, dword [0x1400b807c]
sub eax, dword [0x1400b8084]
mov ecx, dword [0x1400b8078]
sub ecx, dword [0x1400b8080]
mov dword [0x1400b82e4], eax
xor eax, eax
mov dword [0x1400b8c24], eax
mov dword [0x1400b82e0], ecx
mov dword [0x1400b8bac], 1
jmp 0x14000eb1f
cmp dword [0x1400b8bac], 0
je 0x14000eac1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000eac1
mov eax, dword [0x1400b808c]
mov r9d, dword [0x1400b8088]
mov r8d, dword [0x1400b807c]
mov edx, dword [0x1400b8078]
sub eax, dword [0x1400b8084]
sub r9d, dword [0x1400b8080]
sub r8d, dword [0x1400b82e4]
sub edx, dword [0x1400b82e0]
mov rcx, qword [0x1400b8058]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov dword [0x1400b8094], 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 [0x1400b8c28], ecx
jle 0x14000eaa5
lea rcx, [0x1400b8c28]
call fcn.1400aaee4
cmp dword [0x1400b8c28], 0xffffffff
jne 0x14000eaa5
lea rcx, [0x1400b8c28]
mov dword [0x1400b8c10], ebx
call fcn.1400aae78
mov eax, ebx
sub eax, dword [0x1400b8c10]
cmp eax, 0x64
jl 0x14000eaba
mov dword [0x1400b8c10], ebx
jmp 0x14000eb1f
mov eax, 1
jmp 0x14000eb21
xor eax, eax
mov dword [0x1400b8c24], 1
cmp dword [0x1400b8098], eax
mov dword [0x1400b8bac], eax
mov dword [0x1400b8094], eax
jne 0x14000eaff
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000eaf8
mov ecx, 1
jmp 0x14000eb19
mov ecx, 3
jmp 0x14000eb19
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x50
call fcn.140041160
jmp 0x14000eb1f
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.1400aae50
add rsp, 0x78
ret