joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401bede0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1402623f0
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
lea r8, [rsp + 0x2c]
mov rcx, rax
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1401bee12
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x1401bee30
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
call fcn.1402623f0
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rax
mov edx, 0xffff
mov r8d, 8
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401bef66
mov rcx, rdi
call fcn.1402623f0
mov rcx, rax
mov r10d, dword [rsi + 8]
xor r8d, r8d
mov r9d, 0
cmp r10d, 0x3b9aca00
je 0x1401beec8
mov eax, 0x3e8
mul qword [rsi]
mov r9d, r10d
imul r10, r9, 0x431bde83
shr r10, 0x32
add r10, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r10, rax
cmovae r10, rax
xor r9d, r9d
neg rdx
sbb r9d, r9d
or r9d, r10d
mov r10d, dword [rsi + 0x18]
cmp r10d, 0x3b9aca00
je 0x1401bef0b
mov eax, 0x3e8
mul qword [rsi + 0x10]
mov r8d, r10d
imul r10, r8, 0x431bde83
shr r10, 0x32
add r10, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r10, rax
cmovae r10, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r10d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x50], r8d
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 edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x1401bef66
xor eax, eax
jmp 0x1401bef73
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1401d2cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov rsi, rcx
test edx, edx
je 0x1401d2cfb
mov byte [rsi + 4], 0x12
mov rdi, r9
bt rdx, 0x20
jb 0x1401d2e6d
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, rdi
ror rax, 1
movabs rcx, 0x2aaaaaaaaaaaaaab
cmp rax, rcx
jb 0x1401d2e7f
mov rax, qword [0x1403b6e88]
mov rax, qword [rax]
cmp rax, 1
ja 0x1401d312d
movzx edx, byte [0x1403b5d18]
test dl, dl
je 0x1401d312d
movzx eax, dl
cmp eax, 1
je 0x1401d2d63
cmp eax, 2
jne 0x1401d3117
mov dl, 2
mov rcx, qword [0x1403b5d08]
call fcn.1401f9da0
test al, al
je 0x1401d312d
mov rcx, qword [0x1403b5d08]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1401d31ae
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], rax
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rax, [0x14009d100]
mov qword [rsp + 0x58], rax
lea rax, str.invalid_settings_payload_length__len
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 1
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x68], rax
lea rax, fcn.140004de0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
invalid
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x78]
call fcn.1401fa950
mov byte [rsi + 4], 0x11
test rdi, rdi
je 0x1401d305f
mov byte [rsi + 4], 0x10
jmp fcn.1401d2cde
test rdi, rdi
je 0x1401d3098
xor eax, eax
lea r14, [0x1402d7394]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x24], 0
xor edx, edx
mov dword [rsp + 0x2c], 0
xor r11d, r11d
mov dword [rsp + 0x28], 0
jmp fcn.1401d2eec
mov dword [rsi], 0
mov dword [rsi + 8], 0
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x18], 0
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
mov dword [rsi + 0x30], 0
mov byte [rsi + 0x38], 1
jmp fcn.1401d2ce4
mov dword [rsp + 0x28], 0
xor r11d, r11d
mov dword [rsp + 0x2c], 0
xor edx, edx
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x30], 0
xor eax, eax
lea rcx, [0x1403b5d08]
call fcn.140287300
mov edx, eax
test al, al
jne 0x1401d2d63
mov byte [rsi + 4], 0x11
jmp fcn.1401d2cde
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.21_srcproto_settings.rs
lea r8, [0x1402d5e48]
mov edx, 0x22
call fcn.14028b1c0
ud2
Function at 0x140200de0
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 0x140200df0
test al, 1
je 0x140200e0f
test al, 2
jne 0x140200e29
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402e81a0]
mov edx, 0x23
call fcn.14028b2e0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402e81e0]
mov edx, 0x25
call fcn.14028b2e0
ud2
Function at 0x1402055d0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14021e1c0
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1402623f0
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14021e201
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x1402055e0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14021e220
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402623f0
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14021e25f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x1402055f0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14021e160
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402623f0
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14021e19f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x14020eae0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14020eaf8
add rcx, 0x18
add rsp, 0x28
jmp 0x1402219e0
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.33.0_srciopoll_evented.rs
lea r8, [0x1402e9200]
mov edx, 0x2b
call fcn.14028b2e0
ud2
jmp 0x14025a8a0
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 0x14025a8d8
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 0x14021e040
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 0x14021e120
Capabilities:
Connect socket

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.1402623f0
mov r8d, dword [rsi + 0x80]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x14021e157
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x20
pop rsi
ret
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x14021e160
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14021e160
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402623f0
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14021e19f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x14021e1c0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14021e1c0
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1402623f0
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14021e201
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x14021e220
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14021e220
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402623f0
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14021e25f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x1402209c0
Capabilities:
Connect socket

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
cmp word [rdx], 0
je 0x1402209f9
movups xmm0, xmmword [rdx + 4]
movzx eax, word [rdx + 0x1c]
rol ax, 8
mov r8d, dword [rdx + 0x18]
add rdx, 0x14
mov esi, 0x1c
mov r9w, 0x17
jmp 0x140220a12
movzx eax, word [rdx + 6]
rol ax, 8
add rdx, 2
mov esi, 0x10
mov r9w, 2
xorps xmm0, xmm0
mov edx, dword [rdx]
mov word [rbp - 0x24], r9w
mov word [rbp - 0x22], ax
mov dword [rbp - 0x20], edx
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], r8d
call fcn.1402623f0
lea rdx, [rbp - 0x24]
mov rcx, rax
mov r8d, esi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140220a6d
call sub.kernel32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rbp - 8], rcx
mov ecx, eax
call fcn.140266830
cmp al, 0xd
mov rax, qword [rbp - 8]
jne 0x140220a6f
mov rcx, rax
call fcn.140025a70
xor eax, eax
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140221ec0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov rax, qword [0x1403b7090]
cmp rax, 3
jne 0x140221f7d
mov ecx, ebx
mov edx, edi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x140221f50
mov rdi, rax
mov dword [rbp - 8], 1
lea r8, [rbp - 8]
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x140221f68
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, qword [rbp - 0x10]
jmp 0x140221f5d
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140221f6e
mov qword [rsi + 8], rdi
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov byte [rbp - 1], 1
lea rax, [rbp - 1]
mov qword [rbp - 0x18], rax
lea rax, str.C:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.9_src_syswindows_net.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1403b7090]
lea r9, fcn.140004de0
lea r8, [rbp - 0x18]
xor edx, edx
call fcn.14028a5f0
jmp 0x140221efd
Function at 0x140244890
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x10]
movzx ebx, byte [rdx + 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x1403b7031]
mov ecx, 0x5f0
mov edx, 8
call fcn.140043c20
test rax, rax
mov qword [rbp - 8], r14
je 0x140244af6
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r12d, 1
lock xadd qword [0x1403b70c0], r12
mov r14, r12
xor r14, rcx
lea r15, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r15
lea r15, [rax + r8]
rol rax, 0x15
add r14, r9
mov r13, r14
xor r13, r10
rol r14, 0x20
xor r12, r15
add r12, r13
rol r13, 0xd
xor r15, r11
xor r13, r12
rol r12, 0x20
xor r15, rax
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r15, r12
xor r13, r14
rol r14, 0x20
xor r12, r11
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r14, 0xff
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
add r14, r15
rol r15, 0x10
xor r15, r14
rol r15, 0x15
xor r13, r12
add r14, r13
rol r13, 0x11
mov r12, r14
rol r12, 0x20
xor r12, r13
xor r12, r15
xor r12, r14
je 0x140244950
mov rdx, qword [rbp - 8]
mov rax, qword [rdx + 0x40]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rcx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rcx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rcx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rcx
mov qword [rsi + 0x108], r12
mov qword [rsi + 0x110], rax
mov rcx, qword [rdx + 0x48]
test rcx, rcx
je 0x140244ae2
mov rdx, qword [rdx + 0x50]
test rdx, rdx
je 0x140244ae2
mov r8d, 1
call fcn.140043c30
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.14028aef0
ud2
Function at 0x140254e70
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
test rax, rax
je 0x140254ea6
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140254eb6
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x140254ed0
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], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140254f60
jmp 0x140254f4f
jae 0x140255020
cmp r8, 0x201
jae 0x140254f60
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140254fb8
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x140254f8f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140289d00
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
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 0x140254fe1
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140255088
mov r8d, r14d
cmp r15, r8
jne 0x140254f40
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1402550ab
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140254f4f
jmp 0x140254f60
cmp rsi, r8
jb 0x1402550c5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14025aaf0
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 rdi, rdi
je 0x140255071
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140043c30
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], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140255059
jmp 0x140255071
lea rcx, str.internal_error:_entered_unreachable_code_rustc_09df6108c84fdec400043d99d9ee232336fd5a9flibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14028b2e0
jmp 0x1402550da
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14028b810
ud2
Function at 0x140255230
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 - 0x60]
call fcn.1402669f0
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x408], rax
test rax, rax
je 0x1402553b6
mov qword [rbp + 0x400], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x410], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x1402552f0
jmp 0x1402552df
jae 0x1402553c8
cmp r8, 0x201
jae 0x1402552f0
mov r15d, 0x200
lea r14, [rbp - 0x60]
mov r12, r8
jmp 0x140255348
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x14025531f
lea rcx, [rbp + 0x3e8]
mov rdx, r13
call fcn.140289d00
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x410], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3f8], r13
mov rbx, rdi
mov r15, r13
mov r14, qword [rbp + 0x410]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rbp + 0x408]
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x140255377
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14025549b
mov r8d, esi
cmp r12, r8
jne 0x1402552d0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1402554c5
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1402552df
jmp 0x1402552f0
lea rcx, [rbp - 0x58]
call fcn.140252570
mov byte [rsi + 0x18], 2
jmp 0x14025545a
cmp r15, r8
jb 0x1402554df
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.14025aaf0
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x140255419
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x410]
mov rdx, rdi
call fcn.140043c30
cmp byte [rbp + 0x3d8], 2
jne 0x140255471
mov rsi, qword [rbp + 0x400]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140252570
mov rdx, qword [rbp + 0x418]
test rdx, rdx
je 0x14025545a
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x408]
call fcn.140043c30
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x400]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
jne 0x140255445
jmp 0x14025545a
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x140255401
jmp 0x140255419
lea rcx, str.internal_error:_entered_unreachable_code_rustc_09df6108c84fdec400043d99d9ee232336fd5a9flibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14028b2e0
jmp 0x1402554f4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14028b810
ud2
Function at 0x1402568a0
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x1402568b0
mov rcx, rdx
mov rdx, r8
jmp fcn.1402568c0
mov rcx, rdx
mov rdx, r8
jmp fcn.140262530

Function at 0x14025a8a0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14020eaf8
add rcx, 0x18
add rsp, 0x28
jmp 0x1402219e0
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.33.0_srciopoll_evented.rs
lea r8, [0x1402e9200]
mov edx, 0x2b
call fcn.14028b2e0
ud2
jmp 0x14025a8a0
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 0x14025a8d8
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 0x14025a8f0
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 0x14025a927
cdqe
jmp 0x14025a936
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x14025a93e
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14025a94f
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 0x14025a960
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]
cmp eax, 0xffffffff
je 0x14025a99d
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14025a9b4
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 rax, rsi
add rsp, 0x20
pop rsi
ret

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

Disassembly:
push rsi
sub rsp, 0x40
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
cmp al, 0x48
mov edx, eax