joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000250d
lea rbx, [0x14008de20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400024f4
cmp r10, 2
jb 0x1400024f4
cmp byte [r9], r8b
jne 0x1400024f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400024d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000254f
lea rbx, [0x14008de20]
cmp r8b, 0x23
jne 0x140002533
cmp byte [r9], r8b
jne 0x140002533
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002520
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400026aa
mov qword [r8], 0
lea rdx, [0x14008dc14]
call fcn.140002560
mov rbx, rax
test rax, rax
jne 0x1400026ca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400027a1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400027a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400027a1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400027a1
cmp rdi, 0xffffffffffffffff
je 0x1400027a1
mov rax, qword [0x1400cff90]
test rax, rax
je 0x14000273e
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400027a1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000278e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cff90]
test rax, rax
je 0x140002783
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400027aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000279c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400027ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000ed20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400cff90]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x14000ed80
cmp byte [rbx + 0x1f4e], 0
jne 0x14000ed80
mov r9d, dword [rbx + 0x3028]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002430
test dil, 1
je 0x14000ee9e
jmp 0x14000ee08
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3028]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14009431c]
mulss xmm1, dword [0x140094310]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14009429c]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.140002430
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000ee58
lea r11, [0x14008de20]
cmp r9b, 0x23
jne 0x14000ee3b
cmp byte [r8], r9b
jne 0x14000ee3b
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000ee28
not ecx
call fcn.140008d10
test rax, rax
je 0x14000ee9e
cmp byte [rax + 0x8e], 0
je 0x14000ee9e
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3028]
mov edx, 0x10
mov r9d, dword [rbx + 0x3028]
call fcn.140002430
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000b340
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006f080
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140013190
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30c8], 0
lea rbx, [rcx + 0x30d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140013237
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400131ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140014fa0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002bb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x30d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400cff88]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001323f
mov rcx, rbx
call fcn.140002bb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400323c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov eax, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov qword [rsp + 0x80], rcx
xor r8d, r8d
mov dword [rsp + 0x20], r8d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov dword [rsp + 0x20], 1
mov r15d, r8d
test eax, eax
jle 0x140032618
mov r12d, r8d
nop
movsxd rcx, r12d
add rcx, rdx
call fcn.140039660
mov rdi, rax
test rax, rax
je 0x1400325f4
lea rcx, [rax + 0x38]
call fcn.140039660
cmp rax, 0x11e0101
jne 0x1400325f4
lea rcx, [rdi + 0x430]
call fcn.140039660
mov rbp, rax
test rax, rax
je 0x1400325f4
lea rcx, [rdi + 0x3f0]
call fcn.140039660
mov r13, rax
lea rcx, [rax + 0x628]
call fcn.140039660
lea rcx, [rax + 0xf8]
call fcn.140039710
mov ebx, eax
lea r14, [rbp + 0x560]
mov rcx, r14
call fcn.140039710
mov dword [rsp + 0x24], eax
cmp ebx, dword [0x1400d3010]
je 0x1400325f4
lea rcx, [rdi + 0x9a8]
call fcn.140039660
mov qword [rsp + 0x30], rax
lea rcx, [rdi + 0x230]
call fcn.140039660
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x558]
call fcn.140039660
mov rbx, rax
mov rcx, qword [0x1400d2fa0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14003260c
mov dword [rsp + 0x88], 0
mov rcx, qword [0x1400d2fa0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14003260c
mov rax, r14
shr rax, 0x24
add rax, 0xfffffffffffffff8
mov r9d, 4
lea r8, [rsp + 0x88]
mov rcx, qword [0x1400d2fd0]
test rax, 0xfffffffffffffff7
je 0x140032554
mov rdx, r14
call fcn.1400314e0
jmp 0x140032563
and r14d, 0xffffff
mov edx, r14d
call fcn.140031690
cmp dword [rsp + 0x88], 0
jne 0x14003257c
lea rcx, [rbp + 0x568]
call fcn.140039660
mov rbx, rax
mov qword [rsp + 0x48], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r13
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rbx
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x7c], 1
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1400325e7
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdx + 0x20], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rdx + 0x30], xmm1
add qword [rsi + 8], 0x38
jmp 0x1400325f4
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.14003a240
inc r15d
add r12d, 8
cmp r15d, dword [rsp + 0x28]
jge 0x140032618
mov rdx, qword [rsp + 0x40]
jmp 0x140032430
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, rsi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006f080
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140032850
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x18]
sub rsp, 0x118
lea eax, [r8 + r8*2]
mov rdi, rcx
mov rcx, qword [0x1400d2fa0]
mov rsi, rdx
shl eax, 4
movsxd rbx, eax
add rbx, qword [rdx + 0x28]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140032a23
mov rcx, qword [0x1400d2fa0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140032a23
mov rcx, qword [0x1400d2fd0]
lea r8, [rsp + 0x20]
mov rax, rbx
mov qword [rsp + 0x110], r14
shr rax, 0x24
mov r9d, 0x30
add rax, 0xfffffffffffffff8
test rax, 0xfffffffffffffff7
je 0x1400328e8
mov rdx, rbx
call fcn.1400314e0
jmp 0x1400328f5
and ebx, 0xffffff
mov edx, ebx
call fcn.140031690
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rbp - 0x70]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.140031b60
mov rbx, qword [rsi + 0x20]
mov r14, rax
mov rcx, qword [0x1400d2fa0]
add rbx, 0x250
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140032a17
mov rcx, qword [0x1400d2fa0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140032a17
mov rcx, qword [0x1400d2fd0]
lea r8, [rsp + 0x20]
mov rax, rbx
mov r9d, 0x30
shr rax, 0x24
add rax, 0xfffffffffffffff8
test rax, 0xfffffffffffffff7
je 0x14003299a
mov rdx, rbx
call fcn.1400314e0
jmp 0x1400329a7
and ebx, 0xffffff
mov edx, ebx
call fcn.140031690
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rbp - 0x30]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.140031b60
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140031750
movss xmm0, dword [rbp - 0x80]
mov rax, rdi
movss xmm1, dword [rbp - 0x7c]
mov r14, qword [rsp + 0x110]
movss dword [rdi], xmm0
movss xmm0, dword [rbp - 0x78]
movss dword [rdi + 8], xmm0
movss dword [rdi + 4], xmm1
add rsp, 0x118
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140039660
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov rcx, qword [0x1400d2fa0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400396f7
mov rcx, qword [0x1400d2fa0]
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400396f7
mov rcx, qword [0x1400d2fd0]
lea r8, [rsp + 0x20]
mov rax, rbx
mov r9d, 8
shr rax, 0x24
add rax, 0xfffffffffffffff8
test rax, 0xfffffffffffffff7
je 0x1400396d2
mov rdx, rbx
call fcn.1400314e0
jmp 0x1400396df
and ebx, 0xffffff
mov edx, ebx
call fcn.140031690
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006f080
add rsp, 0x30
pop rbx
ret
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140039710
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov rcx, qword [0x1400d2fa0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400397a5
mov rcx, qword [0x1400d2fa0]
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400397a5
mov rcx, qword [0x1400d2fd0]
lea r8, [rsp + 0x20]
mov rax, rbx
mov r9d, 4
shr rax, 0x24
add rax, 0xfffffffffffffff8
test rax, 0xfffffffffffffff7
je 0x140039781
mov rdx, rbx
call fcn.1400314e0
jmp 0x14003978e
and ebx, 0xffffff
mov edx, ebx
call fcn.140031690
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006f080
add rsp, 0x30
pop rbx
ret
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400397c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov rcx, qword [0x1400d2fa0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140039857
mov rcx, qword [0x1400d2fa0]
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140039857
mov rcx, qword [0x1400d2fd0]
lea r8, [rsp + 0x20]
mov rax, rbx
mov r9d, 4
shr rax, 0x24
add rax, 0xfffffffffffffff8
test rax, 0xfffffffffffffff7
je 0x140039831
mov rdx, rbx
call fcn.1400314e0
jmp 0x14003983e
and ebx, 0xffffff
mov edx, ebx
call fcn.140031690
movss xmm0, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006f080
add rsp, 0x30
pop rbx
ret
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140039870
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov rcx, qword [0x1400d2fa0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140039903
mov rcx, qword [0x1400d2fa0]
mov byte [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140039903
mov rcx, qword [0x1400d2fd0]
lea r8, [rsp + 0x20]
mov rax, rbx
mov r9d, 1
shr rax, 0x24
add rax, 0xfffffffffffffff8
test rax, 0xfffffffffffffff7
je 0x1400398de
mov rdx, rbx
call fcn.1400314e0
jmp 0x1400398eb
and ebx, 0xffffff
mov edx, ebx
call fcn.140031690
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006f080
add rsp, 0x30
pop rbx
ret
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14005c0d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14005c113
jmp 0x14005c205
movsxd rax, dword [rsp + 0x30]
shl rax, 1
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14005c14c
lea rdx, str.Win32:_Failed_to_allocate_global_handle_for_clipboard
mov ecx, 0x10008
call fcn.140069060
jmp 0x14005c205
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005c185
lea rdx, [0x1400a2ca8]
mov ecx, 0x10008
call fcn.140069060
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14005c205
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [0x1400ce4d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14005c1e9
lea rdx, [0x1400a2cd0]
mov ecx, 0x10008
call fcn.140069060
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14005c205
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rsp + 0x38]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x50
pop rdi
ret
Function at 0x14005c220
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rdi
sub rsp, 0x30
mov rcx, qword [0x1400ce4d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14005c24f
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.140069060
xor eax, eax
jmp 0x14005c2eb
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14005c282
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.140069060
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x14005c2eb
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14005c2b5
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
call fcn.140069060
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x14005c2eb
mov rcx, qword [0x1400ce4f0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x28]
call fcn.140068cb0
mov qword [0x1400ce4f0], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x1400ce4f0]
add rsp, 0x30
pop rdi
ret
Function at 0x14005dd30
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x120
lea rdi, [rsp + 0x30]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14005ddd8
cmp dword [rsp + 0x40], 0x12
jne 0x14005ddc0
mov rax, qword [0x1400cd210]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14005ddbe
mov rcx, qword [rsp + 0x80]
call fcn.14005ba20
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
jmp 0x14005dd91
jmp 0x14005ddd6
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14005dd5c
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14005df66
lea rdx, str.GLFW
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetPropW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14005df66
mov dword [rsp + 0x98], 0xa0
mov dword [rsp + 0x9c], 0x154
mov dword [rsp + 0xa0], 0xa1
mov dword [rsp + 0xa4], 0x158
mov dword [rsp + 0xa8], 0x5b
mov dword [rsp + 0xac], 0x157
mov dword [rsp + 0xb0], 0x5c
mov dword [rsp + 0xb4], 0x15b
mov dword [rsp + 0x88], 0
jmp 0x14005de8d
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 4
jge 0x14005df66
movsxd rax, dword [rsp + 0x88]
lea rax, [rsp + rax*8 + 0x98]
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx]
mov dword [rsp + 0xc4], eax
movsxd rax, dword [rsp + 0x88]
lea rax, [rsp + rax*8 + 0x98]
mov ecx, 4
imul rcx, rcx, 1
mov eax, dword [rax + rcx]
mov dword [rsp + 0xc8], eax
movsxd rax, dword [rsp + 0xc8]
lea rcx, [0x1400ce8f8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0xcc], eax
mov ecx, dword [rsp + 0xc4]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005df17
jmp 0x14005de7d
movsxd rax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax + 0x90]
cmp eax, 1
je 0x14005df39
jmp 0x14005de7d
call fcn.14005f410
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0xcc]
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x80]
call fcn.140057820
jmp 0x14005de7d
mov rax, qword [0x1400cf298]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14005e009
lea r8, [rsp + 0xf4]
lea rdx, [rsp + 0xd4]
mov rcx, qword [rsp + 0x80]
call fcn.14005c970
mov eax, dword [rsp + 0xd4]
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0x394], eax
jne 0x14005dfd9
mov eax, dword [rsp + 0xf4]
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0x398], eax
je 0x14005e009
mov eax, dword [rsp + 0xf4]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
mov eax, dword [rsp + 0xd4]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm1, eax
movaps xmm2, xmm0
mov rcx, qword [rsp + 0x80]
call fcn.14005bc90
mov rcx, rsp
lea rdx, [0x14008a900]
call fcn.14006fa84
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14006f080
add rsp, 0x120
pop rdi
ret
Function at 0x14005edc0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x358]
mov qword [rsp + 0x30], rax
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x14005ee38
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140069060
mov rcx, rsp
lea rdx, [0x14008abf0]
call fcn.14006fa84
add rsp, 0x50
pop rdi
ret

Function at 0x14005ee60
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], 0
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x14005eed0
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140069060
mov rcx, rsp
lea rdx, [0x14008ac40]
call fcn.14006fa84
add rsp, 0x50
pop rdi
ret

Function at 0x14005f410
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005f43e
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005f45e
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14005f47e
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov dword [rsp + 0x24], eax
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
and eax, 0x8000
test eax, eax
je 0x14005f4b6
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x14005f4d4
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x14005f4f2
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret