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

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x14032c080]
movaps xmmword [rsp + 0x60], xmm0
and al, 0x60
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and al, 0x38
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor eax, eax
xor r9d, r9d
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x14018fb13
invalid
mov rcx, rsi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
add eax, dword [rax]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14018fb20
invalid
xor edx, edx
xor eax, eax
shr bl, 0x2a
cmp eax, 0x103
je 0x14018fb53
test eax, eax
js 0x14018fb34
mov rdx, qword [rsp + 0x68]
xor eax, eax
jmp 0x14018fb4a
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
add eax, dword [rax]
mov edx, eax
shl rdx, 0x20
or rdx, 2
retf 0xb802
add dword [rax], eax
add byte [rax], al
invalid
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x14032c0e8]
lea eax, [0x14032c0e8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rax], al
add dword [rax], eax
add byte [rax], al
invalid
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
test byte [rax + rbx*4], ah
add byte [rax], al
add byte [rax], al
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.14016bfd0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.14016c050
mov ecx, 7
invalid
add byte [rax], al
invalid
int 0x29
ud2

Function at 0x140190cf0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
or byte [rax - 0x73], 0x4c
and al, 0x28
Function at 0x140192f90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x40
mov ecx, dword [0x1402731f0]
test ecx, ecx
je 0x140193082
dec ecx
call fcn.1401c0bbc
cmp rax, 2
jb 0x140192fc0
cmp qword [rax + 8], 0
je 0x140192fc0
add rax, 0x10
jmp 0x14019307c
mov ecx, dword [0x1402731f0]
test ecx, ecx
je 0x140193095
dec ecx
call fcn.1401c0bbc
cmp rax, 1
je 0x14019307a
test rax, rax
jne 0x140193040
mov qword [rsp + 0x30], 0
lea rax, [0x1402731d8]
mov qword [rsp + 0x28], rax
movzx eax, byte [0x14039f278]
mov edx, 0x18
xor ecx, ecx
call fcn.1401a0460
test rax, rax
je 0x1401930c1
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402731f0]
test ecx, ecx
je 0x1401930a8
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.1401c0bb4
mov rax, rsi
mov rdx, rax
add rax, 0x10
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
mov qword [rdx + 8], 1
mov qword [rdx + 0x10], 0
je 0x14019307c
test rcx, rcx
je 0x14019307c
lock dec qword [rcx]
jne 0x14019307c
mov rsi, rax
call fcn.1401930f0
mov rax, rsi
jmp 0x14019307c
xor eax, eax
add rsp, 0x40
pop rsi
ret
lea rcx, [0x1402731d8]
call fcn.14016c7a0
mov ecx, eax
jmp 0x140192fa5
lea rcx, [0x1402731d8]
call fcn.14016c7a0
mov ecx, eax
jmp 0x140192fd0
lea rcx, [0x1402731d8]
mov rsi, rax
call fcn.14016c7a0
mov ecx, eax
mov rax, rsi
jmp 0x140193032
mov ecx, 8
mov edx, 0x18
call fcn.1400529c0
ud2
Function at 0x140193870
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rsp + 0x2e], ax
mov rax, qword [0x14039f218]
cmp rax, 3
jne 0x140193a1f
lea rax, [rsp + 0x2e]
mov qword [rsp + 0x38], rax
cmp rdi, 0x17f
ja 0x140193a2f
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov byte [rsp + rdi + 0x70], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x1401938f8
xor edx, edx
nop dword [rax]
cmp byte [rsp + rdx + 0x70], 0
je 0x140193994
inc rdx
cmp rax, rdx
jne 0x1401938e0
jmp 0x1401939ee
lea rcx, [rsp + 0x77]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x14019392a
xor edx, edx
nop dword [rax + rax]
cmp byte [rsp + rdx + 0x70], 0
je 0x140193994
inc rdx
cmp rcx, rdx
jne 0x140193910
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x14019392e
jmp 0x14019396e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x14027e090]
movabs r8, 0x8080808080808080
movdqu xmm1, xmmword [rsp + rcx + 0x70]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x14019396e
add rcx, 0x10
cmp rcx, rdx
jbe 0x140193940
sub rax, rcx
je 0x1401939ee
lea r8, [rsp + rcx]
add r8, 0x70
xor edx, edx
nop dword [rax]
cmp byte [r8 + rdx], 0
je 0x140193991
inc rdx
cmp rax, rdx
jne 0x140193980
jmp 0x1401939ee
add rdx, rcx
cmp rdx, rdi
jne 0x1401939ee
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x30]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x140193a02
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140193a16
lea rax, [0x14032b510]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140193a3f
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x2e]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x140193a3f
mov rbx, rdx
call fcn.140193f10
mov rdx, rbx
jmp 0x1401938a1
lea r9, [rsp + 0x38]
mov rcx, rsi
mov r8, rdi
call fcn.140193f70
nop
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
ret
Function at 0x140193f70
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r9
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140052b70
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x140193ff9
mov rdi, qword [rsp + 0x38]
mov r14, 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 sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x14019402b
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140194040
lea rcx, [0x14032b510]
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x14019405c
mov rcx, qword [rsp + 0x38]
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400322f0
mov rcx, qword [rbx]
mov rax, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x14019405c
mov edx, 1
mov rcx, rdi
call fcn.1400322f0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140194cf0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rsp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x58], rax
lea rax, [0x140194a10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x140194da0
nop
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x140194d40
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
xor r8d, r8d
test eax, eax
setne r8b
cmovne rdx, rcx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
je case.0x140194c54.24
lea rsi, [rsp + 0x48]
mov eax, edx
and eax, 3
lea rcx, [0x14027e0f8]
invalid
invalid
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
loop 0x140194dcb
Function at 0x14019a900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
movabs rbx, 0x8000000000000000
lea rcx, [rsp + 0x40]
call fcn.14016e320
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
cmp rcx, rbx
jne 0x14019a93d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
jmp 0x14019a96a
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.14019a830
mov r14, qword [rsp + 0x28]
cmp r14, rbx
jne 0x14019a983
lea rcx, [rsp + 0x30]
call fcn.14016d350
mov qword [rsi], rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov rcx, rdi
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x14019a9a7
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x14019a977
mov qword [rsi], rbx
test r14, r14
je 0x14019a977
mov edx, 2
mov rcx, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400322f0
Function at 0x14019d2f0
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x14039f278]
mov edx, 0x10
xor ecx, ecx
call fcn.1401a0460
test rax, rax
je 0x14019d3a5
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14019d400]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.KERNEL32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x14019d398
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x14019d377
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.1400322f0
mov edx, 8
mov rcx, rsi
call fcn.1400322f0
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.1400529c0
ud2

Function at 0x14019d640
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.1401c0b20
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rdi, rcx
lea r14, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm6, xmm6
lea r15, [rsp + 0x34]
lea rbx, [0x140194a10]
lea r12, [rsp + 0x60]
mov r8d, 0x1000
mov rcx, rdi
mov rdx, r14
call fcn.140194cf0
mov r13, rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
test rax, rax
jne 0x14019d7d9
test r13, r13
je 0x14019d7ad
cmp r13, 0x1000
ja 0x14019d7e5
xor ebp, ebp
nop word cs:[rax + rax]
mov r8d, r13d
sub r8d, ebp
lea rdx, [rsp + rbp]
add rdx, 0x80
mov dword [rsp + 0x34], 0
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov r9, r12
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x14019d788
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x14019d720
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
jne 0x14019d7a3
add rbp, rax
cmp rbp, r13
je 0x14019d693
jbe 0x14019d6e0
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, rbp
mov rdx, r13
call fcn.1400818d0
jmp 0x14019d7f9
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.14016d350
mov rcx, rdi
call fcn.1401c0f54
mov rcx, rsi
call fcn.1401c0f54
movaps xmm6, xmmword [rsp + 0x1080]
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x58]
call fcn.14016d350
jmp 0x14019d7ad
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r13
call fcn.140080b50
ud2
Function at 0x14019f830
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14019f999
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x14019f867
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14019f983
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14019f966
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call sub.KERNEL32.dll_ReadFile
test eax, eax
je 0x14019f8c8
mov eax, dword [rsp + 0x2c]
mov ecx, 2
test rax, rax
je 0x14019f90c
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14019f910
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x40], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x14019f914
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x14019f943
lea rax, [rsp + 0x30]
jmp 0x14019f922
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x14019f949
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.14016d350
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, 2
jne 0x14019f953
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
test rcx, rcx
jne 0x14019f8b1
mov ecx, 1
jmp 0x14019f8bb
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140171fc0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14019f874
mov r8d, 0x10
mov rcx, rbx
call fcn.140171fc0
mov rax, qword [rbx]
jmp 0x14019f867
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14019f9b0
int3

Function at 0x1401a3310
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rsp + 0x28]
call fcn.14016e320
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rax, rdi
je 0x1401a3375
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.14018cb50
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rbx, rdi
jne 0x1401a3380
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
je 0x1401a33a2
test rbx, rbx
je 0x1401a33c6
mov edx, 2
mov rcx, rsi
call fcn.1400322f0
xor eax, eax
jmp 0x1401a3378
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rbx, rbx
je 0x1401a3378
mov edx, 2
mov rcx, rsi
mov rsi, rax
call fcn.1400322f0
jmp 0x1401a3375
xor eax, eax
jmp 0x1401a3378
Function at 0x1401a3d70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x140273210]
test ecx, ecx
je 0x1401a3e3c
dec ecx
call fcn.1401c0bbc
cmp rax, 2
jb 0x1401a3d9b
cmp qword [rax + 8], 0
jne 0x1401a3e2e
mov ecx, dword [0x140273210]
test ecx, ecx
je 0x1401a3e4f
dec ecx
call fcn.1401c0bbc
cmp rax, 1
je 0x1401a3e34
mov rsi, rax
test rax, rax
jne 0x1401a3e03
movzx eax, byte [0x14039f278]
mov edx, 0x20
xor ecx, ecx
call fcn.1401a0460
test rax, rax
je 0x1401a3e78
lea rcx, [0x1402731f8]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x140273210]
test ecx, ecx
je 0x1401a3e62
dec ecx
mov rsi, rax
mov rdx, rax
call fcn.1401c0bb4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm0, xmmword [rsp + 0x20]
mov rax, rsi
mov qword [rsi + 8], 1
movups xmmword [rsi + 0x10], xmm0
add rax, 0x10
jmp 0x1401a3e36
xor eax, eax
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1402731f8]
call fcn.14016c7a0
mov ecx, eax
jmp 0x1401a3d85
lea rcx, [0x1402731f8]
call fcn.14016c7a0
mov ecx, eax
jmp 0x1401a3dab
lea rcx, [0x1402731f8]
mov rsi, rax
call fcn.14016c7a0
mov ecx, eax
mov rax, rsi
jmp 0x1401a3df8
mov ecx, 8
mov edx, 0x20
call fcn.1400529c0
int3

Function at 0x1401a43db
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
cmp rdx, 0x20
jb fcn.140086b00
jmp fcn.140080470

Function at 0x1401a688c
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1401a68a5
dec ecx
add rsp, 0x28
jmp fcn.1401c0bbc
mov rcx, rax
call fcn.14016c7a0
mov ecx, eax
jmp 0x1401a689c

Function at 0x1401ab017
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 0x1401ab01e
test al, 1
je 0x1401ab03d
test al, 2
jne 0x1401ab055
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140330068]
mov edx, 0x23
call fcn.140080ec0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403300a8]
mov edx, 0x25
call fcn.140080ec0
int3
Function at 0x1401abcf4
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, 0x58
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea r14, [rsp + 0x2a]
lea r15, [rsp + 0x42]
mov r12, qword [rcx + 0x10]
mov r13d, 0x7fffffff
cmp r9, r13
cmovb r13, r9
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], r13
mov rcx, rbp
mov rdx, r12
mov r8, rdi
call fcn.1401aba84
mov al, byte [rsp + 0x29]
cmp al, 3
je 0x1401abe66
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x1401abe5f
mov cl, byte [rsp + 0x28]
movzx edx, word [r14 + 4]
mov word [r15 + 4], dx
mov edx, dword [r14]
mov dword [r15], edx
mov qword [rsp + 0x38], rbp
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x41], al
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x1401abe86
mov rdx, rsi
mov r8d, r13d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1401abe6d
call sub.ws2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call fcn.1400be659
cmp al, 0xd
jne 0x1401abe2f
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1401abe2f
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1401abe92
mov r13, r12
mov r12, rbx
mov rbx, r14
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.1400be497
mov r14, rax
xor ecx, ecx
call fcn.14016bbbd
test r14, r14
je 0x1401abe21
mov ecx, 1
mov rdx, rbp
call fcn.1400be917
mov rbp, r14
mov r14, rbx
mov rbx, r12
mov r12, r13
mov r13, qword [rsp + 0x30]
mov rcx, rbp
call fcn.14014de31
cmp al, 0xd
jne 0x1401abe5f
mov qword [rsp + 0x20], rbp
mov rcx, rbx
lea rdx, [rsp + 0x38]
call fcn.1401ab893
lea rbp, [rsp + 0x20]
mov rcx, rbp
call fcn.1401a5dfa
jmp 0x1401abd44
mov eax, 1
jmp 0x1401abe72
mov eax, 2
jmp 0x1401abe72
movsxd rbp, eax
xor eax, eax
mov rdx, rbp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_io_poll_evented.rs
call fcn.140084070
ud2
Function at 0x1401abe94
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, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rsi, r8
mov r15, rdx
mov rbx, rcx
lea r13, [rsp + 0x4a]
lea r12, [rsp + 0x5a]
lea rdi, [rsp + 0x48]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x78], rax
mov rbp, qword [rcx + 0x18]
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x60], rax
xorps xmm6, xmm6
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x40]
mov rdx, qword [rsp + 0x78]
mov r8, r15
mov r9b, 1
call fcn.1401ab8f6
mov al, byte [rsp + 0x49]
cmp al, 3
je 0x1401ac03d
mov r14, qword [rsp + 0x40]
cmp al, 2
je 0x1401ac044
mov cl, byte [rsp + 0x48]
movzx edx, word [r13 + 4]
mov word [r12 + 4], dx
mov edx, dword [r13]
mov dword [r12], edx
mov qword [rsp + 0x50], r14
mov byte [rsp + 0x58], cl
mov byte [rsp + 0x59], al
cmp rbp, 0xffffffffffffffff
je 0x1401ac074
and dword [rsp + 0x3c], 0
movups xmmword [rsp + 0x28], xmm6
and dword [rsp + 0x20], 0
mov rcx, rbp
mov rdx, rsi
mov r8, qword [rsp + 0x70]
lea r9, [rsp + 0x3c]
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
jne 0x1401ac04b
mov r14d, eax
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
xor ebp, ebp
cmp r14d, 0xffffffff
sete bpl
mov r14d, dword [rsp + 0x3c]
cmove r14, rax
mov rcx, r14
call fcn.1400be659
cmp al, 0xd
jne 0x1401ac008
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1401ac008
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1401ac080
mov rdi, r13
mov r13, rbx
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.1400be497
mov rbx, rax
xor ecx, ecx
call fcn.14016bbbd
test rbx, rbx
je 0x1401abffd
mov rcx, rbp
mov rdx, r14
call fcn.1400be917
mov r14, rbx
mov rbx, r13
mov r13, rdi
lea rdi, [rsp + 0x48]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r14
mov rcx, r14
call fcn.14014de31
cmp al, 0xd
jne 0x1401ac052
mov rcx, rbx
lea rdx, [rsp + 0x50]
call fcn.1401ab893
mov rcx, rdi
call fcn.1401a5dfa
mov rbp, qword [rsp + 0x68]
jmp 0x1401abef6
mov ebp, 2
jmp 0x1401ac052
mov ebp, 1
jmp 0x1401ac052
mov r14d, dword [rsp + 0x3c]
xor ebp, ebp
mov rax, rbp
mov rdx, r14
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_io_poll_evented.rs
call fcn.140084070
ud2