joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140042e4f
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x78]
mov rdx, qword [rdx + 0x90]
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rbx
call fcn.140040685
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005a8e9
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14005a900
lea rcx, [rdi + 0xb8]
call fcn.140007e90
mov rcx, rax
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140042f88
test eax, eax
je 0x140042f9f
cmp eax, 0x90317
je 0x14004300d
cmp eax, 0x90321
jne 0x140043015
mov dword [rdi + 0x10], 0x10000
xor ebx, ebx
mov byte [rdi + 0x14], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x90]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140042401
and qword [rdi + 0xf0], 0
mov byte [rsi + 1], bl
jmp 0x140043023
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0xf0], rbp
mov byte [rsi + 1], 0
jmp 0x140043011
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x78]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x58]
and qword [rdi + 0x68], 0
mov rcx, rbx
call fcn.14003fce5
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.1400066b7
and qword [rdi + 0x70], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x90]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140042401
xor eax, eax
cmp qword [rdi + 0x90], rbx
sete al
mov qword [rdi + 0xf0], rax
mov byte [rsi + 1], 0
jmp 0x140043023
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140043023
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004303c
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x178]
mov rdx, qword [rdx + 0x190]
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rbx
call fcn.140040685
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005a8e9
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14005a900
lea rcx, [rdi + 0x1b8]
call fcn.140007e90
mov rcx, rax
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14004317e
test eax, eax
je 0x140043195
cmp eax, 0x90317
je 0x14004320f
cmp eax, 0x90321
jne 0x140043217
mov dword [rdi + 0x138], 0x10000
xor ebx, ebx
mov byte [rdi + 0x13c], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x190]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400423a1
and qword [rdi + 0x1f0], 0
mov byte [rsi + 1], bl
jmp 0x140043225
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0x1f0], rbp
mov byte [rsi + 1], 0
jmp 0x140043213
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x178]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x158]
and qword [rdi + 0x168], 0
mov rcx, rbx
call fcn.14003fce5
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.1400066b7
and qword [rdi + 0x170], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x190]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400423a1
xor eax, eax
cmp qword [rdi + 0x190], rbx
sete al
mov qword [rdi + 0x1f0], rax
mov byte [rsi + 1], 0
jmp 0x140043225
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140043225
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004323e
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 0x1400433e4
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 + 0x98]
cmp qword [rcx + 0xa8], rdx
jae 0x14004328d
mov rcx, rdi
xor r8d, r8d
call fcn.140024db6
lea r9, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.14004065e
lea rcx, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.140006662
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
call fcn.140040685
mov r9, rdx
lea r15, [rsp + 0x88]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14005a8e9
lea r9, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.14004065e
mov r9, rdx
lea r14, [rsp + 0x98]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005a8e9
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, rbx
call fcn.14003fd10
mov r9, rdx
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14005a8e9
lea r12, [rsp + 0x70]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
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.14005a900
lea rcx, [rsi + 0xb8]
call fcn.140007e90
mov rcx, rax
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400433b5
shl rax, 0x20
or rax, 2
jmp 0x1400433d3
mov edx, dword [rsp + 0x50]
add edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x60]
mov rcx, rdi
call fcn.140090834
and qword [rsi + 0xb0], 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.24_src_tls_stream.rs
mov edx, 0x3e
call fcn.1400fb450
ud2
Function at 0x1400433fe
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 0x1400435a4
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 0x14004344d
mov rcx, rdi
xor r8d, r8d
call fcn.140024db6
lea r9, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.14004065e
lea rcx, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.140006662
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
call fcn.140040685
mov r9, rdx
lea r15, [rsp + 0x88]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14005a8e9
lea r9, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.14004065e
mov r9, rdx
lea r14, [rsp + 0x98]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005a8e9
lea r8, str.C:Users_sola.cargo_registry_src_rsproxy.cn_0dccff568467c15b_schannel_0.1.24_src_tls_stream.rs
mov rcx, rdi
mov rdx, rbx
call fcn.14003fd10
mov r9, rdx
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14005a8e9
lea r12, [rsp + 0x70]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005a8e9
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.14005a900
lea rcx, [rsi + 0x1b8]
call fcn.140007e90
mov rcx, rax
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140043575
shl rax, 0x20
or rax, 2
jmp 0x140043593
mov edx, dword [rsp + 0x50]
add edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x60]
mov rcx, rdi
call fcn.140090834
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.24_src_tls_stream.rs
mov edx, 0x3e
call fcn.1400fb450
ud2
Function at 0x14005a277
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 0x14005a2e2
mov ecx, dword [rsi + 0x28]
mov dword [rsp + 0x90], ecx
mov qword [rsp + 0x98], rax
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14005a318
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.1400596bd
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.140059891
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 0x14005a398
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x14005a3bc
movaps xmm6, xmmword [rsp + 0x50]
mov ecx, 0x20
call fcn.1400066d7
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.14003eeba
mov rax, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret

Function at 0x14005fb26
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14005fb4c
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14005fb36
mov qword [rcx], rax
ret
Function at 0x14006f614
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.14005c57b
test rbx, rbx
je 0x14006f655
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14005fb26
add rdi, 8
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14006f83e
Function at 0x140092528
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140092418
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp 0x14009bfdc
jmp 0x1400bee50
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 0x1400bee88
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 0x140092937
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400991f5
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.14005a910
movzx r9d, bl
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
add rsp, 0x20
pop rbx
jmp 0x14009935b
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 0x140099381
xor eax, eax
jmp 0x140099386
call fcn.14001c58b
nop
add rsp, 0x38
ret

Function at 0x14009293c
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14009921d
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.14005a910
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x14009935b

Function at 0x140092943
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1400991cd
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.14005a910
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x14009935b

Function at 0x140095d91
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 0x140095d98
test al, 1
je 0x140095db7
test al, 2
jne 0x140095dcc
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14019f4c0]
mov edx, 0x23
jmp 0x140095ddf
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14019f500]
mov edx, 0x25
call fcn.1400fb450
ud2
Function at 0x140099135
Capabilities:
Connect socket

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

Function at 0x14009916b
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.14005a910
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 0x140099199
xor eax, eax
jmp 0x14009919e
call fcn.14001c58b
nop
add rsp, 0x30
pop rbx
ret

Function at 0x1400991a5
Capabilities:
Set socket configuration

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

Function at 0x1400991cd
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1400991cd
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.14005a910
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x14009935b

Function at 0x1400991f5
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400991f5
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.14005a910
movzx r9d, bl
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
add rsp, 0x20
pop rbx
jmp 0x14009935b
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 0x140099381
xor eax, eax
jmp 0x140099386
call fcn.14001c58b
nop
add rsp, 0x38
ret

Function at 0x14009921d
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14009921d
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.14005a910
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
mov r9d, esi
add rsp, 0x20
pop rsi
jmp 0x14009935b

Function at 0x14009935b
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400991f5
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.14005a910
movzx r9d, bl
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
add rsp, 0x20
pop rbx
jmp 0x14009935b
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 0x140099381
xor eax, eax
jmp 0x140099386
call fcn.14001c58b
nop
add rsp, 0x38
ret

Function at 0x1400b10d0
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 0x1400b1104
call sub.ole32.dll_CoTaskMemFree
mov byte [rsi + 0x18], 2
jmp 0x1400b1123
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1400bf090
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400bb0f0
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 0x1400bb180
jmp 0x1400bb16f
jae 0x1400bb240
cmp r8, 0x201
jae 0x1400bb180
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400bb1d8
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400bb1af
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400f9f60
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 0x1400bb201
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400bb2a8
mov r8d, r14d
cmp r15, r8
jne 0x1400bb160
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400bb2cb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400bb16f
jmp 0x1400bb180
cmp rsi, r8
jb 0x1400bb2e5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400bf090
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 0x1400bb291
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1400060f0
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 0x1400bb279
jmp 0x1400bb291
lea rcx, [0x1401d8580]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400fb450
jmp 0x1400bb2fa
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400fb920
ud2
Function at 0x1400bee50
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140092418
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp 0x14009bfdc
jmp 0x1400bee50
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 0x1400bee88
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 0x1400beea0
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 0x1400beed7
cdqe
jmp 0x1400beee6
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x1400beeee
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400beeff
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 0x1400bef10
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 0x1400bef4d
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400bef64
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 0x1400bef70
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 0x1400befc5
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400befdc
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