joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140168d70
Capabilities:
Set socket configuration

Disassembly:
push rbx
mov eax, 0x20
call fcn.140295f80
sub rsp, rax
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
movsxd rcx, ecx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
jns 0x140168dd2
call fcn.14011fa20
lea r8, str.BIO_socket_ioctl
mov edx, 0xd1
lea rcx, str.crypto_bio_bio_sock.c
call fcn.14011fb40
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_ioctlsocket__
mov ecx, 2
mov edx, eax
call fcn.14011fc40
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x140168de0
Capabilities:
Get socket status

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x260
call fcn.140295f80
sub rsp, rax
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov edi, ecx
mov rbx, r8
mov esi, edx
cmp ecx, 0x3f
ja 0x140168e72
test rbx, rbx
jne 0x140168e1a
lea eax, [r8 + 1]
jmp 0x140168e77
xor ecx, ecx
call fcn.14029eab4
mov rcx, rax
cmp rbx, rax
jge 0x140168e2d
xor eax, eax
jmp 0x140168e77
xor eax, eax
mov qword [rsp + 0x48], rdi
sub ebx, ecx
mov dword [rsp + 0x34], eax
test esi, esi
mov dword [rsp + 0x40], 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x30], ebx
cmovne r8, rax
lea rdx, [rsp + 0x40]
cmove rdx, rax
lea ecx, [rdi + 1]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
jmp 0x140168e77
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402959c0
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x140169120
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyaddr
call fcn.140295f80
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x14016918b
call fcn.14011fa20
lea r8, str.BIO_connect
lea edx, [rbx + 0x55]
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14011fb40
xor r8d, r8d
lea ecx, [rbx + 0x21]
mov edx, 0x87
call fcn.14011fc40
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.140168d70
test eax, eax
je 0x14016923e
mov rsi, rbx
test dil, 4
je 0x140169255
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140169255
call fcn.14011fa20
lea r8, str.BIO_connect
mov edx, 0x5e
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14011fb40
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.14011fc40
call fcn.14011fa20
lea r8, str.BIO_connect
mov edx, 0x60
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14011fb40
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.14011fc40
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x1401692e2
mov edx, 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1401692e2
call fcn.14011fa20
lea r8, str.BIO_connect
mov edx, 0x68
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14011fb40
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.14011fc40
call fcn.14011fa20
lea r8, str.BIO_connect
mov edx, 0x6a
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14011fb40
xor r8d, r8d
mov edx, 0x8a
jmp 0x140169234
mov rcx, rbp
call fcn.140161b30
mov rcx, rbp
mov ebx, eax
call fcn.140082a20
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140169376
mov ecx, eax
call fcn.1401158a0
test eax, eax
jne 0x14016923e
call fcn.14011fa20
lea r8, str.BIO_connect
mov edx, WSACleanup
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14011fb40
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.14011fc40
call fcn.14011fa20
lea r8, str.BIO_connect
mov edx, reloc.WS2_32.dll_WSACleanup
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14011fb40
xor r8d, r8d
lea edx, [r8 + 0x67]
jmp 0x140169234
mov eax, 1
jmp 0x140169240
Function at 0x140171350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
movsxd rbx, r8d
mov r11, rdx
mov rdi, rcx
test r8d, r8d
jle 0x14017138f
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x14017138f
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x140171374
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x1401713ba
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x1401713ba
cmp byte [rcx], 0xff
jne 0x1401713ba
dec edx
dec rcx
cmp rcx, r11
jns 0x1401713a4
cmp r10d, edx
jl case.0x140171413.2
jle 0x1401713d8
lea eax, [r10*8]
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
movsxd rax, r10d
movzx r8d, byte [rax + r11]
movzx r9d, byte [rax + rdi]
movzx edx, r8b
xor dl, r9b
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x140171413.2
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x171488]
mov ecx, dword [r11 + rax*4 + 0x171468]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x140171444
mov eax, 6
jmp 0x140171444
mov eax, 5
jmp 0x140171444
mov eax, 4
jmp 0x140171444
mov eax, 3
jmp 0x140171444
mov eax, 2
jmp 0x140171444
mov eax, 1
test dl, r9b
jne case.0x140171413.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x14017145a
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1401721f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.140295f80
sub rsp, rax
mov r11, rcx
test r9, r9
jne 0x14017223a
call fcn.14011fa20
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.14011fb40
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.14011fc40
xor eax, eax
add rsp, 0x28
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x14017224d
mov dword [rdx], r10d
cmp r9, 1
jne 0x14017226f
test r11, r11
je 0x140172265
movzx eax, byte [r8]
test r10d, r10d
je 0x140172263
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x140172281
mov eax, 1
jmp 0x14017233a
xor eax, eax
cmp cl, 0xff
jne 0x14017237f
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x14017232f
cmp rcx, 8
jb 0x140172320
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm2, xmm2
xorps xmm3, xmm3
nop word [rax + rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm2, xmm1
movd xmm1, dword [rax + r8 + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
cmp rax, rdx
jb 0x1401722c0
por xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x14017232f
nop dword [rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x140172320
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x14017237f
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x14017237f
call fcn.14011fa20
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.14011fb40
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.14011fc40
xor eax, eax
add rsp, 0x28
ret
sub r9, rax
test r11, r11
je 0x1401723cd
add rax, r8
mov rdx, r9
neg r10d
sbb r10d, r10d
movzx r10d, r10b
mov ecx, r10d
and ecx, 1
test r9, r9
je 0x1401723cd
lea r8, [rax + r9]
mov rax, r9
sub rax, r9
add r11, rax
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r10d
add ecx, eax
mov byte [r11 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x1401723b0
mov rax, r9
add rsp, 0x28
ret
Function at 0x1401723e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rdi, r9
mov rbx, rcx
test rcx, rcx
je 0x1401724f4
test r10, r10
je 0x1401724f4
movzx eax, byte [rcx]
test r8d, r8d
jne 0x140172429
cmp al, 0x7f
jbe 0x1401724ed
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401724fc
mov r11b, 0xff
cmp al, 0x80
jbe 0x14017243f
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401724fc
jne 0x1401724ed
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1401724de
cmp rcx, 8
jb 0x1401724d0
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [rax + rbx]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm3, xmm1
movd xmm1, dword [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm2, xmm1
cmp rax, rdx
jb 0x140172470
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1401724de
nop word [rax + rax]
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1401724d0
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1401724fc
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x140172555
mov rcx, qword [r9]
test rcx, rcx
je 0x140172555
mov edx, edx
movzx r8d, r11b
add rdx, rcx
and r8d, 1
mov byte [rcx], r11b
test r10, r10
je 0x140172552
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop dword [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x140172530
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140172740
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.140295f80
sub rsp, rax
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
and r8d, 0x100
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp fcn.1401723e0
Function at 0x140195380
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x28
call fcn.140295f80
sub rsp, rax
cmp dword [0x1403fcb80], 0
jne 0x140195500
mov qword [rsp + 0x30], rbx
lea r8d, [rax + 8]
mov qword [rsp + 0x38], rbp
lea rcx, str.OPENSSL_ia32cap
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
lea rdi, [0x1403fcb20]
mov rdx, rdi
mov qword [rsp + 0x20], r14
mov dword [0x1403fcb80], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x1401954c2
movzx ebx, word [0x1403fcb20]
xor ebp, ebp
cmp bx, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rdi
call fcn.140195510
mov rsi, rax
cmp bx, 0x7e
jne 0x140195441
lea rcx, [0x1403fff70]
mov rbx, rax
call fcn.140001030
not rsi
movabs rcx, 0xedfff7fdffffffff
and rax, rsi
and ebx, 0x1000000
mov rsi, rax
and rsi, rcx
test rbx, rbx
cmove rsi, rax
jmp 0x14019545a
cmp word [0x1403fcb20], 0x3a
jne 0x14019545a
lea rcx, [0x1403fff70]
call fcn.140001030
mov rsi, rax
movzx eax, word [0x1403fcb20]
test ax, ax
je 0x140195478
lea rdi, [rdi + 2]
cmp ax, 0x3a
je 0x140195481
movzx eax, word [rdi]
test ax, ax
jne 0x140195466
mov qword [0x1403fff78], rbp
jmp 0x1401954d1
movzx ebx, word [rdi]
cmp bx, 0x7e
cmove rbp, r14
lea rcx, [rdi + rbp]
call fcn.140195510
mov rcx, rax
shr rcx, 0x20
cmp bx, 0x7e
jne 0x1401954b4
not eax
not ecx
and dword [0x1403fff78], eax
and dword [0x1403fff7c], ecx
jmp 0x1401954d1
mov dword [0x1403fff78], eax
mov dword [0x1403fff7c], ecx
jmp 0x1401954d1
lea rcx, [0x1403fff70]
call fcn.140001030
mov rsi, rax
mov r14, qword [rsp + 0x20]
mov eax, esi
mov rdi, qword [rsp + 0x48]
bts eax, 0xa
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
shr rsi, 0x20
mov dword [0x1403fff74], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x1403fff70], eax
add rsp, 0x28
ret
Function at 0x1401bfcf0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.140295f80
sub rsp, rax
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r9
mov rbx, rcx
cmp edx, 0x1d
je 0x1401bfd27
mov eax, 0xfffffffe
jmp 0x1401bfe47
test rbx, rbx
je 0x1401bfe45
cmp r8d, 0x30
jne 0x1401bfe45
mov r8d, gethostbyaddr
mov rdx, rdi
call fcn.1401bfbd0
test eax, eax
jle 0x1401bfe45
movdqa xmm0, xmmword [str.666666666666666600]
lea rdx, [rsp + 0x20]
mov r8d, 0x28
movq qword [rsp + 0x40], xmm0
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.1401bfbd0
test eax, eax
je 0x1401bfe45
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1401bf9d0
test eax, eax
je 0x1401bfe45
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x14], xmm0
mov rdx, rdi
mov rcx, rbx
movups xmmword [rbx + 0x24], xmm0
lea r8d, [rax + 0x30]
movups xmmword [rbx + 0x34], xmm0
movups xmmword [rbx + 0x44], xmm0
mov qword [rbx + 0x54], rax
mov dword [rbx + 0x5c], eax
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
call fcn.1401bfbd0
test eax, eax
jle 0x1401bfe45
movdqa xmm0, xmmword [0x1403081c0]
lea rdx, [rsp + 0x20]
mov r8d, 0x28
movq qword [rsp + 0x40], xmm0
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.1401bfbd0
test eax, eax
je 0x1401bfe45
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1401bfbd0
test eax, eax
je 0x1401bfe45
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x48]
call fcn.140001240
mov eax, 1
jmp 0x1401bfe47
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402959c0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1401e47d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x40
call fcn.140295f80
sub rsp, rax
mov rsi, qword [rcx + 0x70]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea r13, [rsi + 0x70]
mov qword [rsp + 0x38], r13
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x1401e4856
test r9, r9
je 0x1401e4832
nop dword [rax]
cmp r8d, 0x40
jae 0x1401e4832
mov eax, r8d
inc r8d
movzx ecx, byte [rax + rsi + 0x30]
xor cl, byte [rbx]
inc rbx
mov byte [r14], cl
inc r14
sub rbp, 1
jne 0x1401e4810
mov dword [r13], r8d
test rbp, rbp
je 0x1401e4989
cmp r8d, 0x40
jne 0x1401e4856
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x1401e4856
inc dword [rsi + 0x24]
mov ecx, dword [rsi + 0x20]
lea rax, [rsi + 0x20]
mov qword [rsp + 0x80], r12
mov r12d, ebp
and r12d, 0x3f
mov qword [rsp + 0x88], r15
mov r15d, r12d
sub rbp, r15
mov dword [rsp + 0x30], r12d
cmp rbp, 0x40
jb 0x1401e4916
mov qword [rsp + 0x78], rdi
lea r13, [rsi + 0x20]
mov r12d, 0x10000000
mov r15d, ecx
nop dword [rax + rax]
mov rdx, rbp
mov qword [rsp + 0x20], r13
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
mov rdi, rdx
lea eax, [rdx + r15]
xor r15d, r15d
mov ecx, eax
cmp rcx, rdx
cmovae r15d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.14006e300
sub rbp, rdi
mov dword [r13], r15d
add rbx, rdi
add r14, rdi
test r15d, r15d
jne 0x1401e48fa
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x1401e48a0
mov r12d, dword [rsp + 0x30]
lea rax, [rsi + 0x20]
mov r13, qword [rsp + 0x38]
mov r15d, r12d
mov rdi, qword [rsp + 0x78]
test r12d, r12d
je 0x1401e4979
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov r9, rsi
movups xmmword [rcx], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
call fcn.14006e300
test r12d, r12d
je 0x1401e4975
sub rsi, rbx
sub r14, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [r14 + rbx], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x1401e4960
mov dword [r13], r12d
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov eax, 1
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401e67c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.140295f80
sub rsp, rax
mov rbx, r8
mov r14, rdx
mov r8, qword [rsp + 0xb0]
mov rbp, rcx
mov edi, dword [r8]
mov dword [rsp + 0x30], edi
test edi, edi
je 0x1401e6825
mov rdx, qword [rsp + 0xa8]
test rbx, rbx
je 0x1401e6821
mov eax, edi
dec rbx
movzx ecx, byte [rax + rdx]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x1401e6800
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0xa0]
mov esi, 1
mov ecx, dword [rax + 0xc]
lea r15, [rax + 0xc]
mov r10, qword [rsp + 0xb8]
mov qword [rsp + 0x80], r12
lea r13d, [rsi + 0xb]
bswap ecx
mov dword [rsp + 0x90], ecx
cmp rbx, 0x10
jb 0x1401e6933
mov rdi, qword [rsp + 0xa0]
mov eax, 0x10000000
nop dword [rax]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
shr rdx, 4
cmp rdx, rax
cmova rdx, rax
add ecx, edx
mov r12, rdx
mov eax, ecx
sub r12, rax
cmp rax, rdx
cmovae r12, rdx
xor r8d, r8d
cmp rax, rdx
mov rdx, r14
cmovae r8d, ecx
mov rcx, rbp
mov dword [rsp + 0x90], r8d
mov r8, r12
call r10
mov ecx, dword [rsp + 0x90]
mov eax, ecx
bswap eax
mov dword [r15], eax
test ecx, ecx
jne 0x1401e68ec
mov r8d, r13d
mov eax, esi
mov rdx, r15
nop dword [rax]
movzx ecx, byte [rdx - 1]
lea rdx, [rdx - 1]
add eax, ecx
mov byte [rdx], al
shr eax, 8
add r8d, 0xffffffff
jne 0x1401e68d0
mov ecx, dword [rsp + 0x90]
mov r10, qword [rsp + 0xb8]
mov eax, 0x10000000
mov r9, qword [rsp + 0x98]
shl r12, 4
sub rbx, r12
add r14, r12
add rbp, r12
cmp rbx, 0x10
jae 0x1401e6870
mov edi, dword [rsp + 0x30]
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x90], ecx
test rbx, rbx
je 0x1401e69b2
mov r12, qword [rsp + 0xa8]
xorps xmm0, xmm0
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, r12
movups xmmword [r12], xmm0
call r10
mov r8d, dword [rsp + 0x90]
add r8d, esi
bswap r8d
mov dword [r15], r8d
jne 0x1401e6990
nop dword [rax]
movzx eax, byte [r15 - 1]
lea r15, [r15 - 1]
add esi, eax
mov byte [r15], sil
shr esi, 8
add r13d, 0xffffffff
jne 0x1401e6970
nop word [rax + rax]
mov ecx, edi
inc edi
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + r12]
mov byte [rcx + r14], al
sub rbx, 1
jne 0x1401e6990
mov rax, qword [rsp + 0xb0]
mov dword [rax], edi
jmp 0x1401e69b5
mov dword [r8], edi
mov r12, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1401e6a90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.140295f80
sub rsp, rax
mov rcx, qword [rcx + 0x28]
add rsp, 0x28
jmp fcn.14014bb00
Function at 0x1401efb90
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.140295f80
sub rsp, rax
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.140128720
mov rdi, rax
test rax, rax
je 0x1401efc13
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.1401275d0
mov rcx, rdi
mov ebx, eax
call fcn.140128770
test ebx, ebx
jne 0x1401efc1a
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x1401efcce
movzx eax, byte [rsp + 0x16f]
lea rdx, [rsp + 0x150]
and byte [rsp + 0x150], 0xf8
lea rcx, [rsp + 0xb0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.1401eeed0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.1401eb830
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.1401ebab0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.1401ebab0
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1401ed150
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.1401ed150
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.140001240
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1402959c0
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401efcf0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1a8
call fcn.140295f80
sub rsp, rax
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12, qword [rsp + 0x210]
mov r15, r8
mov r8, qword [rsp + 0x220]
mov r14, rdx
mov rsi, rcx
lea rdx, str.SHA512
mov rcx, qword [rsp + 0x218]
mov r13, r9
call fcn.140128720
mov rdi, rax
call fcn.140128660
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x1401efefb
test rax, rax
je 0x1401efefb
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.140127bd0
test eax, eax
je 0x1401efefb
lea r8d, [rbp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.140127c10
test eax, eax
je 0x1401efefb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call fcn.140127a30
test eax, eax
je 0x1401efefb
movzx eax, byte [rsp + 0xef]
xor r8d, r8d
and byte [rsp + 0xd0], 0xf8
and al, 0x3f
or al, 0x40
mov rdx, rdi
mov rcx, rbx
mov byte [rsp + 0xef], al
call fcn.140127bd0
test eax, eax
je 0x1401efefb
lea r8d, [rbp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xf0]
call fcn.140127c10
test eax, eax
je 0x1401efefb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.140127c10
test eax, eax
je 0x1401efefb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x110]
call fcn.140127a30
test eax, eax
je 0x1401efefb
lea rcx, [rsp + 0x110]
call fcn.1401f2470
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.1401eeed0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401eee40
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.140127bd0
test eax, eax
je 0x1401efefb
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.140127c10
test eax, eax
je 0x1401efefb
lea r8d, [rbp + 0x20]
mov rdx, r13
mov rcx, rbx
call fcn.140127c10
test eax, eax
je 0x1401efefb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.140127c10
test eax, eax
je 0x1401efefb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.140127a30
test eax, eax
je 0x1401efefb
lea rcx, [rsp + 0x150]
call fcn.1401f2470
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.1401f03e0
mov ebp, 1
mov edx, 0x40
lea rcx, [rsp + 0x110]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0xd0]
call fcn.140001240
mov rcx, rdi
call fcn.140128770
mov rcx, rbx
call fcn.1401285b0
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1402959c0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret