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

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14001b680
lea r11, [0x140081ce0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b663
cmp byte [r8], r9b
jne 0x14001b663
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14001b650
mov rcx, qword [0x14009c590]
not edx
add rcx, 0x1cf8
jmp fcn.140013b90

Function at 0x140021b10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14009c590]
mov r8d, ecx
mov rbx, qword [rax + 0x1d10]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x140081ce0]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140021bd0
lea ecx, [rdx + 1]
test r8d, r8d
je 0x140021bb6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140021bbb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140032ad0
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140022a30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140099128]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14009c590]
mov edi, edx
cmp byte [rbx + 0x20cd], 0
jne 0x140022a90
cmp byte [rbx + 0x20ce], 0
jne 0x140022a90
mov r9d, dword [rbx + 0x3170]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140013420
test dil, 1
je 0x140022bc4
jmp 0x140022b1f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3170]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14008bf50]
mulss xmm1, dword [0x14008bf40]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1dd4], rax
mov dword [rbx + 0x1dbc], 1
movss dword [rbx + 0x1dcc], xmm0
mov byte [rbx + 0x1df4], 1
movss dword [rbx + 0x1dd0], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14008beb8]
or dword [rbx + 0x1db8], 0x41
movss dword [rbx + 0x1e18], xmm0
call fcn.140013420
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140022b70
lea r11, [0x140081ce0]
nop
cmp r9b, 0x23
jne 0x140022b53
cmp byte [r8], r9b
jne 0x140022b53
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140022b40
mov rcx, qword [0x14009c590]
not edx
add rcx, 0x1cf8
call fcn.140013b90
test rax, rax
je 0x140022bc4
cmp byte [rax + 0xcf], 0
je 0x140022bc4
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3170]
mov edx, 0x10
mov r9d, dword [rbx + 0x3170]
call fcn.140013420
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14001e240
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005f310
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140027680
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 + 0x3258], 0
lea rbx, [rcx + 0x3260]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140027727
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400276da
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.140010300
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140013f70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3258]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3268]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14009c588]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002772f
mov rcx, rbx
call fcn.140013f70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140027a80
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140027ad2
lea r11, [0x140081ce0]
cmp r9b, 0x23
jne 0x140027ab5
cmp byte [r8], r9b
jne 0x140027ab5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140027aa2
mov r11, qword [0x14009c590]
mov r10, qword [r11 + 0x3220]
test r10, r10
je 0x140027b19
lea r9, [r10 + 4]
test r9, r9
je 0x140027b19
not eax
cmp dword [r9], eax
je 0x140027b22
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3218]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140027af0
mov rcx, rbx
pop rbx
jmp fcn.140027990
mov rax, r9
pop rbx
ret
Function at 0x14002aa10
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002ac0c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140099128]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140081ce0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x14002abd4
mov rcx, rbp
call fcn.14002a0f0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14002aa8e
lea rcx, [rbp + 0x31b8]
call fcn.140013b90
mov rcx, rax
jmp 0x14002aa90
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb8], 0xfffffe49
or dword [rbx + 0xb8], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14002ab21
cmp qword [rcx + 0x18], 0
jne 0x14002ab16
mov qword [rcx + 0x18], rbx
jmp 0x14002ab21
cmp qword [rcx + 0x20], 0
jne 0x14002ab21
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14002ab5c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002ab50
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.140013420
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x14002abb8
cmp r9b, 0x23
jne 0x14002ab9b
cmp byte [r8], r9b
jne 0x14002ab9b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x14002ab88
mov rcx, qword [0x14009c590]
not edx
add rcx, 0x1cf8
call fcn.140013b90
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14002aa60
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005f310
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14004dbb0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x14004dc3b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14004dc10
lea r10, [0x140081ce0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14004dbf3
cmp byte [r8], r9b
jne 0x14004dbf3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x14004dbe0
mov rcx, qword [0x14009c590]
not eax
cmp dword [rcx + 0x1d60], eax
jne 0x14004dc27
mov dword [rcx + 0x1d64], eax
cmp dword [rcx + 0x1da0], eax
jne 0x14004dc8d
mov byte [rcx + 0x1da4], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x14009c590]
mov rax, qword [rbx + 0x1d10]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.140013530
cmp dword [rbx + 0x1d60], eax
jne 0x14004dc79
mov dword [rbx + 0x1d64], eax
cmp dword [rbx + 0x1da0], eax
jne 0x14004dc88
mov byte [rbx + 0x1da4], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140052b30
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x1400999a0], 0
jne 0x140052b45
xor edx, edx
mov ecx, 0x10001
jmp fcn.140053070
jmp 0x140054000
push rbx
sub rsp, 0x80
mov rax, qword [0x140099128]
xor rax, rsp
mov qword [rsp + 0x70], 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 0x140054097
cmp dword [rsp + 0x38], 0x12
jne 0x140054062
mov rbx, qword [0x140099d90]
test rbx, rbx
je 0x140054078
nop word [rax + rax]
mov rcx, rbx
call fcn.140052320
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140054050
jmp 0x140054078
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 0x140054037
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x140054140
lea rdx, str.GLFW
mov qword [rsp + 0x90], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x140054138
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0xa1
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
cmp ebx, 0x8000
jae 0x140054107
cmp byte [rdi + 0x1d4], 1
jne 0x140054107
call fcn.140055730
movsx r8d, word [0x14009afa0]
mov edx, 0x154
jmp 0x140054129
cmp eax, 0x8000
jae 0x140054138
cmp byte [rdi + 0x1d8], 1
jne 0x140054138
call fcn.140055730
movsx r8d, word [0x14009afa8]
mov edx, 0x158
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.140056f90
mov rdi, qword [rsp + 0x90]
mov rbx, qword [0x14009b698]
test rbx, rbx
je 0x1400541c2
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 + 0x378], eax
jne 0x140054186
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x37c], eax
je 0x1400541c2
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x378], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x37c], 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 + 0x70]
xor rcx, rsp
call fcn.14005f310
add rsp, 0x80
pop rbx
ret

Function at 0x140053700
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x140053730
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.140058710
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140054000
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x1400999a0], 0
jne 0x140052b45
xor edx, edx
mov ecx, 0x10001
jmp fcn.140053070
jmp 0x140054000
push rbx
sub rsp, 0x80
mov rax, qword [0x140099128]
xor rax, rsp
mov qword [rsp + 0x70], 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 0x140054097
cmp dword [rsp + 0x38], 0x12
jne 0x140054062
mov rbx, qword [0x140099d90]
test rbx, rbx
je 0x140054078
nop word [rax + rax]
mov rcx, rbx
call fcn.140052320
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140054050
jmp 0x140054078
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 0x140054037
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x140054140
lea rdx, str.GLFW
mov qword [rsp + 0x90], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x140054138
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0xa1
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
cmp ebx, 0x8000
jae 0x140054107
cmp byte [rdi + 0x1d4], 1
jne 0x140054107
call fcn.140055730
movsx r8d, word [0x14009afa0]
mov edx, 0x154
jmp 0x140054129
cmp eax, 0x8000
jae 0x140054138
cmp byte [rdi + 0x1d8], 1
jne 0x140054138
call fcn.140055730
movsx r8d, word [0x14009afa8]
mov edx, 0x158
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.140056f90
mov rdi, qword [rsp + 0x90]
mov rbx, qword [0x14009b698]
test rbx, rbx
je 0x1400541c2
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 + 0x378], eax
jne 0x140054186
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x37c], eax
je 0x1400541c2
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x378], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x37c], 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 + 0x70]
xor rcx, rsp
call fcn.14005f310
add rsp, 0x80
pop rbx
ret
Function at 0x140055730
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, ebx
mov esi, 0x8000
or edi, 2
mov ecx, 0x12
and ax, si
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
and ax, si
mov ecx, 0x5c
mov esi, edi
or esi, 4
test ax, ax
cmove esi, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, esi
mov ecx, 0x14
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
and al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
and al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400557f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov esi, 0x8000
or edi, 2
mov ecx, 0x12
and ax, si
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, si
mov ecx, 0x5c
mov esi, edi
or esi, 4
test ax, ax
cmove esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, 0x14
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
and al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
and al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x140058f50
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140099128]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x14009afb2]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1e0], rsi
sub r14, 0x480
lea r15, [0x14009ad38]
xor r13d, r13d
lea r12, [0x14009b052]
mov ebx, 0x20
movsx edi, word [r15]
cmp edi, 0xffffffff
je 0x1400590f5
cmp ebx, 0x140
jl 0x140059070
cmp ebx, 0x14e
jg 0x140059070
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x64], 0x69
mov dword [rsp + 0x68], 0x6e
mov dword [rsp + 0x6c], 0x6f
mov dword [rsp + 0x70], 0x6a
mov dword [rsp + 0x74], 0x6d
mov dword [rsp + 0x78], 0x6b
mov esi, dword [r14]
jmp 0x14005907f
mov edx, 1
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov esi, eax
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], 0x10
mov edx, edi
mov ecx, esi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400590c2
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], 0x10
mov edx, edi
mov ecx, esi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400590f5
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], r13
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r12, 5
add r14, 4
add r15, 2
cmp ebx, 0x15c
jle 0x140058fd2
mov rsi, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14005f310
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14005ade0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rax, qword [0x140099128]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx + 0x88]
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov r14, rdx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x24], rax
mov qword [rsp + 0x2c], rax
mov rsi, r9
mov qword [rsp + 0x34], rax
mov rdi, r8
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x20], 0x28
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edx, dword [rsp + 0x34]
test r14, r14
je 0x140059a0a
mov dword [r14], edx
mov ecx, dword [rsp + 0x38]
test rdi, rdi
je 0x140059a15
mov dword [rdi], ecx
test rsi, rsi
je 0x140059a22
mov eax, dword [rsp + 0x3c]
sub eax, edx
mov dword [rsi], eax
test rbx, rbx
je 0x140059a2f
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rbx], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005f310
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r10d, r10d
test rdx, rdx
je 0x14005adeb
mov dword [rdx], r10d
test r8, r8
je 0x14005adf3
mov dword [r8], r10d
test r9, r9
je 0x14005adfb
mov dword [r9], r10d
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14005ae08
mov dword [rax], r10d
cmp dword [0x1400999a0], r10d
jne 0x14005ae1d
xor edx, edx
mov ecx, 0x10001
jmp fcn.140053070
mov qword [rsp + 0x28], rax
jmp 0x1400599a0
Function at 0x14005eb30
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140099128]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x14009b8c8], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x14005eb85
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005f310
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
nop dword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14009b8c8], rax
test rax, rax
jne 0x14005ebc8
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x14005eb90
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.140053070
jmp 0x14005eced
lea rdx, str.OSMesaCreateContextExt
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14009b8c8]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x14009b8d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14009b8c8]
lea rdx, str.OSMesaDestroyContext
mov qword [0x14009b8d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14009b8c8]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x14009b8e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14009b8c8]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x14009b8e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14009b8c8]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x14009b8f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14009b8c8]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x14009b8f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14009b8d0], 0
mov qword [0x14009b900], rax
je 0x14005ecbf
cmp qword [0x14009b8e0], 0
je 0x14005ecbf
cmp qword [0x14009b8e8], 0
je 0x14005ecbf
cmp qword [0x14009b8f0], 0
je 0x14005ecbf
cmp qword [0x14009b8f8], 0
je 0x14005ecbf
test rax, rax
je 0x14005ecbf
mov eax, 1
jmp 0x14005ecef
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.140053070
mov rcx, qword [0x14009b8c8]
test rcx, rcx
je 0x14005eced
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14009b8c8], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005f310
add rsp, 0x48
ret