joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c98b0
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1400c8e6e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400f29d8
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x1400c8e7a
cmp rbx, rbp
jne 0x1400c8e20
cmp qword [rsp + 0x68], r14
jne 0x1400c8e4d
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x1400c8e89
mov qword [r15], r12
mov rax, r12
jmp 0x1400c8e8c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1400c8e4d
nop word [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400f29d8
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400c8f26
cmp rbx, rbp
jne 0x1400c8f00
jmp 0x1400c8e4a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1400c8ea0
jmp 0x1400c8e4d
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400c995c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1400c98ea
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x1400c8d70
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400c992a
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.1400f29d8
mov rcx, rbx
test rbx, rbx
jne 0x1400c9910
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.1400ad940
add rsp, 0x20
pop rdi
ret
Function at 0x1400c9970
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1400c903e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400f29d8
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x1400c904a
cmp rbx, rbp
jne 0x1400c8ff0
cmp qword [rsp + 0x68], r14
jne 0x1400c901d
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x1400c9059
mov qword [r15], r12
mov rax, r12
jmp 0x1400c905c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1400c901d
nop word [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400f29d8
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400c90f6
cmp rbx, rbp
jne 0x1400c90d0
jmp 0x1400c901a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1400c9070
jmp 0x1400c901d
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400c9a1c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1400c99aa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x1400c8f40
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400c99ea
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.1400f29d8
mov rcx, rbx
test rbx, rbx
jne 0x1400c99d0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.1400ad940
add rsp, 0x20
pop rdi
ret
Function at 0x1400c9b90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov rbx, rdx
movzx eax, byte [rdx + 1]
mov rdi, qword [r10 + 0x18]
mov r9, qword [r10 + 8]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
imul r8, rcx
and r8, qword [r10 + 0x30]
mov r11, r8
shl r11, 4
add r11, rdi
mov rcx, qword [r11 + 8]
cmp rcx, r9
je 0x1400c9c85
mov eax, dword [rbx]
mov rdx, qword [r11]
cmp eax, dword [rcx + 0x10]
je 0x1400c9c1e
nop dword [rax]
cmp rcx, rdx
je 0x1400c9c85
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x1400c9c10
test rcx, rcx
je 0x1400c9c85
add r8, r8
mov rax, qword [rdi + r8*8]
cmp qword [r11 + 8], rcx
jne 0x1400c9c49
cmp rax, rcx
jne 0x1400c9c3f
mov qword [rdi + r8*8], r9
mov qword [r11 + 8], r9
jmp 0x1400c9c55
mov r9, qword [rcx + 8]
mov qword [r11 + 8], r9
jmp 0x1400c9c55
cmp rax, rcx
jne 0x1400c9c55
mov rax, qword [rcx]
mov qword [rdi + r8*8], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x18
call fcn.1400f29d8
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1400c9ca0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r11, rdx
movzx eax, byte [rdx + 1]
mov rdi, qword [r10 + 0x18]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r10 + 8]
imul r8, rcx
xor r8, rax
imul r8, rcx
and r8, qword [r10 + 0x30]
mov r9, r8
shl r9, 4
add r9, rdi
mov rbx, qword [r9 + 8]
cmp rbx, rdx
je 0x1400c9da1
mov eax, dword [r11]
mov rcx, qword [r9]
cmp eax, dword [rbx + 0x10]
je 0x1400c9d2e
nop
cmp rbx, rcx
je 0x1400c9da1
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400c9d20
test rbx, rbx
je 0x1400c9da1
add r8, r8
mov rax, qword [rdi + r8*8]
cmp qword [r9 + 8], rbx
jne 0x1400c9d59
cmp rax, rbx
jne 0x1400c9d4f
mov qword [rdi + r8*8], rdx
mov qword [r9 + 8], rdx
jmp 0x1400c9d65
mov rdx, qword [rbx + 8]
mov qword [r9 + 8], rdx
jmp 0x1400c9d65
cmp rax, rbx
jne 0x1400c9d65
mov rax, qword [rbx]
mov qword [rdi + r8*8], rax
mov rcx, qword [rbx]
dec qword [r10 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x10]
call fcn.140095310
mov edx, 0x38
mov rcx, rbx
call fcn.1400f29d8
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400ca3e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
mov r10, rcx
movzx r9d, dl
movabs r11, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov eax, edx
imul r9, r11
mov rbx, qword [r10 + 0x68]
sar eax, 8
movzx r8d, al
mov eax, edx
xor r9, r8
sar eax, 0x10
mov r8, qword [r10 + 0x58]
imul r9, r11
movzx ecx, al
mov eax, edx
xor r9, rcx
sar eax, 0x18
imul r9, r11
movzx ecx, al
xor r9, rcx
imul r9, r11
and r9, qword [r10 + 0x80]
mov r11, r9
shl r11, 4
add r11, rbx
mov rcx, qword [r11 + 8]
cmp rcx, r8
je 0x1400ca4c6
mov rax, qword [r11]
cmp edx, dword [rcx + 0x10]
je 0x1400ca46e
nop dword [rax]
cmp rcx, rax
je 0x1400ca4c6
mov rcx, qword [rcx + 8]
cmp edx, dword [rcx + 0x10]
jne 0x1400ca460
test rcx, rcx
je 0x1400ca4c6
add r9, r9
mov rax, qword [rbx + r9*8]
cmp qword [r11 + 8], rcx
jne 0x1400ca499
cmp rax, rcx
jne 0x1400ca48f
mov qword [rbx + r9*8], r8
mov qword [r11 + 8], r8
jmp 0x1400ca4a5
mov r8, qword [rcx + 8]
mov qword [r11 + 8], r8
jmp 0x1400ca4a5
cmp rax, rcx
jne 0x1400ca4a5
mov rax, qword [rcx]
mov qword [rbx + r9*8], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x60]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
pop rbx
jmp fcn.1400f29d8
pop rbx
ret
Function at 0x1400ca5c0
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbp, rcx
lea rax, [r11 - 0x38]
mov qword [r11 + 8], rax
lea r8, [r11 + 0x10]
lea rdx, [r11 - 0x58]
add rcx, 0x90
call fcn.1400c7690
mov rdx, qword [rax]
add rdx, 0x18
cmp qword [rdx + 0x18], 0x10
jb 0x1400ca607
mov rdx, qword [rdx]
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rdx + r8], dil
jne 0x1400ca626
lea rcx, [rsp + 0x40]
call fcn.14007eee0
nop
call fcn.1400c3b40
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400c3bc0
lea rcx, [rbp + 0x10]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x30]
call fcn.1400c7960
mov rcx, qword [rax]
mov qword [rcx + 0x18], rdi
mov rbx, qword [rcx + 0x20]
mov qword [rcx + 0x20], rdi
test rbx, rbx
je 0x1400ca69f
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400ca69f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400ca69f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, dword [rsp + 0x88]
movzx ecx, dl
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
movzx eax, byte [rsp + 0x89]
xor rcx, rax
imul rcx, r8
movzx eax, byte [rsp + 0x8a]
xor rcx, rax
imul rcx, r8
movzx eax, byte [rsp + 0x8b]
xor rcx, rax
imul rcx, r8
and rcx, qword [rbp + 0x40]
mov r10, qword [rbp + 0x28]
mov r9, rcx
add r9, r9
mov r11, qword [r10 + r9*8 + 8]
mov rbx, r11
mov r8, qword [rbp + 0x18]
cmp r11, r8
je 0x1400ca7c1
mov rax, qword [r10 + r9*8]
cmp edx, dword [r11 + 0x10]
je 0x1400ca732
nop
cmp rbx, rax
je 0x1400ca7c1
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x1400ca720
test rbx, rbx
je 0x1400ca7c1
add rcx, rcx
mov rax, qword [r10 + rcx*8]
cmp r11, rbx
jne 0x1400ca762
cmp rax, rbx
jne 0x1400ca757
mov qword [r10 + rcx*8], r8
mov qword [r10 + r9*8 + 8], r8
jmp 0x1400ca76e
mov r8, qword [rbx + 8]
mov qword [r10 + r9*8 + 8], r8
jmp 0x1400ca76e
cmp rax, rbx
jne 0x1400ca76e
mov rax, qword [rbx]
mov qword [r10 + rcx*8], rax
mov rcx, qword [rbx]
dec qword [rbp + 0x20]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400ca7b4
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400ca7b4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400ca7b4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x28
mov rcx, rbx
call fcn.1400f29d8
lea rdx, [rsp + 0x88]
lea rcx, [rbp + 0x90]
call fcn.1400c9ca0
lea rcx, [rbp + 0xd0]
lea rdx, [rsp + 0x88]
call fcn.1400c9ca0
lea rcx, [rbp + 0x110]
lea rdx, [rsp + 0x88]
call fcn.1400c9b90
lea rcx, [rbp + 0x150]
lea rdx, [rsp + 0x88]
call fcn.1400c9b90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ca830
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x278
mov rax, qword [0x14016f898]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, r8
mov qword [rsp + 0x58], 0
mov rsi, rdx
mov qword [rsp + 0x50], 0
mov rbx, rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
mov rdi, r9
call sub.VCRUNTIME140.dll_memset
mov rax, 0xffffffffffffffff
cmp byte [rbx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400ca885
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rcx
lea r9d, [rax + 1]
xor ecx, ecx
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x58]
mov r9, rsi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
lea r8d, [rdx + 1]
mov dword [rsp + 0x28], 0x800
mov qword [rsp + 0x20], rbp
call sub.D3DCOMPILER_47.dll_D3DCompileFromFile
test eax, eax
jns 0x1400ca92e
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400ca91c
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
cmp qword [rsp + 0x58], 0
je 0x1400ca92a
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400ca938
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400f2a70
add rsp, 0x278
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400e6f60
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14017d6f0], 0
jne 0x1400e6f75
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400e5a50
jmp 0x1400e9630
push rbx
sub rsp, 0xa0
mov rax, qword [0x14016f898]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400e96ca
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400e9695
mov rbx, qword [0x14017dae0]
test rbx, rbx
je 0x1400e96ab
mov rcx, rbx
call fcn.1400e6710
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400e9683
jmp 0x1400e96ab
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400e9670
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400e97c7
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1400e97bf
movdqa xmm0, xmmword [0x140148e20]
xor ebx, ebx
movdqa xmm1, xmmword [0x140148e30]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x14017ea48]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400e978e
cmp byte [rbp + rdi + 0x80], 1
jne 0x1400e978e
call fcn.1400eab70
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400e78c0
inc rbx
cmp rbx, 4
jl 0x1400e9750
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x14017f3e8]
test rbx, rbx
je 0x1400e9849
mov rcx, qword [rbx + 0x348]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
cmp dword [rbx + 0x380], eax
jne 0x1400e980d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x384], eax
je 0x1400e9849
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x380], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x384], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400f2a70
add rsp, 0xa0
pop rbx
ret
Function at 0x1400e7000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x14017d6f0], 0
mov r10d, r9d
mov r11d, r8d
jne 0x1400e701b
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400e5a50
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x30]
test r8d, r8d
jle 0x1400e7070
test r9d, r9d
jle 0x1400e7070
mov eax, dword [rsp + 0x38]
cmp eax, 0xfffffffe
jg 0x1400e704c
mov r8d, eax
lea rdx, str.Invalid_refresh_rate__i
mov ecx, 0x10004
jmp fcn.1400e5a50
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r8d
mov dword [rcx + 0x28], r8d
mov r8d, r11d
mov dword [rcx + 0x2c], r9d
mov r9d, r10d
mov dword [rcx + 0x3c], eax
jmp fcn.1400e9b50
lea rdx, str.Invalid_window_size__ix_i
mov ecx, 0x10004
jmp fcn.1400e5a50
Function at 0x1400e9630
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14017d6f0], 0
jne 0x1400e6f75
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400e5a50
jmp 0x1400e9630
push rbx
sub rsp, 0xa0
mov rax, qword [0x14016f898]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400e96ca
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400e9695
mov rbx, qword [0x14017dae0]
test rbx, rbx
je 0x1400e96ab
mov rcx, rbx
call fcn.1400e6710
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400e9683
jmp 0x1400e96ab
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400e9670
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400e97c7
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1400e97bf
movdqa xmm0, xmmword [0x140148e20]
xor ebx, ebx
movdqa xmm1, xmmword [0x140148e30]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x14017ea48]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400e978e
cmp byte [rbp + rdi + 0x80], 1
jne 0x1400e978e
call fcn.1400eab70
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400e78c0
inc rbx
cmp rbx, 4
jl 0x1400e9750
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x14017f3e8]
test rbx, rbx
je 0x1400e9849
mov rcx, qword [rbx + 0x348]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
cmp dword [rbx + 0x380], eax
jne 0x1400e980d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x384], eax
je 0x1400e9849
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x380], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x384], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400f2a70
add rsp, 0xa0
pop rbx
ret
Function at 0x1400ea8e0
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov qword [0x14017f3e8], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400ea935
mov rcx, qword [rbx + 0x348]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [0x14017f3d8], xmm0
movsd qword [0x14017f3e0], xmm1
cmp dword [rbx + 0x74], 0x34001
jne 0x1400ea95f
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400ea94d
mov rcx, qword [rcx + 8]
jmp 0x1400ea961
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
jmp 0x1400ea961
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.1400e7670
mov rcx, rbx
call fcn.1400ead00
cmp dword [rbx + 0x1f0], 0
je 0x1400ea9be
mov rax, qword [rbx + 0x348]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400ea9be
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400ecd50
add rsp, 0x30
pop rbx
ret

Function at 0x1400ea9d0
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x1f0], 0
mov rbx, rcx
je 0x1400eaa20
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400eaa20
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400ecd50
xor ecx, ecx
mov qword [0x14017f3e8], 0
call fcn.1400ead00
cvttsd2si ecx, qword [0x14017f3d8]
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x14017f3e0]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x380], ecx
mov rcx, qword [rbx + 0x348]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x384], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [rbx + 0x74], 0x34001
jne 0x1400eaab4
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400eaa98
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
xor ecx, ecx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]