joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dbc0
Capabilities:
Log keystrokes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov dl, 1
xor eax, eax
lock cmpxchg byte [rcx + 0x10], dl
jne 0x14001dc09
mov edi, dword [rcx + 0x1d0]
xor edx, edx
sal byte [rax - 0x4ff00fff], cl
push rcx
adc byte [rbp + 0x3e], dh
lea rax, [rcx + 0x10]
mov rdi, rcx
mov rcx, rax
mov r8d, 0x3b9aca00
retf 0x3b9a
call fcn.140296ac0
mov rcx, rdi
jmp 0x14001dbd4
add rcx, 0x10
xor edx, edx
call fcn.1402971d0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
and edi, 0x2002
cmp edi, 2
je 0x14001dbf6

Function at 0x140074d60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140074da2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140074daa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140074dbb
jmp 0x140074dd2
xor r10d, r10d
jmp 0x140074e5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140074dd2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140074de9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140074e09
add r11, r8
jmp 0x140074f3b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140074ed2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140074e80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140074ef0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140074f02
jmp 0x140074f1d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140074f1d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140074f37
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140079870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x1400798b0
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x1400798a5
cmp edi, 0x2d
jne 0x1400798b0
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x140079a44
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x140079a4f
movzx r11d, r11b
cmp rbx, rsi
jae 0x14007994d
mov ebx, 1
sub rbx, rsi
add r10, 2
jmp 0x14007990c
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x14007994d
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x14007994d
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x1400798f0
cmp r11d, 0xccccccc
jne 0x140079938
cmp sil, 7
jbe 0x1400798f0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.140288510
jmp 0x140079a31
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14007996a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14007997a
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x14048ff80]
subpd xmm1, xmmword [0x14048ff90]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x1400799ec
xorpd xmm1, xmm1
movsd xmm2, qword [0x14048ffa0]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x1400799c8
jnp 0x140079a1a
test r10d, r10d
jns 0x140079a78
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x134
ja 0x1400799c0
mov eax, eax
mov r9, qword [0x1405b1238]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x140079a39
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x14029e050]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x14029e060]
jae 0x140079a78
test r8b, r8b
jne 0x140079a27
xorpd xmm0, xmmword [0x14048ffb0]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x140079a1f
jmp 0x140079a27
mov qword [rsp + 0x28], 5
jmp 0x140079a58
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1402885b0
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140079a31
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1402885b0
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140079a2e
Function at 0x1400a7d20
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov r8d, 0x20
call fcn.1401ac5b0
test rax, rax
je 0x1400a7d8c
mov qword [rbp + 0x48], rax
mov rcx, rax
mov qword [rbp + 0x50], rdx
call qword [rdx]
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a7df5
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
call fcn.140115a00
jmp 0x1400a7df5
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x140494566]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.1401ac390
mov rax, qword [rbp - 0x40]
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp], xmm0
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x38], rcx
mov qword [rdi], rax
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm1
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
jmp fcn.1401a9ea0
Function at 0x140103380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x140103416
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14029f730]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140074d60
test rdi, rdi
je 0x1401034a5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1401034be
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1401035b6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140103638
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1401035c3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140103480
cmp r9, 8
jae 0x1401035cc
jmp 0x140103638
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140074d60
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140103638
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140103638
mov r8, rcx
cmp r9, 8
jb 0x140103638
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1401035d0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14016e610
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov r8d, 0x20
call fcn.1401ac5b0
test rax, rax
je 0x14016e67c
mov qword [rbp + 0x48], rax
mov rcx, rax
mov qword [rbp + 0x50], rdx
call qword [rdx]
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14016e6e5
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
call fcn.140115a00
jmp 0x14016e6e5
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x1404aa980]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.1401ac390
mov rax, qword [rbp - 0x40]
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp], xmm0
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x38], rcx
mov qword [rdi], rax
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm1
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
jmp fcn.1401a9ea0

Function at 0x140190ee0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 8], 0
lea r9, [rbp - 8]
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x140190f22
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x140190f53
mov rcx, qword [rbp - 8]
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.14025d600
mov rcx, qword [rbp - 8]
call sub.ole32.dll_CoTaskMemFree
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1401a7400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1401a7496
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14029f730]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140074d60
test rdi, rdi
je 0x1401a7525
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1401a753e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1401a7636
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1401a76b8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1401a7643
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1401a7500
cmp r9, 8
jae 0x1401a764c
jmp 0x1401a76b8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140074d60
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1401a76b8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1401a76b8
mov r8, rcx
cmp r9, 8
jb 0x1401a76b8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1401a7650
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1401cc860
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov rbx, qword [rdx + 0x18]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov r12d, eax
mov eax, 2
inc r12d
movsxd r15, r12d
je 0x1401cc8bd
js 0x1401cc945
lea r14, [r15 + r15]
mov edx, 2
mov rcx, r14
call fcn.140115a20
test rax, rax
je 0x1401cc94a
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r15
xor edx, edx
test r12d, r12d
cmovne rdx, rax
mov rcx, rbx
mov dword [rbp - 0x1c], r12d
mov r8d, r12d
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rbp - 0x18]
movsxd rcx, edi
cmp edi, 0xffffffff
je 0x1401cc933
mov rdx, rax
lea rax, [rax + rcx*2]
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
mov word [rbp - 0x28], 0
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.1401dbbf0
mov rdx, qword [rbp - 0x10]
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.140115a00
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.C:UsersKasikek.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tao_0.16.9_srcplatform_implwindowswindow.rs
mov rdx, qword [rbp - 0x10]
call fcn.14029a3a0
ud2
call fcn.140279200
mov ecx, 2
mov rdx, r14
call fcn.140299c70
int3

Function at 0x1401cd470
Capabilities:
Log keystrokes

Disassembly:
push rsi
sub rsp, 0x70
mov rsi, rcx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x1401cd488
add rsp, 0x70
pop rsi
ret
mov ecx, 0x12
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 1
mov word [rsp + 0x28], 0xa4
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x50], 0xa4
mov word [rsp + 0x52], ax
mov dword [rsp + 0x54], 3
lea rdx, [rsp + 0x20]
mov ecx, 2
mov r8d, 0x28
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
add rsp, 0x70
pop rsi
ret
Function at 0x1401d69f0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x48
movzx edx, dl
test dl, dl
je 0x1401d6a07
cmp edx, 1
jne 0x1401d6a11
mov eax, 0x2000
jmp 0x1401d6a16
mov eax, 1
mov rcx, rdx
jmp 0x1401d6a16
mov eax, 0x2100
mov dword [rsp + 0x28], 0x20001
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], 0x60001
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x28]
mov edx, 2
mov r8d, 0x10
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
setne al
add rsp, 0x48
ret
Function at 0x1401d8df0
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
call fcn.1401d7460
cmp byte [rdx + 0x98], 0
je 0x1401d8e1b
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
shr edi, 0xf
jmp 0x1401d8e1d
xor edi, edi
mov rbx, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x10
call rbx
movzx esi, ax
shr esi, 0xf
lea ebp, [rsi*4]
mov ecx, 0x11
call rbx
test ax, ax
lea r14d, [rsi*4 + 0x20]
cmovns r14d, ebp
test dil, dil
cmovne r14d, ebp
mov ecx, 0x12
call rbx
lea esi, [r14 + 0x100]
test ax, ax
cmovns esi, r14d
test dil, dil
cmovne esi, r14d
mov ecx, 0x5b
call rbx
test ax, ax
js 0x1401d8e95
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1401d8e95
and esi, 0x77ff
jmp 0x1401d8e9b
or esi, 0x800
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1401e99ea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rdx, [0x1404bc1b8]
call fcn.1401eace2
lea rdx, str.EBWebViewx64EmbeddedBrowserWebView.dll
mov rcx, rsi
call fcn.1401eace2
mov rcx, rsi
call fcn.1401eadbc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1401e9af6
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1405b1300]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rsi
call fcn.1401eab76
mov rcx, rsi
mov rdx, r14
call fcn.1401eabfe
mov rcx, rsi
call fcn.1401eadbc
mov rbx, rax
mov rcx, rsi
call fcn.1401eadb8
cmp rax, 3
jb 0x1401e9b7a
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x1401e9b6a
cmp word [rbx + 4], 0x5c
jne 0x1401e9b7a
movzx eax, word [rbx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x1401e9b7a
jmp 0x1401e9c37
cmp word [rbx], 0x5c
jne 0x1401e9b7a
cmp ax, 0x5c
je 0x1401e9c37
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1404bbec0]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1401eab08
xor ecx, ecx
mov rdx, rbx
call fcn.1401e9a2a
test eax, eax
js 0x1401e9c76
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401eadb8
mov rdi, rax
mov rcx, rbx
call fcn.1401eadbc
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.1401eac30
mov rcx, rbx
call fcn.1401eadbc
mov rcx, rax
mov dx, 0x5c
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
je 0x1401e9c87
mov rbx, rax
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1401eadbc
sub rbx, rax
add rbx, 2
sar rbx, 1
mov rcx, rdi
call fcn.1401eadbc
mov rcx, rsi
mov rdx, rax
mov r8, rbx
call fcn.1401eac30
mov rcx, rsi
mov rdx, r14
call fcn.1401eace2
mov rcx, rdi
call fcn.1401eab1a
mov rcx, rsi
call fcn.1401e99ea
xor ebx, ebx
test al, al
jne 0x1401e9c96
lea rcx, str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
mov rdi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rdi
mov rcx, rsi
call fcn.1401eadbc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._nADVAPI32.dll
call rdi
mov ebx, 0x80070002
jmp 0x1401e9c96
mov ebx, eax
lea rcx, str.WebView2:_Failed_to_find_the_app_exe_path._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1401e9c8c
mov ebx, 0x80004005
lea rcx, [rsp + 0x20]
call fcn.1401eab1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140286e70
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401ea71a
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x260
mov r15, r9
mov r14, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1405b1300]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x3c], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
movzx eax, bl
mov rcx, 0xffffffff80000002
sub rcx, rax
mov qword [rsp + 0x20], rdx
xor ebx, ebx
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20219
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401ea7bf
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140286e70
mov eax, ebx
add rsp, 0x260
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, str.EBWebView
xor ebx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1401ea79e
cmp dword [rsp + 0x3c], 3
jb 0x1401ea79e
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1401eabfe
mov rcx, r15
call fcn.1401eadbc
mov rcx, rax
mov dx, 0x5c
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
je 0x1401ea86c
mov rdi, rax
add rdi, 2
movaps xmm0, xmmword [0x1404bbec0]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.1401ea5ed
test al, al
je 0x1401ea86c
test r14, r14
je 0x1401ea858
mov rcx, r14
mov rdx, rdi
call fcn.1401eabfe
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.1401ea873
mov ebx, eax
jmp 0x1401ea79e
xor ebx, ebx
jmp 0x1401ea79e

Function at 0x1401ea873
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
xor eax, eax
lea rdx, [0x1404bc4b0]
mov esi, dword [rax + rdx]
cmp dword [rcx + rax], esi
ja 0x1401ea899
jb 0x1401ea8a7
add rax, 4
cmp rax, 0x10
jne 0x1401ea885
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401e99ea
lea rcx, str.Loader_skipped_an_incompatible_version:
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call rsi
mov rcx, rdi
call fcn.1401eadbc
mov rcx, rax
call rsi
lea rcx, [0x1404bc512]
call rsi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret