joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140046bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1403b2040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140046c30
cmp al, 0x25
jne 0x140046c24
cmp byte [r8 + 1], al
jne 0x140046c30
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140046c17
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140046d94
cmp byte [r8 + 1], dl
je 0x140046d94
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140046c6d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140046c95
sub dl, 0x61
cmp dl, 0x19
ja 0x140046c87
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140046c95
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140046c50
jmp 0x140046c98
inc r9
cmp r8, r9
jae 0x140046ccf
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140046cc4
bt rdx, rax
jb 0x140046cca
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140046cb0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140003060
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140046d08
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140046d00
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140046d86
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140046d2a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x140046d38
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x140046d74
movsd xmm2, qword [0x1403a7a48]
nop
cmp al, 0x39
ja 0x140046d74
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140046d50
cmp r9b, 0x2d
jne 0x140046d8f
xorps xmm1, xmmword [0x1403a7e90]
movaps xmm0, xmm1
jmp 0x140046d97
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140046d97
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140080de0
add rsp, 0x90
pop rbx
ret
Function at 0x140058840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebp, ecx
lea rcx, [rdx + 0x20]
call fcn.1400587e0
mov rcx, qword [0x1403b4aa0]
mov r15, rax
lea rdx, [rax + 0x18]
call fcn.14007d980
mov rcx, qword [0x1403b4aa0]
mov rdi, rax
movzx r8d, al
sub r8, 0x37
lea rdx, [rax + 0x1c9]
and r8d, 0x7f
mov r9, qword [rcx + 0x21]
shr rdx, 7
and edx, 7
add rdx, r9
lea rbx, [r9 + 0x7ade82]
lea r14, [rbx + 8]
lea rdx, [rdx + r8*8]
add rdx, 0x37753c0
call fcn.14007d980
movabs rcx, 0x97b86fc1e421a5c9
mov rsi, rax
add rcx, rdi
xor rsi, rcx
xor rsi, rbx
cmp rbx, r14
jae 0x1400588fb
nop word [rax + rax]
mov rcx, qword [0x1403b4aa0]
mov rdx, rbx
call fcn.14007d980
xor rsi, rax
add rbx, 8
cmp rbx, r14
jb 0x1400588e0
mov rcx, qword [0x1403b4aa0]
lea rdx, [r15 + 0x10]
xor ebp, esi
xor ebp, r14d
xor ebp, 0x1bde5a36
mov r8d, ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp fcn.14007db40
Function at 0x140081984
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400819ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400819ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400819ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400819ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400819ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400819d0
xor al, al
add rsp, 0x28
ret
Function at 0x140001f90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001fb1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001fde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001fe0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002039
test ecx, ecx
jle 0x140002019
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002039
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002039
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140002060
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002082
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002091
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400020b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400020b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400020f2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000218e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000212d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000216e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000218e
cmp rbx, rax
ja 0x140002140
test rbx, rbx
je 0x14000218e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400025f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000261d
xor eax, eax
jmp 0x140002789
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002657
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002657
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002789
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000277c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000269a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400026c5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002781
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002734
sub eax, 1
je 0x140002734
cmp eax, 2
jne 0x14000277c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002781
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002762
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000277c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002781
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003290
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002a10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002ae3
cmp byte [rcx + 0x71], 0
je 0x140002ae3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002adf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002aa4
sub eax, 1
je 0x140002aa8
cmp eax, 2
jne 0x140002adf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003290
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002ad6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002adf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002a8c
xor al, al
jmp 0x140002a8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003290
add rsp, 0x60
pop rbx
ret

Function at 0x140003c18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003c62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003c62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003c62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003c62
cmp dword [rcx + 0x84], 0xe
jbe 0x140003c62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003c64
xor al, al
add rsp, 0x28
ret
Function at 0x140007720
Capabilities:
Create directory
Get disk information
Query environment variable

Disassembly:
push rdi
mov eax, 0x4040
call fcn.14000b8c0
sub rsp, rax
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x4030], rax
xor r8d, r8d
xor edx, edx
call fcn.140008410
mov rdi, rax
test rax, rax
jne 0x140007766
lea rcx, str.LOADER:_failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.1400026c0
xor eax, eax
jmp 0x1400078e7
mov r8d, 0x1000
mov qword [rsp + 0x4058], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.140013eac
test ebx, ebx
jne 0x1400077a3
lea rcx, str.LOADER:_failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.1400026c0
xor eax, eax
jmp 0x1400078df
lea rcx, [rsp + 0x30]
call fcn.140008280
test eax, eax
je 0x14000780f
cmp word [rsp + 0x34], 0x5c
je 0x1400077d5
lea rcx, [rsp + 0x30]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400077c2
mov eax, dword [0x14002c450]
mov dword [rcx], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jg 0x140007800
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, str.LOADER:_runtime_tmpdir_points_to_non_existent_drive__ls__type:__d___n
call fcn.1400026c0
xor eax, eax
jmp 0x1400078df
lea rcx, [rsp + 0x30]
call fcn.1400169cc
jmp 0x1400078df
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.140016c80
mov rbx, rax
test rax, rax
jne 0x14000783c
lea rcx, str.LOADER:_failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.1400026c0
xor eax, eax
jmp 0x1400078df
mov edx, 0x5c
mov rcx, rbx
call fcn.14000c640
mov rdi, rax
test rax, rax
je 0x14000789e
mov r9, rdi
mov qword [rsp + 0x20], rbx
sub r9, rbx
lea r8, [0x14002c578]
sar r9, 1
lea rcx, [rsp + 0x2030]
mov edx, 0x1000
call fcn.140002590
xor edx, edx
lea rcx, [rsp + 0x2030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000c640
mov rdi, rax
test rax, rax
jne 0x140007851
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400078dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400078dc
mov r8, rbx
lea rdx, str.LOADER:_failed_to_create_runtime_tmpdir_path__ls__n
lea rcx, str.CreateDirectory
call fcn.1400029e0
mov rcx, rbx
call fcn.140013eac
xor eax, eax
jmp 0x1400078df
mov rax, rbx
mov rbx, qword [rsp + 0x4058]
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.14000b5c0
add rsp, 0x4040
pop rdi
ret
Function at 0x14003a830
Capabilities:
Reference absolute stream path on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r15, qword [0x140139038]
mov rax, qword [r15]
cmp rax, 5
jne 0x14003a8a6
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:149_Read.read
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x38]
mov edx, 5
mov r9d, 0x95
call fcn.140065970
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], rbx
mov rax, qword [r15]
cmp rax, 5
jne 0x14003a919
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:126_AllowStd.with_context
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x38]
mov edx, 5
mov r9d, 0x7e
call fcn.140065970
mov rax, qword [rdi + 0x30]
add rax, 0x10
lea rcx, [0x1400cebf8]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov rax, qword [r15]
cmp rax, 5
jne 0x14003a99a
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:152_Read.with_context_read____poll_read
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x38]
mov edx, 5
mov r9d, 0x98
call fcn.140065970
lea rdx, [rsp + 0x68]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.14007bad0
test rax, rax
je 0x14003a9c1
movabs rax, 0xd00000003
mov qword [rsi + 8], rax
jmp 0x14003a9ca
test rdx, rdx
je 0x14003a9e4
mov qword [rsi + 8], rdx
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
cmp rcx, rdx
ja 0x14003a9fe
mov qword [rsi + 8], rcx
xor eax, eax
jmp 0x14003a9cf
lea r8, [0x1400cede8]
call fcn.1400c8700
int3
Function at 0x14003aa10
Capabilities:
Reference absolute stream path on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, qword [0x140139038]
mov rax, qword [rdi]
lea rsi, [rsp + 0x30]
cmp rax, 5
je 0x14003aa91
mov rax, qword [rdi]
cmp rax, 5
je 0x14003aae5
mov rax, qword [rdi]
cmp rax, 5
jne 0x14003aa88
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:180_Write.with_context_flush____poll_flush
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x38]
mov edx, 5
mov r9d, 0xb4
call fcn.140065970
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
ret
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:178_Write.flush
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x38]
mov edx, 5
mov r9d, 0xb2
call fcn.140065970
mov rax, qword [rdi]
cmp rax, 5
jne 0x14003aa38
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:126_AllowStd.with_context
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x38]
mov edx, 5
mov r9d, 0x7e
call fcn.140065970
mov rax, qword [rdi]
cmp rax, 5
je 0x14003aa41
jmp 0x14003aa88
Function at 0x14003ab40
Capabilities:
Reference absolute stream path on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r12, qword [0x140139038]
mov rax, qword [r12]
lea r15, [rsp + 0x38]
cmp rax, 5
jne 0x14003abb9
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:167_Write.write
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x40]
mov edx, 5
mov r9d, 0xa7
call fcn.140065970
mov rax, qword [r12]
cmp rax, 5
jne 0x14003ac0a
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:126_AllowStd.with_context
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x40]
mov edx, 5
mov r9d, 0x7e
call fcn.140065970
mov rax, qword [rbx + 0x28]
add rax, 0x10
lea rcx, [0x1400cebf8]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov rax, qword [r12]
cmp rax, 5
jne 0x14003ac81
lea rax, str.C:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs:169_Write.with_context_write____poll_write
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x20], 0
lea r8, str.tokio_tungstenite::compatC:Userswyf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.21.0_srccompat.rs
lea rcx, [rsp + 0x40]
mov edx, 5
mov r9d, 0xa9
call fcn.140065970
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov rdx, rbx
mov r9, rdi
call fcn.14007bae0
cmp dword [rsp + 0x40], 2
jne 0x14003acb9
movabs rax, 0xd00000003
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14003acc1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140041ea0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r8, rdx
mov rax, qword [rcx + 0x38]
test rax, rax
jle 0x140041ec7
cmp qword [rcx + 0x40], 0
js 0x140041ec7
add rax, 0xffffffffffffff00
mov qword [rcx + 0x38], rax
mov edx, 6
jmp fcn.14004df20
mov rdx, r8
jmp fcn.1400422e0

Function at 0x1400422e0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
mov r8d, 0x20
call fcn.1400506a0
test rax, rax
je 0x14004234c
mov qword [rbp + 0x18], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14004239d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.14003d050
jmp 0x14004239d
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x1400d2080]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.1400504b0
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x18]
mov qword [rdi + 0x28], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdi + 8], xmm0
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x38], rcx
mov qword [rdi], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
jmp fcn.14004df20