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

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140265da8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14019ad24
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14019ad83
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14019ad92
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14019adca
cmp eax, 0x103
je 0x14019add4
test eax, eax
js 0x14019adaf
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14019adca
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x140265e10]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1401929f0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14018d4c0
mov ecx, 7
int 0x29
ud2

Function at 0x14019ae40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140265da8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14019ae84
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14019aeea
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14019af21
test eax, eax
js 0x14019aefb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14019af14
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x140265e10]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1401929f0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14018d4c0
mov ecx, 7
int 0x29
ud2
Function at 0x14019b000
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14019b055
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14019b0f1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x14019b069
cmp eax, 0x2739
jne 0x14019b0ba
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14019b0b4
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x14019b0cf
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x14019b0f1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14019b0f1
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14019c7d0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14019c808
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.14019c820
nop
add rsp, 0x38
ret

Function at 0x14019c820
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14019c863
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140190dd0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1401bdc90
ud2
Function at 0x14019cec0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1402c9f71]
mov ecx, 0x10
mov edx, 8
call fcn.14000c710
test rax, rax
je 0x14019cf9f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14019d050]
xor edi, edi
xor ecx, ecx
leave
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne case.0x140190ede.681
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14019cf68
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.14000c720
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.14000c720
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
shl edx, 0x20
or rdx, 2
mov edi, 1
add byte [rax], al
invalid
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1401bda40
ud2

Function at 0x14019e3d0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1402ca088]
cmp rax, 3
jne 0x14019e4c6
cmp rbx, 0x17f
ja 0x14019e4d8
lea r15, [rsp + 0x70]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
inc rbx
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, rbx
call fcn.1401ab700
cmp qword [rsp + 0x28], 0
je 0x14019e454
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14019e4e9
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14019e4ae
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x14019e4e9
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
jmp 0x14019e4e9
call fcn.1401bce80
cmp rbx, 0x17f
jbe 0x14019e40a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.1401bcfd0
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14019e640
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], 0x80
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14019e6f0
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x14019e700
cmp ecx, 0x17
jne 0x14019e727
cmp eax, 0x1b
jbe 0x14019e740
movzx eax, word [rsp + 0x32]
rol ax, 8
movups xmm0, xmmword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
add rsp, 0xb0
pop rsi
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14019e72e
cmp eax, 0xf
jbe 0x14019e758
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
add rsp, 0xb0
pop rsi
ret
lea rax, str.invalid_argument0j_
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x140266a18]
mov edx, 0x43
call fcn.1401bdd60
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1402669b8]
mov edx, 0x42
call fcn.1401bdd60
int3
Function at 0x1401b3120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1401b319a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1401b3190
cmp r11, r10
ja 0x1401b3231
cmp r10, rdx
ja 0x1401b3243
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1401b3192
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1401b3170
jmp 0x1401b3207
ja 0x1401b319a
mov r11, r10
cmp rax, r8
jne 0x1401b3142
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1401b320b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1401b31e0
mov r8, r10
sub ecx, r9d
jns 0x1401b31fe
jmp 0x1401b320d
cmp r10, rdx
je 0x1401b3219
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1401b320d
xor al, 1
cmp r8, rdx
jne 0x1401b31c0
jmp 0x1401b320d
xor eax, eax
jmp 0x1401b320d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140269b11]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1401bdd60
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1401be2b0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401be230
int3

Function at 0x1401bcfd0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401a68d0
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x1401bd069
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1401bd09b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1401bd0b9
jmp 0x1401bd0ca
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x1401bd0ca
mov rcx, qword [rsp + 0x38]
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000c720
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1401bd0ca
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.14000c720
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1401f2480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea rax, vtable.icu_68::Locale.0
mov qword [rcx], rax
lea rax, [rcx + 0x30]
mov qword [rcx + 0x28], rax
mov qword [rcx + 0xd0], 0
xor edx, edx
xor r8d, r8d
jmp fcn.1401f1db0

Function at 0x1401fc5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1401fc5a0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, edx
and eax, 0xfffffc00
mov edi, 0xffffffff
cmp eax, 0xd800
je 0x1401fc621
mov esi, r8d
mov r14d, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
mov r15, qword [rcx + 8]
cmp edx, 0xffff
ja 0x1401fc5ee
mov rax, qword [rcx]
mov ecx, r14d
shr ecx, 6
movzx ecx, word [rax + rcx*2]
mov eax, r14d
and eax, 0x3f
add eax, ecx
jmp 0x1401fc614
cmp r14d, 0x10ffff
ja 0x1401fc607
cmp dword [rcx + 0x18], r14d
jle 0x1401fc60e
mov edx, r14d
call fcn.14020f560
jmp 0x1401fc614
mov eax, dword [rcx + 0x14]
dec eax
jmp 0x1401fc614
mov eax, dword [rcx + 0x14]
add eax, 0xfffffffe
cdqe
movzx ecx, word [r15 + rax*2]
cmp rcx, 1
jne 0x1401fc62f
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp cx, word [rbx + 0x10]
jae 0x1401fc665
cmp cx, 2
jne 0x1401fc6f6
lea eax, [rsi - 0x1161]
cmp eax, 0x14
ja 0x1401fc621
lea eax, [r14 + r14*4]
lea eax, [r14 + rax*4]
add eax, esi
lea ecx, [rax + rax*8]
lea ecx, [rcx + rcx*2]
lea edi, [rcx + rax]
add edi, 0xffd7b964
jmp 0x1401fc621
cmp ecx, 0xfbff
ja 0x1401fc621
movzx eax, word [rbx + 0x1e]
cmp cx, ax
jb 0x1401fc621
movzx eax, ax
sub ecx, eax
sar ecx, 1
movsxd rax, ecx
add rax, rax
add rax, qword [rbx + 0x28]
cmp esi, 0x10ffff
ja 0x1401fc621
cmp esi, 0x33ff
ja 0x1401fc742
add esi, esi
movzx edx, si
movzx ecx, word [rax]
cmp edx, ecx
jbe 0x1401fc6c6
nop word [rax + rax]
mov r8, rax
and ecx, 1
or ecx, 2
lea rax, [rax + rcx*2]
movzx ecx, word [r8 + rcx*2]
cmp edx, ecx
ja 0x1401fc6b0
mov r8d, ecx
and r8d, 0x7ffe
mov edi, 0xffffffff
cmp edx, r8d
jne 0x1401fc7ba
movzx edi, word [rax + 2]
test cl, 1
je 0x1401fc7ba
shl edi, 0x10
mov r8d, edi
jmp 0x1401fc7b3
movzx edx, word [rbx + 0xe]
cmp dx, cx
jne 0x1401fc71d
lea eax, [rsi - 0x11a8]
cmp eax, 0x1a
ja 0x1401fc621
lea edi, [r14 + rsi]
add edi, 0xffffee59
jmp 0x1401fc621
mov eax, ecx
and eax, 0xfffffffe
add rax, qword [rbx + 0x30]
cmp cx, dx
jbe 0x1401fc687
movzx ecx, word [rax]
and ecx, 0x1f
lea rax, [rax + rcx*2]
add rax, 2
jmp 0x1401fc687
mov ecx, esi
shr ecx, 9
add ecx, 0x3400
shl esi, 6
and ecx, 0xfffe
mov edi, 0xffffffff
jmp 0x1401fc76e
and edx, 1
or rdx, 2
mov r8, rdx
lea rax, [rax + rdx*2]
movzx edx, word [rax]
cmp ecx, edx
ja 0x1401fc760
mov r8d, edx
and r8d, 0x7ffe
cmp ecx, r8d
jne 0x1401fc7ba
movzx r8d, word [rax + 2]
cmp r8w, si
jae 0x1401fc7a0
mov r8d, 3
test dx, dx
js 0x1401fc7ba
lea rax, [rax + r8*2]
jmp 0x1401fc76e
xor esi, r8d
test esi, 0xffc0
jne 0x1401fc7ba
and r8d, 0x3f
shl r8d, 0x10
movzx edi, word [rax + 4]
or edi, r8d
sar edi, 1
jmp 0x1401fc621
Function at 0x140002ae0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x14017fbb0]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x14017fb30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14017fbb8]
cvtsi2ss xmm0, qword [0x14017fbc0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14017fbb8], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x14017fb30]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x397], 0
je 0x140002c1f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x14017fbb0]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140002c1f
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140002c9e
mov rdx, qword [0x14017fbb0]
cmp rax, rdx
je 0x140002c57
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x140002c9e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140002c9e
mov rcx, qword [0x14017fbb0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140002c9e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140002cae
mov eax, 0xffffffff
jmp 0x140002cbb
mov rax, qword [0x14017fb30]
mov eax, dword [rax + 0x1f08]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x140002cce
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140002690
call fcn.140002810
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b5fc0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140004630
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 0x14000468d
lea rbx, [0x140103910]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004674
cmp r10, 2
jb 0x140004674
cmp byte [r9], r8b
jne 0x140004674
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 0x140004650
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400046cf
lea rbx, [0x140103910]
cmp r8b, 0x23
jne 0x1400046b3
cmp byte [r9], r8b
jne 0x1400046b3
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 0x1400046a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004810
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000482a
mov qword [r8], 0
lea rdx, [0x140103654]
call fcn.1400046e0
mov rbx, rax
test rax, rax
jne 0x14000484a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400bd548
mov esi, eax
cmp eax, 0xffffffff
je 0x140004918
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400be1a0
test eax, eax
jne 0x140004918
mov rcx, rbx
call fcn.1400bd548
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004918
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400be1a0
test eax, eax
jne 0x140004918
cmp rdi, 0xffffffffffffffff
je 0x140004918
mov rax, qword [0x14017fb30]
test rax, rax
je 0x1400048ba
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.1400c8a10
mov rsi, rax
test rax, rax
je 0x140004918
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400c33ac
mov rcx, rbx
cmp rax, rdi
je 0x140004906
call fcn.1400bde98
mov rax, qword [0x14017fb30]
test rax, rax
je 0x1400048fc
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400c3138
jmp 0x140004920
call fcn.1400bde98
test r14, r14
je 0x140004913
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004922
mov rcx, rbx
call fcn.1400bde98
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006460
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140103910]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x14017fb30]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1bec], ebx
jne 0x1400064ed
mov dword [rax + 0x1bf0], ebx
cmp dword [rax + 0x1c28], ebx
jne 0x1400064fc
mov byte [rax + 0x1c2c], 1
cmp dword [rax + 0x1bd4], ebx
jne 0x140006513
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1400159e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400102d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14017fb30]
mov edi, edx
cmp byte [rbx + 0x1f0d], 0
jne 0x140010331
cmp byte [rbx + 0x1f0e], 0
jne 0x140010331
movsx r9d, word [rbx + 0x2fe6]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400045b0
test dil, 1
je 0x140010458
jmp 0x1400103ba
movss xmm1, dword [rbx + 0x163c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x2fe6]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14011be48]
mulss xmm1, dword [0x14011be34]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cb0], rax
mov dword [rbx + 0x1c9c], 1
movss dword [rbx + 0x1ca8], xmm0
movss dword [rbx + 0x1cac], xmm1
movss xmm0, dword [rbx + 0x16a8]
mulss xmm0, dword [0x14011bdac]
or dword [rbx + 0x1c98], 0x41
movss dword [rbx + 0x1cf8], xmm0
call fcn.1400045b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140010410
lea r11, [0x140103910]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400103f3
cmp byte [r8], r9b
jne 0x1400103f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400103e0
not ecx
call fcn.14000a410
test rax, rax
je 0x140010458
cmp byte [rax + 0x8e], 0
je 0x140010458
mov byte [rax + 0x96], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x2fe6]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x2fe6]
call fcn.1400045b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000cb30
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b5fc0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret