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

Disassembly:
push rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r8, r8
je 0x140222355
cmp r8, 8
jb 0x140222329
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r8
add rax, rdx
cmp r9, rax
ja 0x14022223a
cmp rcx, rdx
jae 0x140222329
lea rax, [r8 - 1]
add rax, r11
cmp r9, rax
ja 0x14022224f
cmp rcx, r11
jae 0x140222329
mov rcx, r11
mov qword [rsp + 0x18], rdi
sub rcx, rbx
cmp r8, 0x40
jb 0x1402222e9
mov rdi, r8
mov qword [rsp + 0x10], rsi
and edi, 0x3f
mov rsi, r8
sub rsi, rdi
lea rax, [rdx + 0x10]
mov rdx, r9
sub rdx, rbx
nop
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rdx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rdx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rdx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rdx + rax - 0x20], xmm2
cmp r10, rsi
jb 0x140222280
mov rsi, qword [rsp + 0x10]
cmp rdi, 8
jb 0x14022231f
jmp 0x1402222ef
mov rdx, r9
sub rdx, rbx
mov rdi, r8
and rdi, 0xfffffffffffffff8
lea rax, [r10 + rbx]
nop word [rax + rax]
movq xmm1, qword [rcx + rax]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdx + rax - 8], xmm1
cmp r10, rdi
jb 0x140222300
mov rdi, qword [rsp + 0x18]
cmp r10, r8
jae 0x140222355
sub r11, rbx
lea rax, [r10 + rbx]
sub r9, rbx
sub r8, r10
nop word [rax + rax]
movzx ecx, byte [rax + r11]
xor cl, byte [rax]
mov byte [rax + r9], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140222340
pop rbx
ret

Function at 0x140222440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov eax, 0x20
call fcn.1403e54f0
sub rsp, rax
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
cmp rdx, rdi
ja 0x14022247e
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x1402224ca
sub rdx, rcx
lea r8, str.cryptomodesocb128.c
add rdx, 4
mov r9d, reloc.SecureEngineSDK64.dll_Ordinal_113
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.14020a6a0
test rax, rax
jne 0x1402224c6
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r12
mov r12, rbx
mov qword [rsp + 0x50], r15
mov r15, rdi
shl r15, 4
sub r12, rdi
nop word [rax + rax]
mov rcx, qword [rbp + 0x58]
mov edx, 1
add rcx, r15
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.140222050
xor byte [rsi + 0xf], dil
add r15, 0x10
sub r12, 1
jne 0x1402224f0
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov qword [rbp + 0x28], rbx
shl rbx, 4
add rbx, qword [rbp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140225fa0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, gethostbyname
call fcn.1403e54f0
sub rsp, rax
lea edx, [rax - 0x2f]
mov rbx, rcx
call fcn.140225b70
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call fcn.140225a50
xor edi, edi
mov r14, rax
test rax, rax
je 0x140226047
lea r9d, [rdi + 1]
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
mov esi, edi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140226023
mov rcx, qword [rsp + 0x58]
mov r8, r14
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rsi, rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rsi*8]
mov rdx, rsi
mov rcx, rbx
call fcn.140225b00
mov rcx, rbx
call fcn.140225cc0
test rax, rax
jne 0x1402260db
mov edx, 1
mov rcx, rbx
call fcn.140225b70
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.140225a50
mov rbp, rax
test rax, rax
je 0x1402260d3
mov r9d, reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x20], 0xf0000040
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1402260b3
mov rcx, qword [rsp + 0x58]
mov r8, rbp
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rdi, rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rdi*8]
mov rdx, rdi
mov rcx, rbx
call fcn.140225b00
mov rcx, rbx
call fcn.140225cc0
test rax, rax
jne 0x1402260db
mov rcx, rbx
call fcn.140225cc0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14022b980
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyname
call fcn.1403e54f0
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x14022b9eb
call fcn.14020abc0
lea r8, str.BIO_connect
lea edx, [rbx + 0x57]
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14020ace0
xor r8d, r8d
lea ecx, [rbx + 0x21]
mov edx, 0x87
call fcn.14020ae40
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.14020aa70
test eax, eax
je 0x14022ba9e
mov rsi, rbx
test dil, 4
je 0x14022bab5
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 0x14022bab5
call fcn.14020abc0
lea r8, str.BIO_connect
mov edx, 0x60
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14020ace0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.14020ae40
call fcn.14020abc0
lea r8, str.BIO_connect
mov edx, 0x62
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.14020ae40
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 0x14022bb42
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 0x14022bb42
call fcn.14020abc0
lea r8, str.BIO_connect
mov edx, 0x6a
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14020ace0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.14020ae40
call fcn.14020abc0
lea r8, str.BIO_connect
mov edx, WSASetLastError
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0x8a
jmp 0x14022ba94
mov rcx, rbp
call fcn.14020c8a0
mov rcx, rbp
mov ebx, eax
call fcn.1400fd230
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14022bbd6
mov ecx, eax
call fcn.14022b8e0
test eax, eax
jne 0x14022ba9e
call fcn.14020abc0
lea r8, str.BIO_connect
mov edx, 0xb2
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14020ace0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.14020ae40
call fcn.14020abc0
lea r8, str.BIO_connect
mov edx, 0xb4
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.14020ace0
xor r8d, r8d
lea edx, [r8 + 0x67]
jmp 0x14022ba94
mov eax, 1
jmp 0x14022baa0
Function at 0x14022dd30
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x14022dd9c
movzx ecx, byte [rcx]
test cl, cl
je 0x14022dd9c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x14022dd50
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x14022de60
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x14022ded0
movzx ecx, byte [rcx]
test cl, cl
je 0x14022ded0
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
mov r8d, eax
and r9d, 0xffffffdf
or r9d, r11d
mov ecx, 0x20
mov edx, r9d
add r11d, 0x100
shr edx, 2
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x14022de80
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1402335d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [rcx - 1]
movsxd rdi, r9d
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
mov r11, rdx
and rsi, rcx
mov r10, r8
mov ecx, dword [rdx + 8]
dec rsi
xor ecx, dword [r8 + 8]
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
movq xmm4, rsi
mov ecx, dword [rdx + 0x10]
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, edx
mov eax, dword [r8 + 0x14]
xor rcx, rax
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x1402336e9
cmp edi, 2
jb 0x1402336e9
mov r9, qword [r8]
lea rax, [rdi - 1]
mov r8, qword [r11]
lea rbx, [rdi - 1]
lea rbx, [r9 + rbx*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x14023367a
cmp rbx, r8
jae 0x1402336e9
cmp r9, r10
ja 0x140233684
cmp rbx, r10
jae 0x1402336e9
cmp r9, r11
ja 0x14023368e
cmp rbx, r11
jae 0x1402336e9
cmp r8, r10
ja 0x140233698
cmp rax, r10
jae 0x1402336e9
cmp r8, r11
ja 0x1402336a2
cmp rax, r11
jae 0x1402336e9
mov eax, edi
and eax, 0xfffffffe
nop word [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
xorps xmm3, xmm1
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x1402336b0
movsxd rax, edx
cmp rax, rdi
jge 0x14023371e
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rdi
jl 0x1402336f1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140233f90
Capabilities:
Encode data using xor

Disassembly:
push rbx
test byte [rcx + 0x14], 4
lea rax, [rcx + 8]
mov r10, qword [rcx]
lea rbx, [rdx + 8]
mov r11, qword [rdx]
je 0x140234077
mov ecx, dword [rbx]
cmp dword [rax], ecx
jne 0x140234077
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov edi, r9d
test ecx, ecx
jle 0x14023406d
sub r10, r11
nop word [rax + rax]
mov r8, qword [r10 + r11]
inc edi
mov rdx, qword [r11]
lea r11, [r11 + 8]
mov rcx, r8
shr rdx, 0x3f
sub r8, qword [r11 - 8]
shr r8, 0x3f
xor r8d, edx
shr rcx, 0x3f
xor edx, ecx
or r8d, edx
xor r8d, ecx
neg r8d
mov dword [rsp + 0x18], r8d
not r8d
mov dword [rsp + 0x10], r8d
mov eax, dword [rsp + 0x10]
and eax, r9d
mov r9d, dword [rsp + 0x18]
mov r8, qword [r11 - 8]
or r9d, eax
mov rdx, qword [r10 + r11 - 8]
mov rcx, r8
sub r8, qword [r10 + r11 - 8]
shr r8, 0x3f
shr rcx, 0x3f
shr rdx, 0x3f
xor r8d, edx
xor edx, ecx
or r8d, edx
xor r8d, ecx
neg r8d
mov dword [rsp + 0x18], r8d
not r8d
mov dword [rsp + 0x10], r8d
mov ecx, dword [rsp + 0x10]
and ecx, r9d
mov r9d, dword [rsp + 0x18]
and r9d, 1
or r9d, ecx
cmp edi, dword [rbx]
jl 0x140233fd0
mov rdi, qword [rsp + 0x20]
mov eax, r9d
pop rbx
ret
mov ecx, dword [rax]
mov eax, ecx
sub eax, dword [rbx]
jne 0x1402340a5
lea eax, [rcx - 1]
movsxd rcx, eax
test eax, eax
js 0x1402340a3
lea rax, [r11 + rcx*8]
sub r10, r11
mov rdx, qword [rax + r10]
cmp rdx, qword [rax]
jne 0x1402340a7
sub rax, 8
sub rcx, 1
jns 0x140234090
xor eax, eax
pop rbx
ret
mov eax, 0xffffffff
mov ecx, 1
cmova eax, ecx
pop rbx
ret
Function at 0x1402343a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x40
call fcn.1403e54f0
sub rsp, rax
xor r13d, r13d
mov r12d, r9d
mov r15d, r13d
mov edi, r13d
mov ebp, r13d
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
call fcn.140233b20
mov r8d, eax
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp dword [rsp + 0x90], r13d
jne 0x14023441f
mov edi, dword [rsi + 0x10]
mov ecx, edi
neg ecx
lea ecx, [rax*8]
sbb r15d, r15d
movzx r15d, r15b
cmp ecx, r8d
jne 0x14023441d
test edi, edi
sete bpl
jmp 0x14023441f
mov ebp, edi
add eax, ebp
cmp ebx, 0xffffffff
jne 0x140234453
mov ebx, eax
mov eax, dword [rsi + 0xc]
shl eax, 3
movsxd rdx, eax
test eax, eax
jne 0x1402344ce
test ebx, ebx
je 0x140234565
movsxd r8, ebx
xor edx, edx
mov rcx, r14
call fcn.14041cf40
jmp 0x140234565
cmp ebx, eax
jge 0x140234428
movups xmm2, xmmword [rsi]
movsxd rax, dword [rsi + 8]
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm2
test eax, eax
jle 0x140234494
movq rcx, xmm2
lea r8, [rcx + rax*8]
nop dword [rax + rax]
cmp qword [r8 - 8], r13
lea r8, [r8 - 8]
jne 0x140234490
dec eax
test eax, eax
jg 0x140234480
mov dword [rsp + 0x28], eax
mov ecx, dword [rsp + 0x30]
test eax, eax
cmove ecx, r13d
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x20]
call fcn.140233b20
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ebp
cmp ebx, eax
jge 0x140234428
mov rax, 0xffffffffffffffff
jmp 0x140234567
cmp r12d, 1
je 0x1402344dd
lea eax, [rbx - 1]
movsxd rcx, eax
add r14, rcx
mov r11d, 1
movsxd rbp, ebx
cmp r12d, r11d
mov rax, 0xffffffffffffffff
lea r12, [rdx - 1]
cmovne r11, rax
mov eax, dword [rsi + 8]
shl eax, 3
xor r9d, r9d
xor r10d, r10d
movsxd r13, eax
test ebx, ebx
je 0x140234565
nop dword [rax + rax]
mov rcx, qword [rsi]
movzx eax, r9b
and al, 7
mov rdx, r9
shl al, 3
shr rdx, 3
mov r8, qword [rcx + rdx*8]
movzx ecx, al
shr r8, cl
mov rax, r10
sub rax, r13
shr rax, 0x3f
neg al
and r8b, al
xor r8b, r15b
lea eax, [r8 + rdi]
cmp r8b, al
mov byte [r14], al
mov rax, r9
seta dil
sub rax, r12
shr rax, 0x3f
add r14, r11
add r9, rax
inc r10
cmp r10, rbp
jb 0x140234510
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14024d8d0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x28
call fcn.1403e54f0
sub rsp, rax
cmp dword [0x1407173b0], 0
jne 0x14024da50
mov qword [rsp + 0x40], rsi
lea r8d, [rax + 8]
mov qword [rsp + 0x48], rdi
lea rcx, str.OPENSSL_ia32cap
mov qword [rsp + 0x30], rbx
lea rdi, [0x140717350]
mov rdx, rdi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x20], r14
mov dword [0x1407173b0], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x14024da12
movzx ebx, word [0x140717350]
xor ebp, ebp
cmp bx, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rdi
call fcn.14024da60
mov rsi, rax
cmp bx, 0x7e
jne 0x14024d991
lea rcx, [0x14071ade0]
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 0x14024d9aa
cmp word [0x140717350], 0x3a
jne 0x14024d9aa
lea rcx, [0x14071ade0]
call fcn.140001030
mov rsi, rax
movzx eax, word [0x140717350]
test ax, ax
je 0x14024d9c8
lea rdi, [rdi + 2]
cmp ax, 0x3a
je 0x14024d9d1
movzx eax, word [rdi]
test ax, ax
jne 0x14024d9b6
mov qword [0x14071ade8], rbp
jmp 0x14024da21
movzx ebx, word [rdi]
cmp bx, 0x7e
cmove rbp, r14
lea rcx, [rdi + rbp]
call fcn.14024da60
mov rcx, rax
shr rcx, 0x20
cmp bx, 0x7e
jne 0x14024da04
not eax
not ecx
and dword [0x14071ade8], eax
and dword [0x14071adec], ecx
jmp 0x14024da21
mov dword [0x14071ade8], eax
mov dword [0x14071adec], ecx
jmp 0x14024da21
lea rcx, [0x14071ade0]
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 [0x14071ade4], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x14071ade0], eax
add rsp, 0x28
ret
Function at 0x14025e6a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1403e54f0
sub rsp, rax
mov r11, rcx
test r9, r9
jne 0x14025e6ea
call fcn.14020abc0
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.14020ae40
xor eax, eax
add rsp, 0x28
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x14025e6fd
mov dword [rdx], r10d
cmp r9, 1
jne 0x14025e71f
test r11, r11
je 0x14025e715
movzx eax, byte [r8]
test r10d, r10d
je 0x14025e713
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x14025e731
mov eax, 1
jmp 0x14025e7ea
xor eax, eax
cmp cl, 0xff
jne 0x14025e82f
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x14025e7df
cmp rcx, 8
jb 0x14025e7d0
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [rax + rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rax + r8 + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x14025e770
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x14025e7df
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x14025e7d0
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x14025e82f
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x14025e82f
call fcn.14020abc0
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.14020ae40
xor eax, eax
add rsp, 0x28
ret
sub r9, rax
test r11, r11
je 0x14025e87d
add rax, r8
mov rdx, r9
neg r10d
sbb r10d, r10d
movzx r10d, r10b
mov ecx, r10d
and ecx, 1
test r9, r9
je 0x14025e87d
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 0x14025e860
mov rax, r9
add rsp, 0x28
ret
Function at 0x14025e890
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 0x14025e995
test r10, r10
je 0x14025e995
movzx eax, byte [rcx]
test r8d, r8d
jne 0x14025e8d9
cmp al, 0x7f
jbe 0x14025e98e
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x14025e99d
mov r11b, 0xff
cmp al, 0x80
jbe 0x14025e8ef
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x14025e99d
jne 0x14025e98e
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x14025e97f
cmp rcx, 8
jb 0x14025e971
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
orps xmm3, xmm1
movd xmm1, dword [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x14025e920
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x14025e97f
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x14025e971
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x14025e99d
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x14025e9f5
mov rcx, qword [r9]
test rcx, rcx
je 0x14025e9f5
mov edx, edx
movzx r8d, r11b
add rdx, rcx
and r8d, 1
mov byte [rcx], r11b
test r10, r10
je 0x14025e9f2
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop dword [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 0x14025e9d0
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x14025ebe0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1403e54f0
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.14025e890
Function at 0x140278190
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1403e54f0
sub rsp, rax
mov rax, qword [0x140713740]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.1401fe630
mov rdi, rax
test rax, rax
je 0x140278213
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.1401fd650
mov rcx, rdi
mov ebx, eax
call fcn.1401fe680
test ebx, ebx
jne 0x14027821a
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x1402782ce
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.1402773b0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140273d40
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.140273fc0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.140273fc0
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140275660
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.140275660
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.1403e5550
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret