joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040ccd
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x140040ce9
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret
Function at 0x1400475f0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.1400436b0
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x140047777
mov qword [rbp + 0x3c8], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x3f0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400476b0
jmp 0x14004769f
jae 0x140047789
cmp r8, 0x201
jae 0x1400476b0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140047708
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400476df
lea rcx, [rbp + 0x3f0]
mov rdx, r12
call fcn.1400ae6c0
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f8]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x400], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x418]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r13
mov r8d, r15d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x140047738
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400477bf
mov r8d, r14d
cmp r15, r8
jne 0x140047690
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14004786c
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14004769f
jmp 0x1400476b0
lea rcx, [rbp - 0x50]
call fcn.1400416e0
mov byte [rsi + 0x18], 2
jmp 0x140047836
cmp rsi, r8
jb 0x140047886
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400456b0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3e0], xmm1
movaps xmmword [rbp + 0x3d0], xmm0
jmp 0x1400477db
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3d0], rax
mov byte [rbp + 0x3e8], 2
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
je 0x1400477fd
mov rcx, qword [0x140125790]
xor edx, edx
mov r8, qword [rbp + 0x418]
call qword [sym.imp.kernel32.dll_HeapFree]
cmp byte [rbp + 0x3e8], 2
jne 0x14004784b
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3d0]
call fcn.1400416e0
cmp qword [rbp + 0x408], 0
je 0x140047836
mov rcx, qword [0x140125790]
xor edx, edx
mov r8, qword [rbp + 0x410]
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rbp + 0x408], 0
jne 0x140047820
jmp 0x140047836
lea rcx, str.internal_error:_entered_unreachable_code_rustc_1c05d50c8403c56d9a8b6fb871f15aaa26fb5d07library_std_src_syncmpmclist.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400abfc0
jmp 0x14004789b
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400abf40
ud2
Function at 0x1400494f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1400ebea0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14004955c
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14004956b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1400495a3
cmp eax, 0x103
je 0x1400495ad
test eax, eax
js 0x140049588
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1400495a3
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, [0x1400ebf00]
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.140042380
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400417e0
mov ecx, 7
int 0x29
ud2
Function at 0x14004d300
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
test dx, dx
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 sub.ws2_32.dll_WSASocketW
sbb ebx, 5
add byte [rax - 0x7d], cl
clc
invalid
je 0x14004d350
mov qword [rsi + 8], rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
invalid

Function at 0x14004d8b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, r8
mov rsi, rcx
invalid
mov r8d, 0xffffffff
dec dword [rbp + 0x39]
ror dword [rbp + 0xf], 0x42
rol edi, 0x44
and al, 0x34
add byte [rax], al
add byte [rax], al
Function at 0x140054ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
Function at 0x1400571c0
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 [0x140125ab8]
mov ecx, 0x10
mov edx, 8
call fcn.1400119c9
test rax, rax
je 0x1400572b6
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400573c0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400572a8
mov rcx, qword [rbx]
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x18], rax
call qword [rax]
mov rax, qword [rbp - 0x18]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x20]
je 0x140057281
cmp qword [rax + 0x10], 0x11
jae 0x14005726a
mov r8, qword [rbp - 0x10]
jmp 0x140057272
mov r8, qword [rbp - 0x10]
mov r8, qword [r8 - 8]
mov rcx, qword [0x140125790]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x140125790]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400abc30
ud2
Function at 0x140057880
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.1400ab240
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r12, rcx
lea r13, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r13
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xfe8]
xorps xmm6, xmm6
lea rbx, [rbp + 0xffc]
lea rsi, [0x14004d980]
lea r15, [rbp + 0xfb0]
mov r14, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r12
mov r9d, 0x1000
mov rdx, r12
mov r8, r13
call case.0x14004a310.124
cmp qword [rbp + 0xfe8], 0
jne 0x140057a57
mov r12, qword [rbp + 0xff0]
test r12, r12
je 0x140057a23
cmp r12, 0x1000
ja 0x140057a79
xor r13d, r13d
nop word cs:[rax + rax]
mov r8d, r12d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], rbx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rbp + 0x1008]
mov r9, r15
call r14
test eax, eax
je 0x1400579f7
nop word [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x1400579a0
movsxd rax, dword [rbp + 0x1000]
test rax, rax
jne 0x1400579fd
mov eax, dword [rbp + 0x1004]
add r13, rax
cmp r13, r12
je 0x1400579e0
jbe 0x140057950
jmp 0x140057a65
mov r12, qword [rbp + 0x1010]
lea r13, [rbp - 0x50]
lea rcx, [rbp + 0xfe8]
jmp 0x140057905
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe0], rax
mov qword [rbp + 0xfd8], 1
lea rcx, [rbp + 0xfe0]
call fcn.1400416e0
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xff0]
call fcn.1400416e0
jmp 0x140057a23
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r13
mov rdx, r12
call fcn.1400ac210
jmp 0x140057a8d
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, r12
call fcn.1400abf40
ud2

Function at 0x140057ba0
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 0x140057be3
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, [0x140048140]
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.1400abe00
ud2
Function at 0x140059b20
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov edi, edx

Function at 0x14005e440
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 0x14005e475
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14005e47a
call fcn.140057ba0
nop
add rsp, 0x38
ret

Function at 0x14005fc92
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 0x14005fcc8
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14005fcd0
mov esi, dword [rdx]
mov r9d, 4
jmp 0x14005fcd5
xor r10d, r10d
jmp 0x14005fd83
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14005fcf8
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14005fd0f
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 0x14005fd2f
add r11, r8
jmp 0x14005fe53
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 0x14005fdf7
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
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 0x14005fda5
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14005fe09
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x14005fe0f
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14005fe35
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14005fe4f
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 0x140063545
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14006354c
test al, 1
je 0x14006356b
test al, 2
jne 0x140063580
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400ef0b0]
mov edx, 0x23
jmp 0x140063593
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400ef0f0]
mov edx, 0x25
call fcn.1400abfc0
ud2

Function at 0x140064098
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x3a]
lea r13, [rsp + 0x52]
mov rbp, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
mov r9b, 1
call fcn.140063bef
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x140064214
mov rcx, qword [rsp + 0x30]
cmp al, 2
je 0x140064222
mov dl, byte [rsp + 0x38]
movzx r8d, word [r15 + 4]
mov word [r13 + 4], r8w
mov r8d, dword [r15]
mov dword [r13], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
cmp r12, 0xffffffffffffffff
je 0x140064269
mov rcx, r12
mov rdx, rdi
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x140064234
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14005f4a7
cmp al, 0xd
jne 0x1400641e4
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400641e4
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140064283
mov rbp, r12
mov r12, r14
mov r14, r15
mov r15, rbx
mov rbx, rdi
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140033f0e
test rax, rax
je 0x1400641d0
mov rdi, rax
mov rcx, rsi
call fcn.14000299b
mov rsi, rdi
mov rdi, rbx
mov rbx, r15
mov r15, r14
mov r14, r12
mov r12, rbp
mov rbp, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14005f4a7
cmp al, 0xd
jne 0x140064248
mov qword [rsp + 0x30], rsi
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.140063e0a
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.1400388b7
jmp 0x1400640f4
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x140064258
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x140064258
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x140064258
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.33.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.1400abfc0
ud2
ud2
Function at 0x140075add
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm6
mov rsi, rdx
mov r12, rcx
lea rbp, [rdx + r8]
test r8, r8
mov qword [rsp + 0x60], rbp
je 0x140075b1a
mov bl, byte [rsi]
cmp bl, 0x3b
jne 0x14007614c
inc rsi
mov edi, 1
xor r14d, r14d
mov r15, r8
mov ecx, 8
xor edx, edx

Function at 0x14007a0aa
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
in al, dx
call 0x18407a0be
mov ebx, eax
Function at 0x140080f33
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, r9
mov r14, r8
mov r15, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r12, [rsp + 0x3a]
lea rbp, [rsp + 0x52]
mov rdi, qword [rdx + 0x10]
mov r13, qword [rdx + 0x18]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], rdi
mov rcx, rsi
mov rdx, rdi
mov r8, r14
xor r9d, r9d
call fcn.140063bef
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x1400810cc
mov rsi, qword [rsp + 0x30]
cmp al, 2
je 0x1400810ba
mov cl, byte [rsp + 0x38]
movzx edx, word [r12 + 4]
mov word [rbp + 4], dx
mov edx, dword [r12]
mov dword [rbp], edx
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x50], cl
mov byte [rsp + 0x51], al
cmp r13, 0xffffffffffffffff
je 0x14008111b
mov rcx, r13
mov rdx, rbx
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x1400810da
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x1400810f8
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14005f4a7
cmp al, 0xd
jne 0x14008108a
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14008108a
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140081135
mov rdi, r13
mov r13, r15
mov r15, r12
mov r12, r14
mov r14, rbx
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140033f0e
test rax, rax
je 0x140081076
mov rbx, rax
mov rcx, rsi
call fcn.14000299b
mov rsi, rbx
mov rbx, r14
mov r14, r12
mov r12, r15
mov r15, r13
mov r13, rdi
mov rdi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14005f4a7
cmp al, 0xd
jne 0x1400810ba
mov qword [rsp + 0x30], rsi
mov rcx, r15
lea rdx, [rsp + 0x48]
call fcn.140063e0a
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.1400388b7
jmp 0x140080f8f
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
jmp 0x14008110a
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x14008110a
movsxd rcx, eax
mov rdx, qword [rsp + 0xd0]
cmp rcx, rdx
jbe 0x1400810fa
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.33.0_srcio_read_buf.rs
call fcn.1400abf40
ud2
xor ecx, ecx
mov rax, qword [rsp + 0x28]
mov qword [rax], 0
mov qword [rax + 8], rcx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.33.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.1400abfc0
ud2
ud2
Function at 0x1400a43bc
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
Function at 0x1400a9336
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ebx, 0x100
mov ecx, 0x100
call fcn.140011b0d
test rax, rax
je 0x1400a9384
mov rdi, rax
mov rcx, rax
call sub.user32.dll_GetKeyboardState
mov rax, rdi
add rax, rbx
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], 0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 0x100
call fcn.1400abc30
ud2

Function at 0x1400ab784
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ab7ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ab7ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ab7ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ab7ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ab7ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400ab7d0
xor al, al
add rsp, 0x28
ret

Function at 0x1400ada82
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400adad4
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400adad4
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400adad4
mov r14, rax
xor edi, edi
jmp 0x1400adb58
lea rcx, [0x140119e62]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400adbc2
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400adbc2
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400adbc2
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400adbc2
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400adbc2
mov r14, qword [rsp + 0x20]
mov al, byte [0x140125ab8]
mov ecx, 0x18
mov edx, 8
call fcn.1400119c9
test rax, rax
je 0x1400adbdc
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1401256c0], rbx
je 0x1400adbb5
mov rsi, rax
cmp qword [rbx], 0
je 0x1400adba0
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x140125790]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.8.6_src_thread_parkerwindowsmod.rs
mov edx, 0x5b
call fcn.1400adbed
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1400abc30
ud2