joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401316b0
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, 0x108
test edx, edx
je 0x1401316e8
mov byte [rcx + 4], 0x12
bt rdx, 0x20
jb 0x14013177f
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, r9
ror rax, 1
movabs rdx, 0x2aaaaaaaaaaaaaab
cmp rax, rdx
jb 0x140131791
mov rax, qword [str.__r__]
mov rax, qword [rax]
cmp rax, 5
je 0x140131b8e
test byte [rdi + 4], ah
add byte [rax], al
test r9, r9
je 0x14013195d
mov byte [rcx + 4], 0x10
jmp fcn.1401316cb
test r9, r9
je 0x140131996
xor eax, eax
lea r15, [0x14021bfe0]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x2c], 0
xor r10d, r10d
mov dword [rsp + 0x34], 0
xor edi, edi
mov dword [rsp + 0x30], 0
jmp fcn.1401317fc
mov dword [rcx], 0
mov dword [rcx + 8], 0
mov dword [rcx + 0x10], 0
mov dword [rcx + 0x18], 0
mov dword [rcx + 0x20], 0
mov dword [rcx + 0x28], 0
mov dword [rcx + 0x30], 0
mov byte [rcx + 0x38], 1
jmp fcn.1401316d1
mov dword [rsp + 0x30], 0
xor edi, edi
mov dword [rsp + 0x34], 0
xor r10d, r10d
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x38], 0
xor eax, eax
Function at 0x140139bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], 0
mov ebp, dword [rdx + 0x48]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.14012cfe0
test eax, eax
jne 0x140139e17
add dword [rsp + 0x34], ebp
mov rax, qword [str.__r__]
mov rax, qword [rax]
cmp rax, 5
je 0x140139c41
test rax, rax
je 0x140139cab
mov rax, qword [rdi + 0x28]
mov dword [rsi + 0x10], 0
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x14], xmm0
mov dword [rsi + 0x24], 0
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x28], xmm0
mov dword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x3c], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rsi], rcx
mov dword [rsi + 0x58], 0
mov dword [rsi + 0x4c], 0
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx edx, byte [0x1402efeb0]
cmp dl, 2
je 0x140139cde
movzx eax, dl
cmp eax, 1
je 0x140139ce0
test eax, eax
je 0x140139c41
lea rcx, [0x1402efea0]
call fcn.1401e8070
mov edx, eax
test al, al
jne 0x140139ce0
jmp 0x140139c41
mov dl, 2
mov rcx, qword [0x1402efea0]
call fcn.140161610
test al, al
je 0x140139c41
mov r15, qword [0x1402efea0]
mov rax, qword [r15 + 0x30]
mov rcx, qword [r15 + 0x38]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [r15 + 0x40]
movups xmmword [rsp + 0x78], xmm0
lea r14, [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140162300
cmp qword [rsp + 0x38], 0
je 0x140139e44
add r15, 0x30
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x98], rbx
lea rax, [0x14013dc90]
mov qword [rsp + 0xa0], rax
lea rax, str.Prioritize::new__flow
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], r14
lea rax, [0x140220758]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], r15
mov rcx, qword [0x1402efea0]
lea rdx, [rsp + 0x68]
call fcn.140162670
jmp 0x140139c41
mov dword [rsp + 0x38], edx
lea rax, [0x1402206d8]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_initial_window_sizeC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.18_srcproto_streamsprioritize.rsc
lea r9, [0x1402203f0]
lea r8, [rsp + 0x38]
mov edx, 0x1b
call fcn.1401ee500
lea rcx, [0x1402206f0]
lea r8, [0x140220718]
mov edx, 0x22
call fcn.1401ee0b0
int3
Function at 0x14016a640
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 0x14016a650
test al, 1
je 0x14016a66f
test al, 2
jne 0x14016a687
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140242890]
mov edx, 0x23
call fcn.1401ee1d0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402428d0]
mov edx, 0x25
call fcn.1401ee1d0
int3

Function at 0x14016b600
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14016b618
add rcx, 0x18
add rsp, 0x28
jmp 0x14018a420
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.27.0_srciopoll_evented.rs
call fcn.1401ee090
int3
jmp 0x1401b5130
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401b516d
xor eax, eax
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
Function at 0x14017ed40
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401869e0
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186a17
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017ed50
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140186a30
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186a64
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017ed60
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140186990
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401869c4
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x1401836d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp + 8], rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140183700
test al, 1
je 0x1401837dd
test al, 2
jne 0x1401837f5
xor rax, 3
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
lea rdx, [rbp + 8]
call fcn.14017afb0
mov qword [rbp + 0x18], rax
test rax, rax
je 0x140183768
mov qword [rbp + 0x10], rdx
mov rax, qword [rdx]
test rax, rax
je 0x14018374e
mov rcx, qword [rbp + 0x18]
call rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140183768
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.14001bac0
mov qword [rbp], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rbp]
jb 0x14018380d
jne 0x1401837d2
mov rax, qword [rbp + 8]
mov qword [rbp + 0x18], rax
lea rcx, [rax + 0x28]
call fcn.140180230
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x1401837b5
mov rcx, qword [rbp + 0x18]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov edx, 0x68
mov r8d, 8
mov rcx, qword [rbp + 0x18]
add rsp, 0xa8
pop rsi
pop rbp
jmp fcn.14001bac0
nop
add rsp, 0xa8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140242890]
mov edx, 0x23
call fcn.1401ee1d0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402428d0]
mov edx, 0x25
call fcn.1401ee1d0
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1401dd650]
mov qword [rbp - 0x28], rax
mov rcx, rbp
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 2
lea rdx, [0x140242918]
lea rcx, [rbp - 0x60]
call fcn.1401ee110
int3

Function at 0x140186760
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 0x140186920
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x140186949
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140186950
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 sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x140186979
xor eax, eax
add rsp, 0x28
ret
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
Function at 0x140186990
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140186990
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401869c4
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401869e0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401869e0
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186a17
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140186a30
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140186a30
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186a64
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140186a80
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186ba5
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x140186b07
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 0x140186b48
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 sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x140186ba5
xor eax, eax
jmp 0x140186bb2
call fcn.1401bdaa0
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1401b2090
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 + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1401b2130
jmp 0x1401b211f
jae 0x1401b21ef
cmp r8, 0x201
jae 0x1401b2130
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1401b2187
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1401b215f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1401eca90
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1401b21b0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401b225b
mov r8d, r13d
cmp r12, r8
jne 0x1401b2110
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401b228f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1401b211f
jmp 0x1401b2130
cmp r14, r8
jb 0x1401b22a9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1401b5370
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1401b2244
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.14001bac0
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 + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1401b222f
jmp 0x1401b2244
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1401ee1d0
jmp 0x1401b22be
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1401ee600
ud2
Function at 0x1401b5130
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14016b618
add rcx, 0x18
add rsp, 0x28
jmp 0x14018a420
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.27.0_srciopoll_evented.rs
call fcn.1401ee090
int3
jmp 0x1401b5130
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401b516d
xor eax, eax
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1401b51c5
movsxd rdx, eax
xor ecx, ecx
jmp 0x1401b51e9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1401b51e9
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1401b5239
movsxd rdx, eax
xor eax, eax
add rsp, 0x20
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
mov rcx, qword [rax]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 4]
call qword [sym.imp.ws2_32.dll_WSASend]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1401b52b3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rbp + 4]
cmove rdx, rax
mov rax, rcx
add rsp, 0x48
pop rsi
pop rbp
ret
Function at 0x1401b8f60
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.1401ddf80
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x1401bf270]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call fcn.1401bf040
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x1401b9150
test r15, r15
je 0x1401b911c
cmp r15, 0x1000
ja 0x1401b9172
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x1401b90f0
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x1401b9080
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x1401b9110
add r12, rax
cmp r12, r15
je 0x1401b90e0
jbe 0x1401b9030
jmp 0x1401b915e
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x1401b8fde
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.1401ac200
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 + 0xfe0]
call fcn.1401ac200
jmp 0x1401b911c
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.1401ee670
jmp 0x1401b9186
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.1401ee600
ud2
Function at 0x1401bd120
Capabilities:
Delete file

Disassembly:
jmp 0x1401bd120
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1401c5890
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x1401bd180
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.1401c7450
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x1401bd18c
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1401bd1b6
test rdi, rdi
je 0x1401bd1e2
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.14001bac0
xor eax, eax
jmp 0x1401bd183
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1401bd183
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.14001bac0
jmp 0x1401bd180
xor eax, eax
jmp 0x1401bd183

Function at 0x1401bd880
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140282748]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1401bd8b8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1401bd916
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1401bd943
test eax, eax
js 0x1401bd922
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1401bd939
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1402827b0]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1401b4720
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1401ac890
mov ecx, 7
int 0x29
ud2
Function at 0x1401bd9a0
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov r14d, 0x17
cmove r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401bda81
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1401bda08
mov esi, eax
cmp eax, 0x2726
jne 0x1401bda74
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401bda6c
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1401bda81
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1401bda81
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x1401be570
Capabilities:
Set current directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
add rdx, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rdx
mov word [rbp - 0x28], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x38]
call fcn.1401b1340
mov rdi, qword [rbp - 0x10]
cmp rdi, qword [rbp - 0x20]
jne 0x1401be5b5
lea rcx, [rbp - 0x20]
call fcn.1401b0ea0
mov rsi, qword [rbp - 0x18]
mov word [rsi + rdi*2], 0
mov rcx, rsi
call qword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1401be5f3
xor edi, edi
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1401be5e8
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14001bac0
mov rax, rdi
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x1401be5d7
jmp 0x1401be5e8