joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004230d
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x1400424b3
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rbx, [r14 + r8]
add rdx, rbx
lea rdi, [rcx + 0x198]
cmp qword [rcx + 0x1a8], rdx
jae 0x14004235c
mov rcx, rdi
xor r8d, r8d
call fcn.140023b76
lea r9, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.14003f56d
lea rcx, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.140058be2
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
call fcn.14003f594
mov r9, rdx
lea r15, [rsp + 0x88]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.140059aba
lea r9, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.14003f56d
mov r9, rdx
lea r14, [rsp + 0x98]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.140059aba
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, rbx
call fcn.14003ec1c
mov r9, rdx
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.140059aba
lea r12, [rsp + 0x70]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.140059aba
movups xmm0, xmmword [r15]
movaps xmmword [r12 - 0x30], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [r12 - 0x20], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [r12 - 0x10], xmm0
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, 4
mov rcx, rbx
call fcn.140059ad1
lea rcx, [rsi + 0x1b8]
call fcn.140006be0
mov rcx, rax
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140042484
shl rax, 0x20
or rax, 2
jmp 0x1400424a2
mov edx, dword [rsp + 0x50]
add edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x60]
mov rcx, rdi
call fcn.1400565b9
and qword [rsi + 0x1b0], 0
xor eax, eax
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3e
call fcn.1400eeba0
ud2
Function at 0x140059448
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
mov byte [rsp + 0x4f], dl
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400594b3
mov ecx, dword [rsi + 0x28]
mov dword [rsp + 0x90], ecx
mov qword [rsp + 0x98], rax
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x1400594e9
mov rdx, qword [rsi + 0x40]
add rdx, rax
lea rcx, [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
lea rax, [rsp + 0x4f]
mov qword [rcx + 0x10], rax
xor edx, edx
call fcn.14005888b
mov dword [rsp + 0xa0], eax
mov rdx, qword [rsi]
mov rax, qword [rsi + 0x10]
lea r8, [rdx + rax*8]
lea rsi, [rsp + 0xb8]
mov rcx, rsi
call fcn.140058ae8
mov eax, dword [rsi + 0x10]
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov rax, qword [rsi]
cmp byte [rsp + 0x4f], 1
mov qword [rcx + 8], rax
mov r8d, 2
sbb r8d, 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x140059569
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x14005958d
movaps xmm6, xmmword [rsp + 0x50]
mov ecx, 0x20
call fcn.1400565c4
mov rsi, rax
mov eax, 1
mov qword [rsi], rax
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm6
xor edi, edi
lea rcx, [rsp + 0xb8]
call fcn.14003ddff
mov rax, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret

Function at 0x14005ecf6
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14005ed1c
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14005ed06
mov qword [rcx], rax
ret
Function at 0x14006e8c7
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor eax, eax
test rbx, rbx
setne al
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
call fcn.14005b74b
test rbx, rbx
je 0x14006e908
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14005ecf6
add rdi, 8
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14006eafb
Function at 0x1400919a4
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140091894
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp 0x14009b3dc
jmp 0x1400ba460
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 0x1400ba498
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 0x140091db3
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14009862e
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140059ae0
movzx r9d, bl
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
add rsp, 0x20
pop rbx
jmp 0x140098794
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400987ba
xor eax, eax
jmp 0x1400987bf
call fcn.14001b2fc
nop
add rsp, 0x38
ret

Function at 0x140091db8
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140098656
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140059ae0
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x140098794

Function at 0x140091dbf
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140098606
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140059ae0
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x140098794

Function at 0x140095218
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14009521f
test al, 1
je 0x14009523e
test al, 2
jne 0x140095253
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14017cb30]
mov edx, 0x23
jmp 0x140095266
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14017cb70]
mov edx, 0x25
call fcn.1400eeba0
ud2
Function at 0x14009856e
Capabilities:
Connect socket

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140059ae0
mov r8d, dword [rsi + 0x80]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x14009859c
add rsp, 0x20
pop rsi
jmp fcn.14001b2fc
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400985a4
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.140059ae0
movzx ecx, bl
lea r8, [rsp + 0x2c]
mov dword [r8], ecx
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400985d2
xor eax, eax
jmp 0x1400985d7
call fcn.14001b2fc
nop
add rsp, 0x30
pop rbx
ret

Function at 0x1400985de
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140059ae0
movzx r9d, bl
mov rcx, rax
mov edx, 0xffff
mov r8d, 8
add rsp, 0x20
pop rbx
jmp 0x140098794

Function at 0x140098606
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140098606
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140059ae0
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x140098794

Function at 0x14009862e
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14009862e
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140059ae0
movzx r9d, bl
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
add rsp, 0x20
pop rbx
jmp 0x140098794
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400987ba
xor eax, eax
jmp 0x1400987bf
call fcn.14001b2fc
nop
add rsp, 0x38
ret

Function at 0x140098656
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140098656
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140059ae0
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x140098794

Function at 0x140098794
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14009862e
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140059ae0
movzx r9d, bl
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
add rsp, 0x20
pop rbx
jmp 0x140098794
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400987ba
xor eax, eax
jmp 0x1400987bf
call fcn.14001b2fc
nop
add rsp, 0x38
ret

Function at 0x1400b0408
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rsp + 0x20]
and qword [rdi], 0
mov rcx, rdx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.shell32.dll_SHGetKnownFolderPath
mov rcx, qword [rdi]
test eax, eax
je 0x1400b043c
call sub.ole32.dll_CoTaskMemFree
mov byte [rsi + 0x18], 2
jmp 0x1400b045b
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1400ba6a0
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400b07f2
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rcx
mov qword [rsp + 0x30], rdx
lea rdi, [rsp + 0x38]
mov qword [rdi], 8
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
lea rbx, [rsp + 0x2c]
and dword [rbx], 0
mov r14, qword [rdx]
xor r8d, r8d
mov edx, 8
xor ebp, ebp
shl r8d, 3
mov dword [rsp + 0x20], 3
mov rcx, r14
mov r9, rbx
call sub.psapi.dll_EnumProcessModulesEx
test eax, eax
je 0x1400b0870
mov r15d, dword [rsp + 0x2c]
cmp r15d, ebp
jbe 0x1400b0884
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
call fcn.1400b05f9
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov ebp, r15d
jmp 0x1400b082e
call fcn.14001b2fc
and qword [rsi], 0
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x38]
jmp 0x1400b08c6
shr r15d, 3
mov rdx, qword [rsp + 0x48]
cmp rdx, r15
jb 0x1400b08db
lea rdi, [rsp + 0x38]
mov rax, qword [rdi]
lea rcx, [rax + r15*8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rax, [rsp + 0x30]
mov qword [rdx + 0x10], rax
lea rcx, [rsi + 8]
call fcn.1400b04e5
mov qword [rsi], 4
mov rcx, rdi
call fcn.14003ddff
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str.0He_
mov rcx, r15
call fcn.1400ef070
ud2

Function at 0x1400b10d9
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, pe_nt_image_headers64
mov eax, 1
cmp rdx, 0x40
jb 0x1400b11c8
test cl, 3
je 0x1400b1100
mov r8d, 0x400
jmp 0x1400b11c8
cmp word [rcx], 0x5a4d
jne 0x1400b11c2
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x1400b10f5
cmp r9d, 0x1000000
jbe 0x1400b1129
mov r8d, 0x700
jmp 0x1400b11c8
lea r11, [r9 + 0x88]
cmp r11, rdx
ja 0x1400b11c8
cmp dword [rcx + r9], 0x4550
jne 0x1400b11c2
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x1400b1159
cmp esi, 0x10b
jne 0x1400b11c2
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x1400b11c8
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x1400b111e
cmp si, 0x20b
jne 0x1400b11ce
mov esi, dword [rcx + r9 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x1400b11c8
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x1400b111e
imul r11, r11, 0x28
add r11, r9
movzx ecx, word [rcx + r9 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x1400b11c8
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x1400b11c8
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x1400b11c8
Function at 0x1400b6b90
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 0x1400b6c20
jmp 0x1400b6c0f
jae 0x1400b6ce0
cmp r8, 0x201
jae 0x1400b6c20
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400b6c78
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400b6c4f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400ed6b0
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 0x1400b6ca1
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400b6d48
mov r8d, r14d
cmp r15, r8
jne 0x1400b6c00
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b6d6b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400b6c0f
jmp 0x1400b6c20
cmp rsi, r8
jb 0x1400b6d85
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400ba6a0
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 0x1400b6d31
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140005b80
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 0x1400b6d19
jmp 0x1400b6d31
lea rcx, str.internal_error:_entered_unreachable_code_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400eeba0
jmp 0x1400b6d9a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400ef070
ud2
Function at 0x1400ba460
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140091894
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp 0x14009b3dc
jmp 0x1400ba460
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 0x1400ba498
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 0x1400ba4b0
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 0x1400ba4e7
cdqe
jmp 0x1400ba4f6
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x1400ba4fe
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400ba50f
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 0x1400ba520
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 0x1400ba55d
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400ba574
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 0x1400ba580
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]
mov rdx, rax
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x1400ba5d5
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400ba5ec
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, 0x40
pop rsi
ret
Function at 0x1400c1490
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1401b73c0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1400c14d4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400c153a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400c1571
test eax, eax
js 0x1400c154b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400c1564
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1401b7428]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400b9880
mov rcx, rax
call fcn.1400b4270
mov ecx, 7
int 0x29
ud2

Function at 0x1400c1640
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400c1695
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1400c1731
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x1400c16a9
cmp eax, 0x2739
jne 0x1400c16fa
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400c16f4
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x1400c170f
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1400c1731
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400c1731
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400c2de0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400c2e18
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.1400c2e30
nop
add rsp, 0x38
ret

Function at 0x1400c2e30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x1400c2e73
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1400b7a80]
mov qword [rbp - 0x28], rax
lea rax, str.Hve_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.pve_
lea rcx, [rbp - 0x60]
call fcn.1400eeaf0
ud2

Function at 0x1400c34b0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401d3951]
mov ecx, 0x10
mov edx, 8
call fcn.140005b70
test rax, rax
je 0x1400c358f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400c3620]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400c3581
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], r14