joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c9b00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
mov eax, 0x20
call fcn.1402c5820
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x1401c9b30
mov eax, 0xfffffffe
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x1401c9c22
cmp rcx, rbx
jb 0x1401c9c22
mov qword [rsp + 0x40], rsi
mov esi, dword [rbp + 0x17c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rbp + 0x30], rcx
test esi, esi
je 0x1401c9ba6
test rbx, rbx
je 0x1401c9c02
movzx eax, byte [r14]
dec rbx
mov ecx, esi
inc r14
xor byte [rcx + rbp + 0x40], al
inc esi
and esi, 0xf
jne 0x1401c9b70
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov rdx, r12
mov rcx, rdi
call qword [rbp + 0x170]
jmp 0x1401c9bae
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov qword [rsp + 0x58], r15
mov r15, rbx
and r15, 0xfffffffffffffff0
je 0x1401c9bd4
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rdi
call qword [rbp + 0x168]
add r14, r15
sub rbx, r15
mov r15, qword [rsp + 0x58]
test rbx, rbx
je 0x1401c9c02
mov esi, ebx
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + rdi - 0x40]
xor byte [rdi], al
lea rdi, [rdi + 1]
sub rbx, 1
jne 0x1401c9bf0
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov r12, qword [rsp + 0x50]
mov dword [rbp + 0x17c], esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x1401cac90
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
mov eax, 0x28
call fcn.1402c5820
sub rsp, rax
xor r13d, r13d
mov rdi, r8
mov qword [rcx + 0x30], r13
mov rsi, rdx
mov qword [rcx + 0x38], r13
mov rbx, rcx
mov qword [rcx + 0x178], r13
cmp r8, 0xc
jne 0x1401cace2
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x1401cae20
mov qword [rsp + 0x50], rbp
mov rbp, rdi
mov qword [rsp + 0x58], r12
mov qword [rcx + 0x40], r13
mov qword [rsp + 0x60], r14
mov qword [rcx + 0x48], r13
cmp rdi, 0x10
jb 0x1401cadb0
mov qword [rsp + 0x20], r15
mov r15, rdi
shr r15, 4
imul rax, r15, 0xfffffffffffffff0
add rdi, rax
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rbx + 0x60]
xor byte [rbx + 0x40], al
lea rcx, [rbx + 0x40]
movzx eax, byte [rsi + 1]
xor byte [rbx + 0x41], al
movzx eax, byte [rsi + 2]
xor byte [rbx + 0x42], al
movzx eax, byte [rsi + 3]
xor byte [rbx + 0x43], al
movzx eax, byte [rsi + 4]
xor byte [rbx + 0x44], al
movzx eax, byte [rsi + 5]
xor byte [rbx + 0x45], al
movzx eax, byte [rsi + 6]
xor byte [rbx + 0x46], al
movzx eax, byte [rsi + 7]
xor byte [rbx + 0x47], al
movzx eax, byte [rsi + 8]
xor byte [rbx + 0x48], al
movzx eax, byte [rsi + 9]
xor byte [rbx + 0x49], al
movzx eax, byte [rsi + 0xa]
xor byte [rbx + 0x4a], al
movzx eax, byte [rsi + 0xb]
xor byte [rbx + 0x4b], al
movzx eax, byte [rsi + 0xc]
xor byte [rbx + 0x4c], al
movzx eax, byte [rsi + 0xd]
xor byte [rbx + 0x4d], al
movzx eax, byte [rsi + 0xe]
xor byte [rbx + 0x4e], al
movzx eax, byte [rsi + 0xf]
xor byte [rbx + 0x4f], al
call qword [rbx + 0x170]
add rsi, 0x10
sub r15, 1
jne 0x1401cad20
mov r15, qword [rsp + 0x20]
test rdi, rdi
je 0x1401caddf
lea rcx, [rbx + 0x40]
sub rsi, rbx
nop dword [rax]
movzx eax, byte [rsi + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x1401cadc0
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call qword [rbx + 0x170]
shl rbp, 3
lea rdx, [rbx + 0x60]
bswap rbp
xor qword [rbx + 0x48], rbp
lea rcx, [rbx + 0x40]
call qword [rbx + 0x170]
mov rax, qword [rbx + 0x40]
mov edi, dword [rbx + 0x4c]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
bswap edi
nop dword [rax + rax]
mov qword [rbx + 0x40], r13
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], r13
mov rcx, rbx
mov r8, qword [rbx + 0x188]
call qword [rbx + 0x180]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
add rsp, 0x28
pop r13
pop rdi
pop rsi
pop rbx
ret

Function at 0x1401d21c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, reloc.WS2_32.dll_getservbyport
call fcn.1402c5820
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401d21e9
lea rax, [0x1401d0820]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401c8de0
lea rax, [0x1401cf9d0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401c8b20
Function at 0x1401d4cc0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
mov eax, 0x20
call fcn.1402c5820
sub rsp, rax
mov rbx, rcx
call fcn.1401c1dd0
test eax, eax
jne 0x1401d4ce1
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x5c]
add rsp, 0x20
pop rbx
jmp fcn.1401a9fb0

Function at 0x1401d7490
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.1402c5820
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
add rcx, 0x40
xor edx, edx
mov r8d, 0xb0
call sub.VCRUNTIME140.dll_memset
movabs rsi, 0x1f83d9abfb41bd6b
movabs rbp, 0x5be0cd19137e2179
mov qword [rdi + 0x30], rsi
movabs rcx, 0x6a09e667f3bcc908
mov qword [rdi + 0x38], rbp
movabs rdx, 0xbb67ae8584caa73b
mov qword [rdi], rcx
movabs r8, 0x3c6ef372fe94f82b
mov qword [rdi + 8], rdx
movabs r9, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x10], r8
movabs r10, 0x510e527fade682d1
mov qword [rdi + 0x18], r9
movabs r11, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x20], r10
mov qword [rdi + 0x28], r11
movzx eax, byte [rbx]
mov qword [rdi + 0xe8], rax
mov rax, qword [rbx]
xor rax, rcx
mov qword [rdi], rax
mov rax, qword [rbx + 8]
xor rax, rdx
mov qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
xor rax, r8
mov qword [rdi + 0x10], rax
mov rax, qword [rbx + 0x18]
xor rax, r9
mov qword [rdi + 0x18], rax
mov rax, qword [rbx + 0x20]
xor rax, r10
mov qword [rdi + 0x20], rax
mov rax, qword [rbx + 0x28]
xor rax, r11
mov qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x30]
xor rax, rsi
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x30], rax
mov rax, qword [rbx + 0x38]
mov rbx, qword [rsp + 0x30]
xor rax, rbp
mov rbp, qword [rsp + 0x38]
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
ret

Function at 0x1401d9350
Capabilities:
Hash data using sha256

Disassembly:
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
movzx eax, byte [rdx]
mov qword [rcx + 0x78], rax
mov eax, dword [rdx]
xor eax, 0x6a09e667
mov dword [rcx], eax
mov eax, dword [rdx + 4]
xor eax, 0xbb67ae85
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
xor eax, 0x3c6ef372
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
xor eax, 0xa54ff53a
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
xor eax, 0x510e527f
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
xor eax, 0x9b05688c
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
xor eax, 0x1f83d9ab
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
xor eax, 0x5be0cd19
mov dword [rcx + 0x1c], eax
ret
Function at 0x1401f64e0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x28
call fcn.1402c5820
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1401f65d8
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1401f65d8
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x1401f6590
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x1401f653a
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1401f653a
cmp cl, 0xbb
jne 0x1401f657d
inc eax
cmp eax, ebx
jl 0x1401f6524
sub ebx, eax
test eax, eax
jne 0x1401f6594
call fcn.14016e000
lea r8, str.RSA_padding_check_X931
mov edx, 0x56
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.14016e120
mov edx, 0x8a
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.14016e220
mov rbx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rsp, 0x28
ret
call fcn.14016e000
lea r8, str.RSA_padding_check_X931
mov edx, 0x4e
jmp 0x1401f6551
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1401f65c1
call fcn.14016e000
lea r8, str.RSA_padding_check_X931
mov edx, 0x5f
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.14016e120
mov edx, 0x8b
jmp 0x1401f6562
mov r8d, ebx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.14016e000
lea r8, str.RSA_padding_check_X931
mov edx, 0x43
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.14016e120
xor r8d, r8d
mov edx, 0x89
lea ecx, [r8 + 4]
call fcn.14016e220
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x140211230
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1402c5820
sub rsp, rax
mov r10, rcx
test r9, r9
jne 0x14021127a
call fcn.14016e000
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.14016e120
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.14016e220
xor eax, eax
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
movzx ebx, byte [r8]
and ebx, 0x80
test rdx, rdx
je 0x140211290
mov dword [rdx], ebx
cmp r9, 1
jne 0x1402112b6
test r10, r10
je 0x1402112a7
movzx eax, byte [r8]
test ebx, ebx
je 0x1402112a5
neg al
mov byte [rcx], al
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
xor r11d, r11d
mov eax, r11d
test cl, cl
jne 0x1402112d1
mov eax, 1
mov r11d, eax
jmp 0x140211391
cmp cl, 0xff
jne 0x1402113da
mov eax, 1
lea rcx, [r9 - 1]
mov edx, r11d
cmp r9, rax
jbe 0x14021137f
cmp rcx, 8
jb 0x140211370
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm2, xmm2
xorps xmm3, xmm3
nop dword [rax]
nop dword [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 0x140211310
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 0x14021137f
nop dword [rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x140211370
test edx, edx
mov eax, r11d
setne al
test edx, edx
setne r11b
test edx, edx
je 0x1402113da
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp ebx, ecx
jne 0x1402113da
call fcn.14016e000
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.14016e120
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.14016e220
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
mov ecx, eax
sub r9, rcx
test r10, r10
je 0x14021142d
neg ebx
lea rax, [r11 + r8]
sbb r11d, r11d
movzx r11d, r11b
mov ecx, r11d
and ecx, 1
test r9, r9
je 0x14021142d
lea r8, [rax + r9]
mov rdx, r8
sub rdx, r8
add rdx, r9
nop dword [rax]
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r11d
add ecx, eax
mov byte [r10 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x140211410
mov rbx, qword [rsp + 0x20]
mov rax, r9
add rsp, 0x28
ret
Function at 0x140211440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
xor r10d, r10d
xor r11b, r11b
mov rsi, r9
mov rbx, rcx
test rcx, rcx
je 0x140211558
test rdx, rdx
je 0x140211558
movzx eax, byte [rcx]
test r8d, r8d
jne 0x140211485
cmp al, 0x7f
jbe 0x140211550
mov r10d, 1
mov eax, r10d
add rax, rdx
jmp 0x140211560
mov r11b, 0xff
cmp al, 0x80
jbe 0x14021149d
mov r10d, 1
mov eax, r10d
add rax, rdx
jmp 0x140211560
jne 0x140211550
mov eax, 1
lea rcx, [rdx - 1]
cmp rdx, rax
jbe 0x14021153f
cmp rcx, 8
jb 0x140211530
and ecx, 7
mov r8, rdx
sub r8, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [rax + 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, r8
jb 0x1402114d0
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd r10d, xmm2
cmp rax, rdx
jae 0x14021153f
nop word [rax + rax]
movzx ecx, byte [rax + rbx]
inc rax
or r10d, ecx
cmp rax, rdx
jb 0x140211530
neg r10d
sbb r11b, r11b
movzx r11d, r11b
mov r10d, r11d
and r10d, 1
mov eax, r10d
add rax, rdx
jmp 0x140211560
mov eax, 1
mov rdx, r10
test rsi, rsi
je 0x1402115ca
mov rcx, qword [r9]
test rcx, rcx
je 0x1402115ca
mov qword [rsp + 0x10], rdi
mov edi, r10d
movzx r8d, r11b
add rdi, rcx
and r8d, 1
mov byte [rcx], r11b
test rdx, rdx
je 0x1402115c2
lea r10, [rbx + rdx]
mov r9, r10
sub r9, r10
add r9, rdx
nop word [rax + rax]
movzx edx, byte [r10 - 1]
lea r10, [r10 - 1]
dec r9
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rdi + r9], r8b
shr r8d, 8
test r9, r9
jne 0x1402115a0
add qword [rsi], rax
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
pop rsi
ret

Function at 0x1402117c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1402c5820
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.140211440
Function at 0x140219730
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 0x14021976f
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x14021976f
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x140219754
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x14021979a
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x14021979a
cmp byte [rcx], 0xff
jne 0x14021979a
dec edx
dec rcx
cmp rcx, r11
jns 0x140219784
cmp r10d, edx
jl case.0x1402197f3.2
jle 0x1402197b8
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.0x1402197f3.2
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x219868]
mov ecx, dword [r11 + rax*4 + 0x219848]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x140219824
mov eax, 6
jmp 0x140219824
mov eax, 5
jmp 0x140219824
mov eax, 4
jmp 0x140219824
mov eax, 3
jmp 0x140219824
mov eax, 2
jmp 0x140219824
mov eax, 1
test dl, r9b
jne case.0x1402197f3.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x14021983a
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140225fc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xe8
call fcn.1402c5820
sub rsp, rax
mov rax, qword [0x14039ac80]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, qword [rsp + 0x150]
mov rax, rcx
mov rbx, qword [rsp + 0x158]
mov rdi, r9
mov r12, qword [rsp + 0x178]
mov r13, rdx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], r8
mov r14d, dword [rcx]
mov rcx, rax
call fcn.1401f1820
mov r8d, r14d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, r12
call fcn.1402445f0
test eax, eax
je 0x14022622f
mov ebp, dword [rsp + 0x160]
inc r14d
test ebp, ebp
je 0x140226074
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8, rbx
mov rdx, r15
call fcn.14016a410
test eax, eax
jle 0x140226232
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
lea rcx, [rsp + 0x90]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, ebx
sub rax, 1
js 0x1402260ae
add rax, rdi
add byte [rax], 1
jne 0x1402260ae
dec rax
cmp rax, rdi
jns 0x1402260a1
mov rbp, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], rbp
mov rcx, r15
call fcn.1401b1800
test eax, eax
je 0x140226232
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1401b1800
test eax, eax
je 0x140226232
mov r9d, esi
mov rdx, rsi
test ebx, ebx
jle 0x1402261e1
cmp ebx, 0x40
jb 0x1402261ac
mov ecx, ebx
and ecx, 0x8000003f
jge 0x140226128
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebx
sub eax, ecx
movsxd rcx, eax
nop
movdqu xmm0, xmmword [rsp + rdx + 0x50]
add r9d, 0x40
movdqu xmm1, xmmword [rsp + rdx + 0x90]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x60]
movdqu xmm1, xmmword [rsp + rdx + 0xa0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x60], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x70]
movdqu xmm1, xmmword [rsp + rdx + 0xb0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x70], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x80]
movdqu xmm1, xmmword [rsp + rdx + 0xc0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x80], xmm1
add rdx, 0x40
cmp rdx, rcx
jl 0x140226130
cmp r9d, ebx
jge 0x1402261e1
lea rcx, [rsp + 0x50]
add rcx, rdx
lea r8, [rsp + 0x90]
lea rax, [rsp + 0x50]
mov edx, ebx
sub r8, rax
sub edx, r9d
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402261d0
or byte [rsp + 0x50], 0x80
lea rcx, [rsp + 0x50]
or byte [rsp + rbx + 0x4f], 1
mov r8, r13
mov edx, ebx
call fcn.140189e50
test rax, rax
je 0x140226232
mov rdx, qword [rsp + 0x40]
mov r8, r12
mov rcx, r13
call fcn.140244650
test eax, eax
jg 0x140226260
jne 0x140226232
mov r8d, r14d
xor edx, edx
mov rcx, r12
mov ebp, 1
call fcn.1402445f0
test eax, eax
jne 0x140226052
inc r14d
mov rax, qword [rsp + 0x48]
mov dword [rax], r14d
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1402c5880
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov esi, 1
jmp 0x140226232
Function at 0x1402346d0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1402c5820
sub rsp, rax
mov rax, qword [0x14039ac80]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.1401b2630
mov rdi, rax
test rax, rax
je 0x140234753
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.1401b1800
mov rcx, rdi
mov ebx, eax
call fcn.1401b2680
test ebx, ebx
jne 0x14023475a
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x14023480e
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.140233c70
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140230620
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.1402308a0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.1402308a0
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140231f40
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.140231f40
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.1402c5880
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140234830
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.1402c5820
sub rsp, rax
mov rax, qword [0x14039ac80]
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.1401b2630
mov rdi, rax
call fcn.1401b2570
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x140234a3b
test rax, rax
je 0x140234a3b
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1401b1e00
test eax, eax
je 0x140234a3b
lea r8d, [rbp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.1401b1e40
test eax, eax
je 0x140234a3b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call fcn.1401b1c60
test eax, eax
je 0x140234a3b
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.1401b1e00
test eax, eax
je 0x140234a3b
lea r8d, [rbp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xf0]
call fcn.1401b1e40
test eax, eax
je 0x140234a3b
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401b1e40
test eax, eax
je 0x140234a3b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x110]
call fcn.1401b1c60
test eax, eax
je 0x140234a3b
lea rcx, [rsp + 0x110]
call fcn.140236fb0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.140233c70
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140233be0
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1401b1e00
test eax, eax
je 0x140234a3b
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.1401b1e40
test eax, eax
je 0x140234a3b
lea r8d, [rbp + 0x20]
mov rdx, r13
mov rcx, rbx
call fcn.1401b1e40
test eax, eax
je 0x140234a3b
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401b1e40
test eax, eax
je 0x140234a3b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.1401b1c60
test eax, eax
je 0x140234a3b
lea rcx, [rsp + 0x150]
call fcn.140236fb0
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.140234f20
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.1401b2680
mov rcx, rbx
call fcn.1401b24c0
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1402c5880
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret