joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b530
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140077090]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002b587
cmp word [rdx], r13w
jne 0x14002b587
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002b58c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002b6b1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002b6d2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002b5c5
mov rdx, r9
mov word [rbx], cx
jmp 0x14002b5ec
cmp r9, r8
jae 0x14002b5fc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002b5a6
jmp 0x14002b6b1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002b6a6
cmp dword [rsp + 0x80], esi
je 0x14002b6a6
lea r8, [0x140077090]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002b67e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002b64e
mov word [rbx], r13w
jmp 0x14002b6ae
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002b65b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002b6ae
cmp word [rsp + 0x70], r13w
jne 0x14002b68b
cmp rbx, r14
je 0x14002b648
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002c198
cmp word [rsp + 0x70], r13w
je 0x14002b6b1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140077090]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002b6ab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002b6b1
Function at 0x14002eb14
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002eb9b
mov rsi, rbx
cmp word [rax], bp
je 0x14002eb5a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002eb44
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002eb40
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002826c
mov rdi, rax
test rax, rax
je 0x14002eb88
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140034ae0
mov rbp, rdi
xor ecx, ecx
call fcn.140027d8c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400318c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140027a2c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140031961
cmp ebx, dword [rsp + 0x30]
je 0x14003195a
test esi, esi
je 0x14003195a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140031935
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140031942
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003191f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140031946
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140031963
mov eax, 1
jmp 0x140031963
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140034110
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002c198
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002c198
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140034260
cmp rax, 0xffffffffffffffff
je 0x140034260
xor edi, edi
test rbp, rbp
jle 0x14003420b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140028d58
mov rbx, rax
test rax, rax
jne 0x140034198
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140034201
mov edx, 0x8000
mov ecx, r14d
call fcn.140025b6c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14002a8e8
cmp eax, 0xffffffff
je 0x1400341e1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400341a8
mov edx, r15d
mov ecx, r14d
call fcn.140025b6c
jmp 0x140034201
cmp byte [rsi + 0x38], dil
je 0x1400341f8
cmp dword [rsi + 0x34], 5
jne 0x1400341f8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140034201
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140027d8c
jmp 0x140034274
jns 0x140034274
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002c198
cmp rax, 0xffffffffffffffff
jne 0x14003422c
cmp byte [rsi + 0x30], dil
je 0x140034274
mov edi, dword [rsi + 0x2c]
jmp 0x140034274
mov ecx, r14d
call fcn.14002f36c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140034274
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140034274
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14003426d
mov eax, dword [rsi + 0x2c]
jmp 0x140034272
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002c198
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140034750
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140034778
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140034778
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140017b20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140017b7d
lea rbx, [0x14015a490]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140017b64
cmp r10, 2
jb 0x140017b64
cmp byte [r9], r8b
jne 0x140017b64
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140017b40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140017bbf
lea rbx, [0x14015a490]
cmp r8b, 0x23
jne 0x140017ba3
cmp byte [r9], r8b
jne 0x140017ba3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140017b90
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14001add0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x100]
mov rdi, rcx
movsxd rsi, edx
test eax, eax
jg 0x14001ae12
mov r8d, 0x793
lea rdx, [0x140159b30]
lea rcx, str.Size___0
call fcn.1400f96d8
mov eax, dword [rdi + 0x100]
movsxd rcx, eax
lea rdx, [0x14015a490]
mov rax, qword [rdi + 0x108]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, sil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rdi]
not ebx
cmp dword [rcx + 0x407c], ebx
jne 0x14001ae88
mov r8, rsi
mov edx, 4
mov ecx, ebx
call fcn.1400326c0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001aea0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0x100]
mov rdi, rdx
mov rbx, rcx
test eax, eax
jg 0x14001aed9
mov r8d, 0x793
lea rdx, [0x140159b30]
lea rcx, str.Size___0
call fcn.1400f96d8
mov eax, dword [rbx + 0x100]
movss xmm2, dword [rbx + 0x120]
lea r9, [0x14015a490]
movss xmm0, dword [rdi]
movss xmm3, dword [rbx + 0x124]
subss xmm0, xmm2
movss xmm1, dword [rdi + 4]
movsxd rcx, eax
subss xmm1, xmm3
mov rax, qword [rbx + 0x108]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [rdi + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movzx eax, byte [rsp + 0x20]
not r8d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x14001f9f0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14001fa40
lea r11, [0x14015a490]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001fa23
cmp byte [r8], r9b
jne 0x14001fa23
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 0x14001fa10
mov rcx, qword [0x1401d3048]
not edx
add rcx, 0x4010
jmp fcn.140018120

Function at 0x14002b490
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401d3048]
mov edi, ecx
cmp byte [rbx + 0x4d7d], 0
jne 0x14002b4e2
cmp byte [rbx + 0x4d7e], 0
jne 0x14002b4e2
movsx r9d, word [rbx + 0x5ee8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400178d0
test dil, 2
je 0x14002b61d
jmp 0x14002b56b
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140186ca0]
xor eax, eax
mulss xmm1, dword [0x140186c8c]
addss xmm0, dword [rbx + 0xe40]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a48], rax
mov dword [rbx + 0x4a34], 1
movss dword [rbx + 0x4a40], xmm0
movss dword [rbx + 0x4a44], xmm1
movss xmm0, dword [rbx + 0x3a24]
mulss xmm0, dword [0x140186bdc]
or dword [rbx + 0x4a30], 0x41
movss dword [rbx + 0x4a90], xmm0
movsx r9d, word [rbx + 0x5ee8]
call fcn.1400178d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14002b5c0
lea r11, [0x14015a490]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14002b5a3
cmp byte [r8], r9b
jne 0x14002b5a3
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 0x14002b590
mov rcx, qword [0x1401d3048]
not edx
add rcx, 0x4010
call fcn.140018120
test rax, rax
je 0x14002b61d
cmp byte [rax + 0xbe], 0
je 0x14002b61d
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5ee8]
movsx r9d, word [rbx + 0x5ee8]
call fcn.1400178d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140022c30
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140030f10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6040], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140030f92
xor edx, edx
add rcx, 0x6048
call fcn.140033590
mov r8, rsi
lea rcx, [rbx + 0x6048]
mov rdx, rbp
call fcn.140018380
mov eax, dword [rbx + 0x6048]
xor edx, edx
mov r9, qword [rbx + 0x6040]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6050]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x1401d3040]
cmovne rcx, rax
call fcn.1400ff244
jmp 0x140030f9e
add rcx, 0x6048
call fcn.140018380
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140031330
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401d3048]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140031393
mov qword [rsp], rbx
lea rbx, [0x14015a490]
nop dword [rax]
cmp r9b, 0x23
jne 0x140031373
cmp byte [r8], r9b
jne 0x140031373
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 [rbx + rdx*4]
test r9b, r9b
jne 0x140031360
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fb0]
not eax
mov r8, qword [r10 + 0x5fb8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400313bf
cmp dword [r8 + 8], eax
je 0x1400313c6
add r8, 0x48
cmp r8, rcx
jne 0x1400313b0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14004ccc0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14004ce80
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401d32a8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401d32b8]
lea rdx, [rdi + rdi]
call fcn.14004c860
mov rcx, qword [0x1401d32a8]
lea r9, [rdi - 1]
mov qword [0x1401d32d0], r9
mov qword [0x1401d32d8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14004ce75
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401d32b8]
mov r10, qword [r11]
cmp r10, rbx
jne 0x14004cdb2
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14004ce36
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x14004cdef
mov r10, qword [rax]
cmp r10, rcx
je 0x14004cde9
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14004ce36
mov r8, rax
cmp r10, rax
je 0x14004ce12
nop word [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x14004ce4a
cmp r10, rax
jne 0x14004ce00
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x14004ce70
mov r9, qword [0x1401d32d0]
jmp 0x14004cd60
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14004ce36
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400ef568
int3
Function at 0x14004eb00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1401d3048]
mov edx, 0x210
call fcn.140026cd0
cmp byte [rax], 0
je 0x14004eb99
xor edx, edx
mov ecx, 0x210
call fcn.140029c10
test al, al
je 0x14004eb99
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004eb99
cmp qword [0x1401d3048], 0
jne 0x14004eb61
mov r8d, 0x10bf
lea rdx, [0x14015ecf0]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400f96d8
mov rbx, qword [0x1401d3048]
cmp byte [rbx + 0x38d1], 0
je 0x14004eb85
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140017200
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x1401d3048]
mov edx, 0x214
call fcn.140026cd0
cmp byte [rax], 0
je 0x14004ec2c
xor edx, edx
mov ecx, 0x214
call fcn.140029c10
test al, al
je 0x14004ec2c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004ec2c
cmp qword [0x1401d3048], 0
jne 0x14004ebf4
mov r8d, 0x10bf
lea rdx, [0x14015ecf0]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400f96d8
mov rbx, qword [0x1401d3048]
cmp byte [rbx + 0x38d1], 0
je 0x14004ec18
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140017200
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x1401d3048]
mov edx, 0x212
call fcn.140026cd0
cmp byte [rax], 0
je 0x14004ecbf
xor edx, edx
mov ecx, 0x212
call fcn.140029c10
test al, al
je 0x14004ecbf
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004ecbf
cmp qword [0x1401d3048], 0
jne 0x14004ec87
mov r8d, 0x10bf
lea rdx, [0x14015ecf0]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400f96d8
mov rbx, qword [0x1401d3048]
cmp byte [rbx + 0x38d1], 0
je 0x14004ecab
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140017200
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x1401d3048]
mov edx, 0x216
call fcn.140026cd0
cmp byte [rax], 0
je 0x14004ed54
xor edx, edx
mov ecx, 0x216
call fcn.140029c10
test al, al
je 0x14004ed54
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004ed54
mov rbx, qword [0x1401d3048]
test rbx, rbx
jne 0x14004ed23
mov r8d, 0x10bf
lea rdx, [0x14015ecf0]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400f96d8
mov rbx, qword [0x1401d3048]
cmp byte [rbx + 0x38d1], 0
je 0x14004ed40
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140017200
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x140059770
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
sub rsp, 0x148
mov dword [rax + 8], 0x104
lea rax, [rax + 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWARECleverRust
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14005980a
mov rcx, qword [rsp + 0x158]
lea rax, [rsp + 0x150]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallPath
lea rax, [rsp + 0x30]
mov qword [rsp + 0x140], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x158]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x140]
sete al
add rsp, 0x148
ret
xor al, al
add rsp, 0x148
ret

Function at 0x140059820
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140059855
lea rdx, str.Failed_to_open_the_clipboard
lea rcx, [0x1401d18a0]
call fcn.1400708b0
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.140070b20
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140059886
lea rdx, str.Failed_to_empty_the_clipboard
lea rcx, [0x1401d18a0]
call fcn.1400708b0
mov rcx, rax
call fcn.140070b20
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_CloseClipboard]
mov rdx, qword [rbx + 0x10]
mov ecx, 0x2000
mov qword [rsp + 0x30], rsi
inc rdx
lea rsi, [rbx + 0x10]
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x1400598df
lea rdx, str.Failed_to_allocate_memory_for_clipboard
lea rcx, [0x1401d18a0]
call fcn.1400708b0
mov rcx, rax
call fcn.140070b20
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x140059927
lea rdx, str.Failed_to_lock_memory_for_clipboard
lea rcx, [0x1401d18a0]
call fcn.1400708b0
mov rcx, rax
call fcn.140070b20
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rbx + 0x18], 0x10
jb 0x140059931
mov rbx, qword [rbx]
mov rdx, qword [rsi]
mov r8, rbx
inc rdx
mov rcx, rax
call fcn.14010735c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140059998
lea rdx, str.Failed_to_set_clipboard_data
lea rcx, [0x1401d18a0]
call fcn.1400708b0
mov rcx, rax
call fcn.140070b20
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, str.Text_copied_to_clipboard_successfully
lea rcx, [0x1401d1720]
call fcn.1400708b0
mov rcx, rax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp fcn.140070b20