joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012b150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x14012b1e6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdetinternal_error:_entered_unreachable_codeC:UsersRomain_SAI_TANGUY.cargo_registry_srcindex.crates.io_6f17d22bba15001f_serde_json_1.0.116_src_ser.rs]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x14021a5c0]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14003ffe0
test rdi, rdi
je 0x14012b275
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14012b28e
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x14012b386
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x14012b408
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14012b393
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14012b250
cmp r9, 8
jae 0x14012b39c
jmp 0x14012b408
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14003ffe0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14012b408
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x14012b408
mov r8, rcx
cmp r9, 8
jb 0x14012b408
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14012b3a0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140189d20
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401ad360
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ad398
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140189d30
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401ad3b0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ad3e5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140189d40
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401ad310
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ad345
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x14018fff0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140190000
test al, 1
je 0x14019001f
test al, 2
jne 0x140190037
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140288a90]
mov edx, 0x23
call fcn.140213fc0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140288ad0]
mov edx, 0x25
call fcn.140213fc0
int3
Function at 0x140194670
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r9
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa8]
cmp eax, 1
je 0x1401946ea
test eax, eax
jne 0x1401948d9
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x58]
lea rdx, [0x140189e50]
call fcn.1401f0d50
mov byte [r15 + 0xa8], 1
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140194884
lea rcx, [rax + 1]
mov edx, dword [0x140327628]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x58], rcx
mov r10, qword [rdx + 0x60]
cmp r10, 2
je 0x140194890
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r9, qword [rax + 0x68]
mov eax, 1
mov ecx, 1
lock xadd qword [r9], rcx
test r10, r10
je 0x14019477e
test rcx, rcx
jns 0x140194789
jmp 0x1401948d7
test rcx, rcx
js 0x1401948d7
xor eax, eax
mov ecx, dword [0x140327628]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
dec qword [rcx + 0x58]
lea r8, [r9 + 0x120]
lea rdx, [r9 + 0xb8]
test r10, r10
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 8]
mov qword [rbp - 8], r9
cmove r8, rdx
cmp dword [r8 + 0xc8], 0x3b9aca00
je 0x1401948bb
mov eax, 1
mov edx, 1
lock xadd qword [r9], rdx
test r10, r10
je 0x1401947f3
test rdx, rdx
jns 0x1401947fe
jmp 0x1401948d7
test rdx, rdx
js 0x1401948d7
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rsi], rax
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], r14
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x44]
movups xmm1, xmmword [rbp - 0x34]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov eax, dword [rbp - 0x24]
mov dword [rsi + 0x3c], eax
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
cmp qword [rbp - 0x10], 0
je 0x140194865
mov rax, qword [rbp - 8]
lock dec qword [rax]
jne 0x140194874
call fcn.1401aade0
jmp 0x140194874
mov rax, qword [rbp - 8]
lock dec qword [rax]
jne 0x140194874
call fcn.1401ab6a0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:UsersRomain_SAI_TANGUY.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtimecontextcurrent.rs
call fcn.140213e00
mov ecx, dword [0x140327628]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x58], rax
xor eax, eax
mov byte [rbp - 0x44], al
lea rcx, [rbp - 0x44]
mov rdx, rbx
call fcn.1402121d0
mov qword [rbp - 0x18], r10
mov qword [rbp - 0x20], r9
lea rcx, [0x14028c8d0]
mov edx, 0x73
mov r8, rbx
call fcn.140213e80
ud2
mov al, 1
mov byte [rbp - 0x44], al
lea rcx, [rbp - 0x44]
mov rdx, rbx
call fcn.1402121d0
int3
Function at 0x140194e50
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x60]
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa8]
cmp eax, 1
je 0x140194ecb
test eax, eax
jne 0x1401950b5
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x58]
lea rdx, [0x140189e50]
call fcn.1401f0d50
mov byte [r15 + 0xa8], 1
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140195068
lea rcx, [rax + 1]
mov edx, dword [0x140327628]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x58], rcx
mov rcx, qword [rdx + 0x60]
cmp rcx, 2
je 0x140195074
mov eax, dword [0x140327628]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rax, qword [rax + 0x68]
mov edx, 1
mov r8d, 1
lock xadd qword [rax], r8
test rcx, rcx
je 0x140194f60
test r8, r8
jns 0x140194f6b
jmp 0x1401950b3
test r8, r8
js 0x1401950b3
xor edx, edx
mov r8d, dword [0x140327628]
mov r9, qword gs:[0x58]
mov r8, qword [r9 + r8*8]
dec qword [r8 + 0x58]
lea r8, [rax + 0x120]
lea r9, [rax + 0xb8]
test rcx, rcx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rax
cmove r8, r9
cmp dword [r8 + 0xc8], 0x3b9aca00
je 0x14019509f
mov edx, 1
mov r8d, 1
lock xadd qword [rax], r8
test rcx, rcx
je 0x140194fd3
test r8, r8
jns 0x140194fde
jmp 0x1401950b3
test r8, r8
js 0x1401950b3
xor edx, edx
lea rcx, [rbp - 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsi], rdx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x34]
movups xmm1, xmmword [rbp - 0x24]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov eax, dword [rbp - 0x14]
mov dword [rsi + 0x3c], eax
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
cmp qword [rbp - 0x10], 0
je 0x140195049
mov rax, qword [rbp - 8]
lock dec qword [rax]
jne 0x140195058
call fcn.1401aade0
jmp 0x140195058
mov rax, qword [rbp - 8]
lock dec qword [rax]
jne 0x140195058
call fcn.1401ab6a0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:UsersRomain_SAI_TANGUY.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtimecontextcurrent.rs
call fcn.140213e00
mov ecx, dword [0x140327628]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x58], rax
xor eax, eax
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.1402121d0
lea rcx, [0x14028c8d0]
mov edx, 0x73
mov r8, r14
call fcn.140213e80
ud2
mov al, 1
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.1402121d0
int3
Function at 0x140195100
Capabilities:
Get number of processors

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
call fcn.1401e0f90
mov r8d, 0x38640900
mov rcx, rax
xor r9d, r9d
call fcn.1401e1320
mov rdi, rax
mov ebx, edx
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa8]
cmp eax, 1
je 0x14019518a
test eax, eax
jne 0x14019537f
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov r14, qword [rcx + rax*8]
lea rcx, [r14 + 0x58]
lea rdx, [0x140189e50]
call fcn.1401f0d50
mov byte [r14 + 0xa8], 1
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140195322
lea rcx, [rax + 1]
mov edx, dword [0x140327628]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x58], rcx
mov r10, qword [rdx + 0x60]
cmp r10, 2
je 0x14019532e
mov eax, dword [0x140327628]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r9, qword [rax + 0x68]
mov eax, 1
mov ecx, 1
lock xadd qword [r9], rcx
test r10, r10
je 0x14019521e
test rcx, rcx
jns 0x140195229
jmp 0x14019537d
test rcx, rcx
js 0x14019537d
xor eax, eax
mov ecx, dword [0x140327628]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
dec qword [rcx + 0x58]
lea r8, [r9 + 0x120]
lea rdx, [r9 + 0xb8]
test r10, r10
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x10], r9
cmove r8, rdx
cmp dword [r8 + 0xc8], 0x3b9aca00
je 0x14019535d
mov eax, 1
mov edx, 1
lock xadd qword [r9], rdx
test r10, r10
je 0x140195293
test rdx, rdx
jns 0x14019529e
jmp 0x14019537d
test rdx, rdx
js 0x14019537d
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rsi], rax
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], rdi
mov dword [rsi + 0x18], ebx
movups xmm0, xmmword [rbp - 0x4c]
movups xmm1, xmmword [rbp - 0x3c]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov eax, dword [rbp - 0x2c]
mov dword [rsi + 0x3c], eax
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
cmp qword [rbp - 0x18], 0
je 0x140195305
mov rax, qword [rbp - 0x10]
lock dec qword [rax]
jne 0x140195314
call fcn.1401aade0
jmp 0x140195314
mov rax, qword [rbp - 0x10]
lock dec qword [rax]
jne 0x140195314
call fcn.1401ab6a0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.C:UsersRomain_SAI_TANGUY.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtimecontextcurrent.rs
call fcn.140213e00
mov ecx, dword [0x140327628]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x58], rax
xor eax, eax
mov byte [rbp - 0x4c], al
lea rdx, [0x140289738]
lea rcx, [rbp - 0x4c]
call fcn.1402121d0
mov qword [rbp - 0x20], r10
mov qword [rbp - 0x28], r9
lea rcx, [0x14028c8d0]
lea r8, [0x140289738]
mov edx, 0x73
call fcn.140213e80
ud2
mov al, 1
mov byte [rbp - 0x4c], al
lea rdx, [0x140289738]
lea rcx, [rbp - 0x4c]
call fcn.1402121d0
int3
Function at 0x1401a9ca0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1401a9cb8
add rcx, 0x18
add rsp, 0x28
jmp 0x1401b0350
lea rcx, str.C:UsersRomain_SAI_TANGUY.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_srciopoll_evented.rs
call fcn.140213e60
int3
jmp 0x1401dd8d0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401dd908
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401ad0b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1401ad290
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1401ad2ba
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401ad2d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1401ad2fa
xor eax, eax
add rsp, 0x28
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x1401ad310
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401ad310
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ad345
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401ad360
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401ad360
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ad398
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401ad3b0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401ad3b0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ad3e5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x1401ad400
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov rsi, qword [rcx]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ad527
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x1401ad488
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x1401ad4c9
mov eax, 0x3e8
mul qword [rdi + 0x10]
mov ecx, r9d
imul r9, rcx, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, r9d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1401ad527
xor eax, eax
jmp 0x1401ad534
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1401d92a0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x1401d9340
jmp 0x1401d932f
jae 0x1401d9400
cmp r8, 0x201
jae 0x1401d9340
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1401d9398
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x1401d936f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140212c70
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1401d93c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401d9468
mov r8d, r14d
cmp r15, r8
jne 0x1401d9320
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401d9495
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1401d932f
jmp 0x1401d9340
cmp rsi, r8
jb 0x1401d94af
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1401ddb10
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x1401d9451
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400401e0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x1401d9439
jmp 0x1401d9451
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.140213fc0
jmp 0x1401d94c4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1402144f0
ud2
Function at 0x1401da0a0
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x1401da0b0
mov rcx, rdx
mov rdx, r8
jmp fcn.1401da0c0
mov rcx, rdx
mov rdx, r8
jmp fcn.1401e5a50

Function at 0x1401dd8d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1401a9cb8
add rcx, 0x18
add rsp, 0x28
jmp 0x1401b0350
lea rcx, str.C:UsersRomain_SAI_TANGUY.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_srciopoll_evented.rs
call fcn.140213e60
int3
jmp 0x1401dd8d0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401dd908
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401dd920
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1401dd957
cdqe
jmp 0x1401dd966
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x1401dd96e
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401dd97f
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

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

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
sbb bh, byte [rbx + rax]

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

Disassembly:
push rsi
sub rsp, 0x40
mov rax, r8