joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140074e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140333a10]
mov rcx, qword [rax + 0x5028]
mov r9, qword [rax + 0x41d8]
movups xmm0, xmmword [r9 + 0x278]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2e0]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x278], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2e0]
add rsp, 0x38
jmp fcn.14006b340

Function at 0x140074f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140333a10]
mov rcx, qword [rax + 0x5028]
mov r10, qword [rax + 0x41d8]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2e0]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x278], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2e0]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.14006b340
Function at 0x140098540
Capabilities:
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, 0x90
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r14d, r14d
movabs r15, 0xe38e38e38e38e39
nop word [rax + rax]
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14009872e
xor ebp, ebp
mov r9, qword [0x14032f328]
mov rcx, r9
mov r8, qword [0x14032f320]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14009872e
xor r10d, r10d
xor esi, esi
nop word [rax + rax]
mov rcx, r9
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
ja 0x140098702
lea rbx, [rsi + r8]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140008600
movsxd rdi, dword [rbx + 0x20]
mov dword [rsp + 0x50], edi
mov ecx, dword [rbx + 0x24]
mov dword [rsp + 0x54], ecx
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rsp + 0x58], xmm0
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x70], rax
cmp r14d, ecx
jne 0x1400986ea
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140098655
imul rdx, rax, 0x64
jmp 0x140098671
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rdx, [rax + rcx]
mov qword [rsp + 0x68], rdx
imul rcx, rdi, 0x3b9aca00
add rcx, rdx
mov qword [rsp + 0x70], rcx
mov rbx, qword [0x14032f310]
cmp rbx, qword [0x14032f318]
je 0x1400986d5
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140008600
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x54]
mov dword [rbx + 0x24], eax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x28], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x38], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x40], rax
add qword [0x14032f310], 0x48
jmp 0x1400986ea
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [0x14032f308]
call fcn.14009b220
nop
lea rcx, [rsp + 0x30]
call fcn.140009cd0
mov r9, qword [0x14032f328]
mov r8, qword [0x14032f320]
inc ebp
add rsi, 0x48
movsxd r10, ebp
mov rcx, r9
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
jb 0x1400985d0
inc r14d
cmp r14d, 0x100
jl 0x140098580
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400e7bc0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400a3680
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a375e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400a3755
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400a36f0
cmp qword [rbx + 0x18], 8
mov r8, rbx
mov rdx, qword [rbx + 0x10]
jb 0x1400a370b
mov r8, qword [rbx]
cmp rdx, rax
jne 0x1400a3743
lea rax, [rsp + 0x4c]
test rdx, rdx
je 0x1400a3736
lea rcx, [rsp + 0x4c]
sub r8, rcx
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x1400a3743
add rax, 2
sub rdx, 1
jne 0x1400a3722
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400a3760
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400a36e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400e7bc0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x1400a5010
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rsi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x60]
lea rcx, [0x14032f378]
call fcn.140003690
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400a5047
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140008430
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], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.140009cd0
nop
lea rcx, [rsp + 0x60]
call fcn.140009cd0
mov eax, edi
and eax, 0xfffffffe
or edi, 1
cmp byte [rsi], 0
cmove edi, eax
lea rdx, [rsp + 0x80]
lea rcx, [0x14032f378]
call fcn.140003690
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400a50e7
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140008430
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne bl
lea rcx, [rsp + 0x40]
call fcn.140009cd0
nop
lea rcx, [rsp + 0x80]
call fcn.140009cd0
movzx eax, bl
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400a5180
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
lea rdx, [rsp + 0x40]
lea rcx, [0x14032f378]
call fcn.140003690
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400a51a9
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140008430
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], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
and bl, 1
lea rcx, [rsp + 0x20]
call fcn.140009cd0
nop
lea rcx, [rsp + 0x40]
call fcn.140009cd0
movzx eax, bl
add rsp, 0x60
pop rbx
ret

Function at 0x1400a5f70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400a5fa4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400a5f90
ret
Function at 0x1400a9f70
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400aa03c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400aa03c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400aa055
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400aa02c
cmp byte [rax], 0x5c
jne 0x1400aa026
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400aa026
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400aa012
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400aa023
test r8b, 0x10
jne 0x1400aa026
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400aa026
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400a6d70
test edi, edi
jne 0x1400a9f90
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400a6d60
int3
Function at 0x1400c3f40
Capabilities:
Create process on windows
Enumerate processes
Terminate process

Disassembly:
push rbx
sub rsp, 0x2c0
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xorps xmm0, xmm0
lea rdx, str.DeadByDaylight_Win64_Shipping.exe
xorps xmm1, xmm1
lea rcx, [rsp + 0x50]
mov r8d, 0x21
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
call fcn.14000e170
lea rcx, [rsp + 0x50]
call fcn.1400a3680
lea rcx, [rsp + 0x50]
movzx ebx, al
call fcn.140009c60
test bl, bl
je 0x1400c414f
mov r9d, 4
lea r8, str.Continue_
lea rdx, str.This_Will_Close_And_Reopen_Dead_By_Daylight.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x1400c4179
xorps xmm0, xmm0
mov qword [rsp + 0x40], 0
mov r8d, 0x21
mov qword [rsp + 0x48], 0
lea rdx, str.DeadByDaylight_Win64_Shipping.exe
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14000e170
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c4014
xor r8d, r8d
jmp 0x1400c411e
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400c403f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
jmp 0x1400c411e
mov qword [rsp + 0x2d0], rbp
mov rbp, qword [rsp + 0x30]
mov qword [rsp + 0x2d8], rsi
mov rsi, qword [rsp + 0x48]
mov qword [rsp + 0x2e0], rdi
mov rdi, qword [rsp + 0x40]
nop word [rax + rax]
lea rcx, [rsp + 0x9c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400c4080
cmp rsi, 8
lea r8, [rsp + 0x30]
cmovae r8, rbp
cmp rdi, rax
jne 0x1400c40e4
lea rax, [rsp + 0x9c]
mov rdx, rdi
test rdi, rdi
je 0x1400c40d4
lea rcx, [rsp + 0x9c]
sub r8, rcx
nop word [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x1400c40e4
add rax, 2
sub rdx, 1
jne 0x1400c40c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x78]
jmp 0x1400c4106
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400c4070
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
mov rsi, qword [rsp + 0x2d8]
mov rbp, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x2e0]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.140009c60
test rbx, rbx
je 0x1400c414f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 0xa
lea r8, str.steam:__rungameid_381210
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400e7bc0
add rsp, 0x2c0
pop rbx
ret
Function at 0x1400c4880
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x20], 1
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400c4914
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x1400c490e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400c490e
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400c48f0
mov rdx, rax
mov rcx, rbx
call fcn.140009dd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d45e0
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 [0x14014ce70]
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 0x1400d4688
cmp dword [rsp + 0x40], 0x12
jne 0x1400d4670
mov rax, qword [0x140330988]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400d466e
mov rcx, qword [rsp + 0x80]
call fcn.1400cd200
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
jmp 0x1400d4641
jmp 0x1400d4686
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400d460c
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400d4816
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 0x1400d4816
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 0x1400d473d
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 4
jge 0x1400d4816
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, [0x1403321b8]
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 0x1400d47c7
jmp 0x1400d472d
movsxd rax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax + 0x90]
cmp eax, 1
je 0x1400d47e9
jmp 0x1400d472d
call fcn.1400d63b0
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.1400cfa40
jmp 0x1400d472d
mov rax, qword [0x140332b58]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400d48b9
lea r8, [rsp + 0xf4]
lea rdx, [rsp + 0xd4]
mov rcx, qword [rsp + 0x80]
call fcn.1400d31a0
mov eax, dword [rsp + 0xd4]
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0x394], eax
jne 0x1400d4889
mov eax, dword [rsp + 0xf4]
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0x398], eax
je 0x1400d48b9
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.1400d4a30
mov rcx, rsp
lea rdx, [0x1400f1eb8]
call fcn.1400e8760
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400e7bc0
add rsp, 0x120
pop rdi
ret
Function at 0x1400d5d60
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 0x1400d5dd8
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400da7f0
mov rcx, rsp
lea rdx, [0x1400f22b0]
call fcn.1400e8760
add rsp, 0x50
pop rdi
ret

Function at 0x1400d5e00
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 0x1400d5e70
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400da7f0
mov rcx, rsp
lea rdx, [0x1400f2310]
call fcn.1400e8760
add rsp, 0x50
pop rdi
ret

Function at 0x1400d63b0
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 0x1400d63de
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 0x1400d63fe
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 0x1400d641e
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 0x1400d6456
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 0x1400d6474
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 0x1400d6492
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d8db0
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1400d8de0
mov r8d, 0x2b
lea rdx, [0x140146260]
lea rcx, str.tls__win32.allocated__GLFW_FALSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0xffffffff
jne 0x1400d8e0e
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400c9280
xor eax, eax
jmp 0x1400d8e1e
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1400d8e70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 1
je 0x1400d8ea0
mov r8d, 0x41
lea rdx, [0x140146340]
lea rcx, [0x1401463b0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d8ec0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 1
je 0x1400d8ef5
mov r8d, 0x47
lea rdx, [0x140146400]
lea rcx, str.tls__win32.allocated__GLFW_TRUE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x20
pop rdi
ret
Function at 0x1400da940
Capabilities:
Log keystrokes

Disassembly:
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8d, 0x6d1
xor edx, edx
lea rcx, [0x140332472]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x20
jmp 0x1400da9a5
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15c
jg 0x1400daba9
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x1403321b8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x168], 0xffffffff
jne 0x1400da9d6
jmp 0x1400da99b
cmp dword [rsp + 0x40], 0x140
jl 0x1400daab2
cmp dword [rsp + 0x40], 0x14e
jg 0x1400daab2
mov dword [rsp + 0x1b8], 0x60
mov dword [rsp + 0x1bc], 0x61
mov dword [rsp + 0x1c0], 0x62
mov dword [rsp + 0x1c4], 0x63
mov dword [rsp + 0x1c8], 0x64
mov dword [rsp + 0x1cc], 0x65
mov dword [rsp + 0x1d0], 0x66
mov dword [rsp + 0x1d4], 0x67
mov dword [rsp + 0x1d8], 0x68
mov dword [rsp + 0x1dc], 0x69
mov dword [rsp + 0x1e0], 0x6e
mov dword [rsp + 0x1e4], 0x6f
mov dword [rsp + 0x1e8], 0x6a
mov dword [rsp + 0x1ec], 0x6d
mov dword [rsp + 0x1f0], 0x6b
mov eax, dword [rsp + 0x40]
sub eax, 0x140
cdqe
mov eax, dword [rsp + rax*4 + 0x1b8]
mov dword [rsp + 0x164], eax
jmp 0x1400daacb
mov edx, 1
mov ecx, dword [rsp + 0x168]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 0xffffffff
jne 0x1400dab45
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 1
jge 0x1400dab54
jmp 0x1400da99b
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 5
lea rcx, [0x140332472]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x178]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1400da99b
mov rcx, rsp
lea rdx, [0x1400f2e90]
call fcn.1400e8760
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400e7bc0
add rsp, 0x220
pop rdi
ret