joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140139380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x1401394f7
movzx edx, byte [rax]
test edx, edx
jne 0x1401393b4
nop dword [rax]
test r8b, r8b
jne 0x1401393b4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x1401393c7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x1401394b7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x1401394a5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x140139497
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14013941d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x140139460
mov eax, 1
cmp rax, rbx
ja 0x14013944b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.14014c400
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14013948f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x140139453
mov rcx, r11
mov eax, r12d
jmp 0x140139422
mov rcx, rbx
call fcn.14014c340
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14014c340
mov eax, r8d
mov rcx, rbx
call fcn.14014c400
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x1401394ed
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x1401394b0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x1401393cd
mov eax, edx
mov rcx, rbx
call fcn.14014c340
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14014c340
nop
int3
Function at 0x1401408c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14014096f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x1401409c0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140149f60
xorps xmm15, xmm15
mov r14, qword [0x140635470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14014a0a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.1401408c0
Function at 0x14014be80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400ec363
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.1400f2080
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14014a0a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x1400ec340
cmp byte [0x14063520a], 0
je 0x14014be95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x1401490e0
jmp 0x1400ec340

Function at 0x14014bea0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140635560]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14063520a], 0
je 0x14014bed5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x140635840]
aesenc xmm0, xmmword [0x140635850]
aesenc xmm0, xmmword [0x140635860]
movq rax, xmm0
ret
jmp 0x1400f22a0

Function at 0x14014bee0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140635560]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14063520a], 0
je 0x14014bf16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140635840]
aesenc xmm0, xmmword [0x140635850]
aesenc xmm0, xmmword [0x140635860]
movq rax, xmm0
ret
jmp 0x1400f2300
Function at 0x14016bf00
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14016c13b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x14016bf9a
mov qword [rsp + 0x88], rax
lea rbx, [0x1403efb60]
mov rcx, rax
lea rax, [0x1405e1aa0]
call fcn.1401628c0
test cl, cl
jne 0x14016bf83
mov rax, qword [rsp + 0x88]
call fcn.14016aec0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x1404650e8]
call fcn.140135c20
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x50], rax
call fcn.14016d2c0
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x14016bfb7
lea rdx, [0x1403ebc20]
cmp rax, rdx
jne 0x14016bfa5
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.140147b20
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x1403cd360]
call fcn.1400f2f40
inc rdx
cmp rbx, rdx
jle 0x14016c001
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x14016bfb4
lea rax, [0x1405e1aa0]
lea rbx, [0x1403efb60]
lea rdi, [0x1403ebc20]
nop dword [rax + rax]
call fcn.140162a80
lea rdx, [0x1403ebc20]
cmp rax, rdx
jne 0x14016c12b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x1403c0620]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x1403d5520]
call fcn.1400f5b60
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x1406354d0], 0
nop
je 0x14016c05b
mov rbx, rax
lea rax, [0x1403d5520]
call fcn.1400fba80
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.1400e99e0
call fcn.140147be0
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x14016c0c2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x14016c0b4
mov dword [rsi + 0x10], edx
cmp dword [0x1406354d0], 0
je 0x14016c0e3
call fcn.14014bfe0
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x1405e1aa0]
lea rbx, [0x1403efb60]
lea rdi, [0x1403ebc20]
nop dword [rax]
call fcn.140162a80
lea rdx, [0x1403ebc20]
cmp rax, rdx
jne 0x14016c11c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x1403cd360]
call fcn.1400f2f40
mov rbx, rdx
lea rcx, [0x1403cd360]
call fcn.1400f2f40
nop
mov qword [rsp + 8], rax
call fcn.14014a0a0
mov rax, qword [rsp + 8]
jmp fcn.14016bf00
Function at 0x14017a560
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14017a62a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.1400ec220
xorps xmm15, xmm15
mov r14, qword [0x140635470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x14017a60f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x1403c56a0]
xor ebx, ebx
mov rcx, rdx
call fcn.140131da0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.14017b2c0
inc rbx
cmp rcx, rbx
jae 0x14017a5fe
mov edi, 1
lea rsi, [0x1403c56a0]
call fcn.140131e80
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x140468a38]
lea rsi, [0x1404679e8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14014a0a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14017a560
Function at 0x1401a2a80
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x1401a2a97
inc rax
cmp rax, 4
jge 0x1401a2aaf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x1401a2a94
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x1401a2ac0
inc rax
cmp rax, 4
jge 0x1401a2ace
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x1401a2af7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x1401a2adb
jmp 0x1401a2abd
Function at 0x1401f6380
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x1401f6455
movdqa xmm0, xmmword [0x140467c60]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x1401f63c1
movdqa xmm0, xmmword [0x140467c70]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x1401f64d7
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x1401f64ab
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x140467990]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x140467c80]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x1401ff680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1401ff8fc
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rcx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x1401ff6b4
lea rdx, [r12 + 1]
mov rcx, r13
cmp rbx, rdx
jle 0x1401ff8b8
mov qword [rsp + 0x20], rdx
mov byte [rsp + 0x1f], r8b
mov byte [rsp + 0x1e], dil
mov qword [rsp + 0x28], rsi
movzx r9d, byte [rax + rdx]
test r8b, r8b
je 0x1401ff7a0
nop
cmp r9b, 0x3e
jne 0x1401ff790
mov r9, qword [0x14039dfc8]
mov r10, rdx
sub rdx, r9
lea r11, [rdx + 1]
nop dword [rax + rax]
test r11, r11
jl 0x1401ff785
lea r12, [r10 + 1]
cmp r12, r11
jb 0x1401ff8f0
mov r12, r10
sub r10, rdx
mov r13, rcx
sub rcx, rdx
lea r15, [rcx - 1]
neg r15
sar r15, 0x3f
and r15, r11
lea r11, [rax + r15]
cmp r9, r10
je 0x1401ff73d
xor ecx, ecx
jmp 0x1401ff775
mov rbx, qword [0x14039dfc0]
mov rax, r11
mov rcx, r10
call fcn.1400ebd20
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x28]
movzx edi, byte [rsp + 0x1e]
movzx r8d, byte [rsp + 0x1f]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x50]
mov ecx, eax
mov rax, qword [rsp + 0x40]
test cl, cl
je 0x1401ff6ac
xor r8d, r8d
jmp 0x1401ff6ac
mov r12, r10
mov r13, rcx
jmp 0x1401ff6ac
mov r12, rdx
mov r13, rcx
jmp 0x1401ff6ac
test dil, dil
je 0x1401ff7b7
cmp dil, r9b
jne 0x1401ff7ac
xor edi, edi
mov r12, rdx
mov r13, rcx
jmp 0x1401ff6ac
cmp r9b, 0x27
je 0x1401ff7c6
nop dword [rax]
cmp r9b, 0x22
jne 0x1401ff7d4
mov r12, rdx
mov r13, rcx
mov edi, r9d
jmp 0x1401ff6ac
cmp r9b, 0x3c
jne 0x1401ff887
mov r9, qword [0x14039dfa8]
lea r10, [rdx + r9]
cmp rbx, r10
jle 0x1401ff879
cmp rcx, r10
jb 0x1401ff8e5
nop dword [rax + rax]
cmp rdx, r10
ja 0x1401ff8d7
mov rbx, qword [0x14039dfa0]
mov rsi, rdx
sub rdx, rcx
sar rdx, 0x3f
and rdx, rsi
add rdx, rax
mov rax, rdx
mov rcx, r9
call fcn.1400ebd20
test al, al
je 0x1401ff855
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
movzx edi, byte [rsp + 0x1e]
mov rsi, qword [rsp + 0x28]
mov r8d, 1
jmp 0x1401ff87c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x28]
movzx edi, byte [rsp + 0x1e]
movzx r8d, byte [rsp + 0x1f]
inc rsi
mov r12, rdx
mov r13, rcx
jmp 0x1401ff6ac
cmp r9b, 0x3e
jne 0x1401ff8a5
test rsi, rsi
je 0x1401ff8b0
dec rsi
mov r12, rdx
mov r13, rcx
nop dword [rax + rax]
jmp 0x1401ff6ac
mov r12, rdx
mov r13, rcx
jmp 0x1401ff6ac
xor eax, eax
add rsp, 0x30
pop rbp
ret
test rsi, rsi
jne 0x1401ff8cb
nop dword [rax]
test dil, dil
jne 0x1401ff8cb
xor r8d, 1
jmp 0x1401ff8ce
xor r8d, r8d
mov eax, r8d
add rsp, 0x30
pop rbp
ret
mov rax, rdx
mov rcx, r10
nop dword [rax]
call fcn.14014c400
mov rdx, rcx
mov rcx, r10
call fcn.14014c3c0
mov rax, r11
mov rcx, r12
call fcn.14014c400
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.14014a0a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop
jmp fcn.1401ff680
Function at 0x14024e110
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140639300]
test eax, eax
je 0x14024e130
lea rcx, [0x14063a91c]
add rsp, 0x28
jmp fcn.14025b690
xor edx, edx
mov ecx, 0x10001
call fcn.14024d920
xor eax, eax
add rsp, 0x28
ret

Function at 0x140251840
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140639300]
test eax, eax
je 0x140251860
add rsp, 0x28
jmp 0x14025dec0
xor edx, edx
mov ecx, 0x10001
call fcn.14024d920
xor eax, eax
add rsp, 0x28
ret
push r13
push r12
push rbx
sub rsp, 0x20
mov rbx, qword [0x1405d1040]
mov rcx, qword [rbx + 0x16b8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14025df50
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r12, rax
test rax, rax
je 0x14025df78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r13, rax
test rax, rax
je 0x14025df98
mov rcx, qword [rbx + 0x16d0]
call sub.msvcrt.dll_free
mov rcx, r13
call fcn.140257540
mov rcx, r12
mov qword [rbx + 0x16d0], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r12, qword [rbx + 0x16d0]
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
xor r12d, r12d
call fcn.140257370
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.140257370
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14025df3e
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
xor r12d, r12d
call fcn.140257370
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14025df3e
Function at 0x140255b00
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x40
lea rax, str.OSMesa.dll
cmp qword [0x14063b9a8], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
je 0x140255b40
mov r12d, 1
mov eax, r12d
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret
mov rsi, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rbx, [rsp + 0x20]
lea rcx, str.libOSMesa.dll
jmp 0x140255b69
mov rcx, qword [rbx + 8]
add rbx, 8
test rcx, rcx
je 0x140255ca8
call rsi
mov qword [0x14063b9a8], rax
test rax, rax
je 0x140255b58
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.OSMesaCreateContextExt
mov rcx, rax
call rbx
mov rcx, qword [0x14063b9a8]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x14063b9b0], rax
call rbx
mov rcx, qword [0x14063b9a8]
lea rdx, str.OSMesaDestroyContext
mov qword [0x14063b9b8], rax
call rbx
mov rcx, qword [0x14063b9a8]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x14063b9c0], rax
call rbx
mov rcx, qword [0x14063b9a8]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x14063b9c8], rax
call rbx
mov rcx, qword [0x14063b9a8]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x14063b9d0], rax
call rbx
mov rcx, qword [0x14063b9a8]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x14063b9d8], rax
call rbx
cmp qword [0x14063b9b0], 0
mov qword [0x14063b9e0], rax
je 0x140255c60
cmp qword [0x14063b9c0], 0
je 0x140255c60
cmp qword [0x14063b9c8], 0
je 0x140255c60
cmp qword [0x14063b9d0], 0
je 0x140255c60
cmp qword [0x14063b9d8], 0
je 0x140255c60
test rax, rax
jne 0x140255b27
nop word cs:[rax + rax]
mov ecx, 0x10008
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
xor r12d, r12d
call fcn.14024d920
mov rcx, qword [0x14063b9a8]
test rcx, rcx
je 0x140255b2d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, r12d
mov qword [0x14063b9a8], 0
add rsp, 0x40
pop rbx
pop rsi
pop r12
ret
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
xor r12d, r12d
call fcn.14024d920
jmp 0x140255b2d

Function at 0x1402569d0
Capabilities:
Log keystrokes via polling

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x10
call rbx
mov ecx, 0x11
movsx r12d, ax
call rbx
mov esi, r12d
mov ecx, 0x12
shr esi, 0x1f
mov r12d, esi
or r12d, 2
test ax, ax
cmovns r12d, esi
call rbx
mov ecx, 0x5b
mov r8d, eax
mov eax, r12d
or eax, 4
test r8w, r8w
cmovs r12d, eax
call rbx
mov ecx, 0x5c
mov esi, eax
call rbx
mov ecx, 0x14
mov r8d, eax
mov eax, r12d
or eax, 8
or si, r8w
cmovs r12d, eax
call rbx
mov ecx, 0x90
mov r8d, eax
mov eax, r12d
or eax, 0x10
and r8d, 1
cmovne r12d, eax
call rbx
mov r8d, eax
mov eax, r12d
or eax, 0x20
and r8d, 1
cmovne r12d, eax
mov eax, r12d
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
Function at 0x140257f50
Capabilities:
Log keystrokes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
xor ebx, ebx
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x170], 0
mov qword [rsp + 0x178], 0
mov rbp, qword [0x1405d1040]
lea rdi, [rbp + 0x1d9a]
lea rax, [rbp + 0x1d92]
mov qword [rbp + 0x1d92], 0
and rdi, 0xfffffffffffffff8
lea rsi, [rbp + 0x1e32]
mov qword [rbp + 0x245b], 0
sub rax, rdi
add eax, 0x6d1
shr eax, 3
mov ecx, eax
xor eax, eax
rep stosq qword [rdi], rax
mov rdi, qword [sym.imp.USER32.dll_ToUnicode]
jmp 0x14025818e
test eax, eax
jle 0x140258179
mov qword [rsp + 0x20], rsi
mov r9d, 1
mov r8, r14
xor edx, edx
mov qword [rsp + 0x38], 0
mov ecx, 0xfde9
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add rbx, 1
add rsi, 5
cmp rbx, 0x13d
je 0x140258211
movsx r12d, word [rbp + rbx*2 + 0x1b18]
cmp r12w, 0xffff
je 0x140258179
lea eax, [rbx - 0x120]
cmp eax, 0xe
jbe 0x140258225
mov edx, 1
mov ecx, r12d
lea r14, [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r15d, eax
lea r13, [rsp + 0x80]
mov r9, r14
mov edx, r12d
mov ecx, r15d
mov dword [rsp + 0x28], 0
mov r8, r13
mov dword [rsp + 0x20], 0x10
call rdi
cmp eax, 0xffffffff
jne 0x140258140
mov r9, r14
mov r8, r13
mov edx, r12d
mov ecx, r15d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
call rdi
jmp 0x140258140
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movabs rax, 0x6100000060
mov dword [rsp + 0x78], 0x6b
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], rax
movabs rax, 0x6300000062
mov qword [rsp + 0x48], rax
movabs rax, 0x6500000064
mov qword [rsp + 0x50], rax
movabs rax, 0x6700000066
mov qword [rsp + 0x58], rax
movabs rax, 0x6900000068
mov qword [rsp + 0x60], rax
movabs rax, 0x6f0000006e
mov qword [rsp + 0x68], rax
movabs rax, 0x6d0000006a
mov qword [rsp + 0x70], rax
mov r15d, dword [rsp + rbx*4 - 0x440]
jmp 0x1402581bf
Function at 0x14025b5d0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov rbx, rcx
test eax, eax
jne 0x14025b600
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
je 0x14025b628
mov eax, 1
mov dword [rbx], 1
add rsp, 0x20
pop rbx
ret
mov r8d, 0x29
lea rdx, str.D:_sf_newgo_vendorgithub.comgo_glglfw_v3.3glfw_glfw_src_win32_thread.c
lea rcx, str.tls__win32.allocated__GLFW_FALSE
call qword [sym.imp.msvcrt.dll__wassert]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x14025b5ec
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.140257370
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14025b690
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 1
mov rbx, rcx
je 0x14025b6b7
mov r8d, 0x40
lea rdx, str.D:_sf_newgo_vendorgithub.comgo_glglfw_v3.3glfw_glfw_src_win32_thread.c
lea rcx, str.tls__win32.allocated__GLFW_TRUE
call qword [sym.imp.msvcrt.dll__wassert]
mov ecx, dword [rbx + 4]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14025b6d0
Capabilities:
Set thread local storage value

Disassembly:
push r12
push rbx
sub rsp, 0x28
cmp dword [rcx], 1
mov rbx, rcx
mov r12, rdx
je 0x14025b6fc
mov r8d, 0x46
lea rdx, str.D:_sf_newgo_vendorgithub.comgo_glglfw_v3.3glfw_glfw_src_win32_thread.c
lea rcx, str.tls__win32.allocated__GLFW_TRUE
call qword [sym.imp.msvcrt.dll__wassert]
mov ecx, dword [rbx + 4]
mov rdx, r12
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]