joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018d300
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x1402f3178]
cmp rax, 3
jne 0x14018d4f0
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x14018d516
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x14018d398
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14018d454
inc rdx
cmp rax, rdx
jne 0x14018d380
jmp 0x14018d4bb
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x14018d3ce
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14018d454
inc rdx
cmp rcx, rdx
jne 0x14018d3b0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x14018d3d2
jmp 0x14018d41e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x140205c40]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x14018d41e
add rcx, 0x10
cmp rcx, rdx
jbe 0x14018d3f0
sub rax, rcx
je 0x14018d4bb
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x14018d451
inc rdx
cmp rax, rdx
jne 0x14018d440
jmp 0x14018d4bb
add rdx, rcx
cmp rdx, rdi
jne 0x14018d4bb
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x14018d4cf
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14018d4e7
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14018d528
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x14018d528
mov rbx, rdx
call fcn.14018d9e0
mov rdx, rbx
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
jbe 0x14018d357
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.14018da50
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x14018da50
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov r14, r8
inc r14
sete r13b
je 0x14018dc73
js 0x14018dc7f
mov rdi, r9
mov rbx, r8
mov r15, rdx
mov rsi, rcx
movzx eax, byte [0x1402f31d1]
xor ecx, ecx
mov rdx, r14
call fcn.14018e330
test rax, rax
je 0x14018dc84
mov r12, rax
mov rcx, rax
mov rdx, r15
mov r8, rbx
call sub.msvcrt.dll_memcpy
cmp rbx, 0x10
jae 0x14018dae8
test rbx, rbx
je 0x14018db8f
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r15 + rax], 0
je 0x14018dbf5
inc rax
cmp rbx, rax
jne 0x14018dad0
jmp 0x14018db8f
lea rax, [r15 + 7]
and rax, 0xfffffffffffffff8
sub rax, r15
jne 0x14018db40
lea rcx, [rbx - 0x10]
xor eax, eax
movdqa xmm0, xmmword [0x140205c50]
movabs rdx, 0x8080808080808080
nop dword [rax]
movdqu xmm1, xmmword [r15 + rax]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r8, xmm2
test r8, rdx
jne 0x14018db6c
add rax, 0x10
cmp rax, rcx
jbe 0x14018db10
jmp 0x14018db6c
cmp rax, rbx
cmovae rax, rbx
xor ecx, ecx
nop dword [rax]
cmp byte [r15 + rcx], 0
je 0x14018dbf5
inc rcx
cmp rax, rcx
jne 0x14018db50
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x14018dafb
cmp rax, rbx
je 0x14018db8f
nop word cs:[rax + rax]
cmp byte [r15 + rax], 0
je 0x14018dbf5
inc rax
cmp rbx, rax
jne 0x14018db80
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], rbx
lea rcx, [rbp - 0x30]
call fcn.1400240e0
mov rbx, rax
mov r14, rdx
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x28], 1
mov qword [rbp], 0
lea r8, [rbp - 0x30]
mov r9, rbp
mov rcx, rax
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x14018dc2d
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14018dc41
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test r13b, r13b
jne 0x14018dc61
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, r12
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1401d7c44
mov rcx, qword [rdi]
mov rax, qword [rbp]
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 [rbx], 0
test r14, r14
je 0x14018dc61
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rbx
call fcn.1401d7c44
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.library_alloc_src_ffic_str.rs
call fcn.1400347a0
call fcn.140023ef0
mov ecx, 1
mov rdx, r14
call fcn.140023ed0
int3
Function at 0x140192db0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov eax, 1
test rcx, rcx
jne 0x140192f34
mov rax, qword [0x1402f3178]
cmp rax, 3
jne 0x140192f3f
mov r14, rdx
cmp word [rdx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140192e4a
cmp word [r14], 0
je 0x140192ebb
movups xmm0, xmmword [r14 + 4]
mov eax, dword [r14 + 0x14]
mov edx, dword [r14 + 0x18]
movzx ecx, word [r14 + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x140192ed2
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x140192e63
mov ebx, eax
cmp eax, 0x2726
jne 0x140192f24
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x140192f1d
mov rsi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x140192e1d
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov rcx, rsi
call fcn.1401d7ae4
jmp 0x140192f24
mov eax, dword [r14 + 2]
movzx ecx, word [r14 + 6]
xorps xmm0, xmm0
mov r8d, 0x10
mov r9w, 2
rol cx, 8
mov word [rbp - 0x1c], r9w
mov word [rbp - 0x1a], cx
mov dword [rbp - 0x18], eax
movups xmmword [rbp - 0x14], xmm0
mov dword [rbp - 4], edx
lea rdx, [rbp - 0x1c]
mov rcx, rsi
call sub.ws2_32.dll_bind
cmp eax, 0xffffffff
je 0x140192f01
xor eax, eax
mov rdx, rsi
jmp 0x140192f34
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call fcn.1401d7ae4
mov rdx, rdi
jmp 0x140192f2f
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rdx, rbx
mov eax, 1
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rsi, rdx
call fcn.14018d9e0
mov rdx, rsi
jmp 0x140192dde
Function at 0x140192f90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov ecx, dword [0x1401fc128]
test ecx, ecx
je 0x14019305f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140192fc1
cmp qword [rax + 8], 0
jne 0x140193059
mov ecx, dword [0x1401fc128]
test ecx, ecx
je 0x140193081
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14019309e
mov rsi, rax
test rax, rax
jne 0x140193031
movzx eax, byte [0x1402f31d1]
mov edx, 0x20
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x1401930c0
lea rcx, [0x1401fc110]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401fc128]
test ecx, ecx
je 0x1401930a7
dec ecx
mov rsi, rax
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm0, xmmword [rbp - 0x10]
mov rax, rsi
mov qword [rsi + 8], 1
movups xmmword [rsi + 0x10], xmm0
add rax, 0x10
jmp 0x1401930a0
lea rcx, [0x1401fc110]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140192fb6
jmp 0x140192fc1
lea rcx, [0x1401fc110]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140192fe0
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, [0x1401fc110]
mov rsi, rax
call fcn.14016c770
mov ecx, eax
mov rax, rsi
jmp 0x140193026
mov ecx, 8
mov edx, 0x20
call fcn.140023f30
int3
Function at 0x140195c50
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 0x140195c92
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140195c9a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140195cab
jmp 0x140195cc2
xor r10d, r10d
jmp 0x140195d4d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140195cc2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140195cd9
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 0x140195cf9
add r11, r8
jmp 0x140195e2b
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 0x140195dc2
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 0x140195d70
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140195de0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140195df2
jmp 0x140195e0d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140195e0d
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 0x140195e27
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 0x140195e40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x1401fc170]
test ecx, ecx
je 0x140195e73
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140195e8c
cmp qword [rax + 8], 0
je 0x140195e8c
add rax, 0x10
add rsp, 0x80
pop rsi
ret
lea rcx, [0x1401fc158]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140195e5f
mov ecx, dword [0x1401fc170]
test ecx, ecx
je 0x140195fd5
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140195ff2
mov rsi, rax
test rax, rax
jne 0x140195f38
mov qword [rsp + 0x28], 0
lea rax, [0x1401fc158]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1402f31d1]
mov edx, 0x60
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x140196010
mov rsi, rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [0x1401fc170]
test ecx, ecx
je 0x140195ffd
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x20]
cmp qword [rsi + 8], 0
lea rax, [rsi + 0x10]
mov qword [rsi + 8], 1
movups xmm0, xmmword [0x140270038]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x140270048]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x140270058]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x140270018]
movups xmmword [rsi + 0x10], xmm0
movups xmm0, xmmword [0x140270028]
movups xmmword [rsi + 0x20], xmm0
je 0x140195e6a
cmp rdx, 2
je 0x140195e6a
lock dec qword [rcx]
sete r8b
test rdx, rdx
je 0x140195fb8
test r8b, r8b
je 0x140195e6a
mov rsi, rax
call fcn.1401936c0
jmp 0x140195fc9
test r8b, r8b
je 0x140195e6a
mov rsi, rax
call fcn.140193680
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x1401fc158]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140195eab
xor eax, eax
add rsp, 0x80
pop rsi
ret
lea rcx, [0x1401fc158]
call fcn.14016c770
mov ecx, eax
jmp 0x140195f30
mov ecx, 8
mov edx, 0x60
call fcn.140023f30
ud2
Function at 0x140199840
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, 0x48
mov rsi, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x18]
cmp rbx, 0xffffffffffffffff
je 0x1401999a6
mov rdi, r8
mov r15, qword [rdx]
cmp r9, 0x7fffffff
mov r12d, 0x7fffffff
cmovb r12, r9
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x40], rax
lea r14, [rsp + 0x28]
mov qword [rsp + 0x38], r12
jmp 0x14019989d
lea r14, [rsp + 0x28]
mov rcx, r14
call fcn.140193810
mov rcx, r14
mov rdx, rsi
mov r8, r15
mov r9b, 1
call fcn.140198fc0
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x1401999c2
mov r13, qword [rsp + 0x28]
cmp al, 2
je 0x1401999dc
movzx r14d, byte [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
mov r8d, r12d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1401999e6
call sub.ws2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call fcn.140071070
cmp al, 0xd
jne 0x14019995a
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14019995a
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1401999ff
mov r12, r15
mov r15, rbx
mov rbx, rdi
add rcx, 0x10
mov r8, qword [rax + 0x10]
movzx r9d, byte [rax + 0x18]
call fcn.14006fe20
mov rdi, rax
test rax, rax
je 0x14019994c
mov rcx, rbp
call fcn.14005da80
mov rbp, rdi
mov rdi, rbx
mov rbx, r15
mov r15, r12
mov r12, qword [rsp + 0x38]
mov rcx, rbp
call fcn.1400761f0
cmp al, 0xd
jne 0x1401999d5
mov qword [rsp + 0x28], rbp
and r13d, 0x23
mov rax, qword [rsi + 0x90]
mov ecx, r14d
shl ecx, 0x10
xor r13, 0x2f
mov edx, eax
shr edx, 0x10
cmp r14b, dl
jne 0x140199890
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [rsi + 0x90], rdx
jne 0x140199980
jmp 0x140199890
mov r8, qword [rdx]
lea rcx, [rsp + 0x28]
mov rdx, rsi
mov r9b, 1
call fcn.140198fc0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1401999cc
mov eax, 2
mov rbp, r13
jmp 0x1401999eb
cmp al, 2
jne 0x140199a01
mov rbp, qword [rsp + 0x28]
mov eax, 1
jmp 0x1401999eb
mov eax, 1
mov rbp, r13
jmp 0x1401999eb
movsxd rbp, eax
xor eax, eax
mov rdx, rbp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
call fcn.1400347a0
mov rsi, rax
mov rcx, rbp
call fcn.14005da80
mov rcx, rsi
call fcn.1401d80d0
call fcn.140034bc0
int3
Function at 0x140199a30
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, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rsi, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x18]
cmp rbx, 0xffffffffffffffff
je 0x140199bc7
mov r13, r8
mov r12, qword [rdx]
mov edi, 0xffffffff
cmp r9, rdi
cmovb rdi, r9
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x58], rax
xorps xmm6, xmm6
mov qword [rsp + 0x50], rdi
nop word [rax + rax]
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov r8, r12
mov r9b, 1
call fcn.140198fc0
movzx eax, byte [rsp + 0x49]
cmp al, 3
je 0x140199be3
mov rbp, qword [rsp + 0x40]
cmp al, 2
je 0x140199bf3
movzx r15d, byte [rsp + 0x48]
mov dword [rsp + 0x3c], 0
movups xmmword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, r13
mov r8d, edi
lea r9, [rsp + 0x3c]
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
jne 0x140199bfa
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, r14
call fcn.140071070
cmp al, 0xd
jne 0x140199b57
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140199b57
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140199c24
mov rdi, r12
mov r12, rbx
mov rbx, r13
add rcx, 0x10
mov r8, qword [rax + 0x10]
movzx r9d, byte [rax + 0x18]
call fcn.14006fe20
mov r13, rax
test rax, rax
je 0x140199b49
mov rcx, r14
call fcn.14005da80
mov r14, r13
mov r13, rbx
mov rbx, r12
mov r12, rdi
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], r14
mov rcx, r14
call fcn.1400761f0
cmp al, 0xd
jne 0x140199c03
and ebp, 0x23
mov rax, qword [rsi + 0x90]
mov ecx, r15d
shl ecx, 0x10
xor rbp, 0x2f
nop dword [rax]
mov edx, eax
shr edx, 0x10
cmp r15b, dl
jne 0x140199bac
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [rsi + 0x90], rdx
jne 0x140199b90
cmp qword [rsp + 0x40], 0
je 0x140199a80
lea rcx, [rsp + 0x48]
call fcn.140193810
jmp 0x140199a80
mov r8, qword [rdx]
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov r9b, 1
call fcn.140198fc0
movzx eax, byte [rsp + 0x49]
cmp al, 3
jne 0x140199bea
mov eax, 2
jmp 0x140199c0b
cmp al, 2
jne 0x140199c26
mov rbp, qword [rsp + 0x40]
mov eax, 1
jmp 0x140199c0b
mov r14d, dword [rsp + 0x3c]
xor eax, eax
jmp 0x140199c08
mov eax, 1
mov rbp, r14
mov rdx, rbp
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
call fcn.1400347a0
mov rsi, rax
mov rcx, r14
call fcn.14005da80
mov rcx, rsi
call fcn.1401d80d0
call fcn.140034bc0
int3
Function at 0x140199d10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1401fc190]
test ecx, ecx
je 0x140199d3d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140199d56
cmp qword [rax + 8], 0
je 0x140199d56
add rax, 8
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401fc178]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140199d2c
mov ecx, dword [0x1401fc190]
test ecx, ecx
je 0x140199e30
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140199e4d
mov rsi, rax
test rax, rax
jne 0x140199dc6
movzx eax, byte [0x1402f31d1]
mov edx, 0x10
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x140199e7d
lea rcx, [0x1401fc178]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401fc190]
test ecx, ecx
je 0x140199e55
dec ecx
mov rsi, rax
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
movzx eax, byte [0x1402f31d1]
mov edx, 0x28
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x140199e6e
mov rdx, rax
mov rax, rsi
add rax, 8
mov qword [rdx], 1
mov qword [rdx + 8], 1
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
mov byte [rdx + 0x20], 0
mov rcx, qword [rax]
mov qword [rax], rdx
test rcx, rcx
je 0x140199d37
lock dec qword [rcx]
jne 0x140199d37
mov rsi, rax
call fcn.14005fd50
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401fc178]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140199d75
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401fc178]
mov rsi, rax
call fcn.14016c770
mov ecx, eax
mov rax, rsi
jmp 0x140199dbb
mov ecx, 8
mov edx, 0x28
call fcn.140023f30
mov ecx, 8
mov edx, 0x10
call fcn.140023f30
int3
Function at 0x1401a5580
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1401a55a0
test al, 1
je 0x1401a565a
test al, 2
jne 0x1401a5672
test al, 8
jne 0x1401a55db
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x58], 4
lea rdx, [rsp + 0x58]
call fcn.1401a54c0
jmp 0x1401a55f3
test al, 0x10
je 0x1401a55f3
mov rax, qword [rsi + 0x58]
test rax, rax
je 0x1401a5708
mov rcx, qword [rsi + 0x60]
call qword [rax + 0x10]
mov qword [rsp + 0x28], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x1401a568a
jne 0x1401a564c
lea rcx, [rsi + 0x28]
call fcn.1401a2ec0
mov rax, qword [rsi + 0x58]
test rax, rax
je 0x1401a562e
mov rcx, qword [rsi + 0x60]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x1402f3170]
xor edx, edx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401d7c44
nop
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140271750]
mov edx, 0x23
call fcn.14002e2c0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140271790]
mov edx, 0x25
call fcn.14002e2c0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.14002d660]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 2
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 2
lea rdx, [0x1402717d8]
lea rcx, [rsp + 0x88]
call fcn.14002d580
lea rax, str.waker_missing
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rdx, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_runtime_task_core.rs
lea rcx, [rsp + 0x58]
call fcn.14002d580
ud2
Function at 0x1401bb190
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.1401bb190
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x1401bb29a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1401bb270
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
ret