joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400801bd
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x1400801d9
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x140082280
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1401319d8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d

Function at 0x140085990
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 - 0x58]
call fcn.140082c00
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x140085b15
mov qword [rbp + 0x3c8], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x3f0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140085a50
jmp 0x140085a3f
lea rcx, [rbp - 0x50]

Function at 0x140087bc0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1401319d8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x140087c2c
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x140087c3b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140087c73
cmp eax, 0x103
je 0x140087c7d
test eax, eax
js 0x140087c58
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140087c73
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
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.1400816f0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140080b50
mov ecx, 7
int 0x29
ud2
Function at 0x14008b7e0
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
test dx, dx
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 sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14008b830
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14008b89d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2726
je 0x14008b843
cmp eax, 0x2739
jne 0x14008b88a
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14008b885
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
je 0x14008b8a5
mov qword [rsi + 8], rdi
jmp 0x14008b827
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.ws2_32.dll_closesocket]

Function at 0x14008b8d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14008b92e
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14008b92e
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14008b92e
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14008b92e
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x14008b96b
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1006
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14008b959
xor eax, eax
jmp 0x14008b966
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rax, str.cannot_set_a_0_duration_timeout
jmp 0x14008b966

Function at 0x14008b980
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14008b9de
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14008b9de
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14008b9de
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14008b9de
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x14008ba1b
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1005
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14008ba09
xor eax, eax
jmp 0x14008ba16
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rax, str.cannot_set_a_0_duration_timeout
jmp 0x14008ba16
Function at 0x14008ba30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rdx, qword [rdx + 8]
mov rsi, qword [rdi + 0x10]
mov rax, rdx
sub rax, rsi
jb 0x14008baaa
mov rcx, qword [rcx]
cmp rax, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
mov rdx, qword [rdi]
mov edx, dword [rdi]
lea r8, str._rustc_a57770440f1ebe5b992551d3bcc489ae211908d4librarycore_srcio_borrowed_buf.rs
mov rcx, rsi
call fcn.1400fdb00
ud2

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

Disassembly:
push rsi
sub rsp, 0x40
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
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 sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
je 0x14008bba1
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14008bbb7
call sub.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 0x14008be70
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
ror byte [rax - 0x77], 1
invalid
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0

Function at 0x14008bf90
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
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 0x14008bfb3
xor eax, eax
jmp 0x14008bfc0
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

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

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
invalid
invalid
Function at 0x140093720
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
add byte [rax], al
add byte [rsi + 0xf], ah
jg 0x1400937a1
and al, 0x70
Function at 0x140095950
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 [0x1401b0ce0]
mov ecx, 0x10
mov edx, 8
call fcn.140037c20
test rax, rax
je 0x140095a26
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140095b10]
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 0x140095a18
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x1400959f6
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140037cb0
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140037cb0
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400fd960
ud2
Function at 0x140095f80
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.1400eeff0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r12, rcx
lea r13, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r13
xor edx, edx
call fcn.1400f0830
lea rcx, [rbp + 0xfe8]
xorps xmm6, xmm6
lea rbx, [rbp + 0xffc]
lea rsi, [0x14008c650]
lea r15, [rbp + 0xfb0]
mov r14, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r12
mov r9d, 0x1000
mov rdx, r12
mov r8, r13
call case.0x140088584.165
cmp qword [rbp + 0xfe8], 0
jne 0x140096156
mov r12, qword [rbp + 0xff0]
test r12, r12
je 0x140096122
cmp r12, 0x1000
ja 0x140096178
xor r13d, r13d
nop word cs:[rax + rax]
mov r8d, r12d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], rbx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rbp + 0x1008]
mov r9, r15
call r14
test eax, eax
je 0x1400960f7
nop word [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x1400960a0
movsxd rax, dword [rbp + 0x1000]
test rax, rax
jne 0x1400960fc
mov eax, dword [rbp + 0x1004]
add r13, rax
cmp r13, r12
je 0x1400960e0
jbe 0x140096050
jmp 0x140096164
mov r12, qword [rbp + 0x1010]
lea r13, [rbp - 0x50]
lea rcx, [rbp + 0xfe8]
jmp 0x140096005
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe0], rax
mov qword [rbp + 0xfd8], 1
lea rcx, [rbp + 0xfe0]
call fcn.140080a90
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 + 0xff0]
call fcn.140080a90
jmp 0x140096122
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r13
mov rdx, r12
call fcn.1400fded0
jmp 0x14009618c
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, r12
call fcn.1400fdc00
ud2

Function at 0x140096280
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 sub.advapi32.dll_SystemFunction036
test al, al
je 0x1400962c2
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call sub.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.140086630]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
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.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400fdac0
ud2
Function at 0x140098150
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14009829c
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140098188
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x140098285
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140098267
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1400981e9
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x14009821a
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x14009821e
call sub.kernel32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x140098222
cmp eax, 0x6d
jne 0x14009824d
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x140098227
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x140098253
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.140080a90
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x14009825d
cmp rax, 1
je 0x1400981d2
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x1400981dc
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140100330
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x140098195
mov r8d, 0x10
mov rcx, rbx
call fcn.140100330
mov rax, qword [rbx + 8]
jmp 0x140098188
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140100780
ud2

Function at 0x14009c660
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 0x14009c695
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14009c69a
call fcn.140096280
nop
add rsp, 0x38
ret

Function at 0x14009c6a0
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x14009c6c2
mov qword [rsi + 8], rbx
mov qword [rsi], 1
jmp 0x14009c795
mov rax, qword [0x1401b0c38]
cmp rax, 3
jne 0x14009c79e
movzx edx, word [rbx]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.14008b7e0
cmp qword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x28]
je 0x14009c703
mov qword [rsi + 8], rdi
mov qword [rsi], 1
jmp 0x14009c795
add byte [rax], al
invalid
cmp word [rbx], 0
call fcn.1401005e0
jmp 0x14009c6d3
Function at 0x14009f089
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14009f12d
mov rdi, rax
movsxd r12, dword [rsp + 0x2c]
lea rbx, [rsp + 0x30]
mov qword [rbx], 8
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14009f108
mov r15, qword [rdi + r13]
mov rcx, r15
call fcn.1400f2f18
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.140004063
mov rcx, rbx
mov rdx, r14
call fcn.140003e7f
add r13, 8
jmp 0x14009f0d8
mov rcx, rdi
call sub.kernel32.dll_LocalFree
test rax, rax
jne 0x14009f11a
call fcn.1400c45b4
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jmp 0x14009f13b
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a3071
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0x88
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x1400a30d2
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
mov dword [rcx], 0x40
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400a30af
xor ecx, ecx
jmp 0x1400a30b9
call fcn.1400c45b4
mov ecx, 1
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x70], rax
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x78], rax
xor edx, edx
call fcn.14009d353
test bl, bl
je 0x1400a315b
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x50], xmm0
movaps xmmword [rcx + 0x40], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
and qword [rcx + 0x60], 0
mov edx, 0x68
call qword [sym.imp.kernel32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x1400a315b
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
add rsp, 0x88
pop rbx
pop rsi
ret
Function at 0x1400b572f
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6e8
movaps xmmword [rsp + 0x6d0], xmm6
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov r14, rdx
mov qword [rsp + 0x58], rcx
mov rcx, rdx
call fcn.1400a659d
mov rsi, rax
mov rdi, rdx
lea r8, [0x14015a52b]
mov r9d, 4
mov rcx, rax
call fcn.140050bc1
test al, al
jne 0x1400b57bf
lea r8, [0x14015a52f]
mov r9d, 5
mov rcx, rsi
mov rdx, rdi
call fcn.140050bc1
test al, al
jne 0x1400b57bf
lea r8, str.testunknown_scheme
mov r9d, 4
mov rcx, rsi
mov rdx, rdi
call fcn.140050bc1
test al, al
je 0x1400b610e
mov rcx, r14
call fcn.1400a659d
lea r8, [0x14015a52f]
mov r9d, 5
mov rcx, rax
call fcn.140050bb1
test al, al
je 0x1400b585e
mov rax, qword [r14 + 0x68]
cmp byte [rax + 0xcc], 0
je 0x1400b585e
mov ecx, 0x33
xor edx, edx
call fcn.140051cfd
movups xmm0, xmmword [str.cant_perform_non_https_request_with_https_only_set]
movups xmmword [rax], xmm0
movups xmm0, xmmword [0x140159830]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x140159840]
movups xmmword [rax + 0x20], xmm0
mov dword [rax + 0x2f], 0x74657320
mov ecx, 2
mov r8, qword [rsp + 0x58]
mov dword [r8 + 8], ecx
mov dword [r8 + 0x10], ecx
mov qword [r8 + 0x68], rax
mov qword [r8 + 0x70], rdx
mov qword [r8 + 0x78], 0x33
and qword [r8 + 0x80], 0
mov byte [r8 + 0x90], 3
mov qword [r8], 1
jmp 0x1400b677f
cmp byte [rsp + 0x750], 0
je 0x1400b5d81
mov rax, qword [r14 + 0x70]
mov rcx, qword [r14 + 0x68]
add rax, 0x38
mov qword [rsp + 0x38], rax
add rcx, 0x50
mov qword [rsp + 0x50], rcx
movzx eax, word [r14 + 0x28]
mov word [rsp + 0x48], ax
movzx eax, word [r14 + 0x2a]
mov word [rsp + 0x34], ax
lea r15, [rsp + 0xa0]
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x5b8]
mov qword [rax], rsi
mov qword [rax + 8], rdi
lea rcx, [rsp + 0x318]
mov qword [rcx], rax
lea rax, [0x140159648]
lea rsi, [rsp + 0x180]
mov qword [rsi], rax
lea rax, [0x140029df0]
mov qword [rsi + 8], 2
and qword [rsi + 0x20], 0
mov qword [rcx + 8], rax
mov qword [rsi + 0x10], rcx
mov ebx, 1
mov qword [rsi + 0x18], rbx
lea rdi, [rsp + 0x6a0]
mov rcx, rdi
mov rdx, rsi
call fcn.14005c666
movups xmm0, xmmword [rdi]
movups xmmword [rsi + 0x54], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x64], rax
mov eax, 2
mov rdx, qword [rsp + 0x58]
mov dword [rdx + 8], eax
mov dword [rdx + 0x10], eax
lea rdi, [rdx + 0x14]
lea rsi, [rsp + 0x180]
mov ecx, 0x1b
rep movsd dword [rdi], dword [rsi]
and qword [rdx + 0x80], 0
mov byte [rdx + 0x90], 1
mov qword [rdx], rbx
jmp 0x1400b677f
Function at 0x1400b8361
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x678
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x5e0], xmm6
mov qword [rbp + 0x5d8], 0xfffffffffffffffe
mov r14, rdx
mov r13, rcx
mov qword [rbp + 0x470], r8
mov qword [rbp + 0x478], r9
mov rbx, qword [rdx + 0x68]
mov esi, dword [rbx + 0x18]
cmp esi, 0x3b9aca00
jne 0x1400b83c8
mov rax, qword [r14 + 0x58]
mov qword [rbp + 0x488], rax
mov eax, dword [r14 + 0x60]
mov dword [rbp + 0x598], eax
jmp 0x1400b83ec
mov rdi, qword [rbx + 0x10]
call fcn.140098ae0
mov rcx, rax
mov r8, rdi
mov r9d, esi
call fcn.140098c90
mov qword [rbp + 0x488], rax
mov dword [rbp + 0x598], edx
lea rdx, [rbx + 0x50]
lea rsi, [rbp + 0x3d0]
mov rcx, rsi
call fcn.1400a96a8
cmp byte [rsi + 0x4c], 4
push 2
pop r8
lea r15, [rbp + 0x470]
lea rcx, [0x140029df0]
jne 0x1400b8458
lea rax, [rbp - 0x40]
mov qword [rax], r15
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x660]
mov qword [rax + 0x10], rcx
lea rcx, str._rustc_a57770440f1ebe5b992551d3bcc489ae211908d4librarycore_src_strpattern.rs
lea rdx, [rbp + 0x1c8]
mov qword [rdx], rcx
mov qword [rdx + 8], r8
and qword [rdx + 0x20], 0
lea rcx, [0x14002db40]
mov qword [rax + 0x18], rcx
mov qword [rdx + 0x10], rax
adc bl, ch
invalid
lea rax, [rbp + 0x418]
Function at 0x1400c5240
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400c5360
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400c52a0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400c52a0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400c52a0