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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx ecx, word [rcx]
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x140020ad7
mov rsi, rax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0xfffffffb
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140020abe
cmp word [r14], 0x17
jne 0x140020995
movzx eax, bl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rsi
mov edx, 0x29
mov r8d, 0x1b
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, r14
xor edx, edx
call fcn.14001e990
mov rcx, rsi
mov rdx, r14
mov r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x140020abe
mov ecx, 0x100
call fcn.14025e260
mov r15, rax
mov rcx, rax
mov rdx, rsi
call fcn.14000dd40
mov qword [r15 + 0xa0], rsi
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [r15], rax
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [r15 + 0x10], rax
mov qword [r15 + 0xa8], 0
lea rcx, [r15 + 0xb0]
lea rdx, [method.icu_68::SimpleFilteredSentenceBreakIterator.virtual_16]
mov r8d, 4
call fcn.140023b40
mov byte [r15 + 0xc8], 1
lea rax, [0x140299370]
mov qword [r15], rax
lea rax, [0x1402993d0]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [r15 + 0xd0], xmm0
mov dword [r15 + 0xe0], 0
movups xmmword [r15 + 0xe8], xmm0
mov dword [r15 + 0xf8], 0
mov dword [r15 + 0x50], 4
mov rcx, r14
call fcn.14001ec90
test rax, rax
jne 0x140020afa
mov rcx, r15
call fcn.14001f3d0
cmp rax, 0xffff
jne 0x140020afa
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.1400208f0
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lock dec qword [r15 + 8]
jne 0x140020ab4
mov rax, qword [r15]
mov rcx, r15
mov edx, 1
call qword [rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140020ade
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14025dfe0
mov rax, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rdi, rdi
mov edx, 0x7fffffff
cmovg edx, edi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x140020b18
mov rdi, r15
jmp 0x140020ade
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lock dec qword [r15 + 8]
jne 0x140020acf
mov rax, qword [r15]
mov rcx, r15
mov edx, 1
call qword [rax]
jmp 0x140020acf
Function at 0x140021ac0
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x37]
lea r9, [rsp + 0x30]
mov rcx, rax
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140021b1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x140021b34
cmp dword [rsp + 0x30], 1
movzx eax, byte [rsp + 0x37]
mov ecx, 0xffffffff
cmove ecx, eax
mov dword [rsi], ecx
mov sil, 1
jmp 0x140021b36
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14025dfe0
mov eax, esi
add rsp, 0x40
pop rsi
ret

Function at 0x140022f60
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
movzx ecx, word [rcx]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
test rax, rax
js 0x140022fbc
mov rcx, rsi
xor edx, edx
call fcn.14001e990
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmove rdi, rax
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140022fd0
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov edx, 0x4004667f
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
mov eax, dword [rsp + 0x24]
mov rsi, 0xffffffffffffffff
cmovne rsi, rax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14025dfe0
mov rax, rsi
add rsp, 0x30
pop rsi
ret

Function at 0x140023020
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x24], 0x80
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x24]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140023066
lea rcx, [rsp + 0x28]
call fcn.14001ec90
mov rsi, rax
jmp 0x140023068
xor esi, esi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14025dfe0
mov rax, rsi
add rsp, 0xb0
pop rsi
ret

Function at 0x140023120
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cdqe
add rsp, 0x28
ret

Function at 0x140023140
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cdqe
add rsp, 0x28
ret
Function at 0x1400248a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x18
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024a73
test r9, r9
jle 0x140024a73
lea rax, [rcx + 1]
mov qword [rsp + 8], rax
xor r10d, r10d
lea r11, [0x1402cfc90]
lea rsi, [0x1402cfd90]
lea rbx, [0x1402cfdb0]
xor r15d, r15d
mov qword [rsp], r8
movzx ebp, byte [rcx + r15]
test bpl, bpl
js 0x140024910
mov r12d, 1
jmp 0x140024a41
mov eax, ebp
movsx r12, byte [rax + r11]
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x140024a1a
mov r11, rdx
sub r11, r15
cmp r11, 2
mov eax, 1
cmovl r11, rax
dec r11
cmp r12, 3
mov r13d, 2
cmovge r13, r12
lea rax, [r13 - 2]
cmp r11, rax
jbe 0x140024a8e
lea r8, [r13 - 1]
test rax, rax
mov qword [rsp + 0x10], r8
je 0x140024a5e
mov rax, qword [rsp + 8]
lea r14, [rax + r15]
mov rax, r8
and rax, 0xfffffffffffffffe
neg rax
mov r11d, 1
xor edi, edi
nop word cs:[rax + rax]
movzx esi, byte [r14 + r11 - 1]
mov ebx, esi
and bl, 0xc0
cmp bl, 0x80
setne bl
or bl, dil
movzx r8d, byte [r14 + r11]
mov edi, r8d
and dil, 0xc0
cmp dil, 0x80
setne dil
or dil, bl
shl ebp, 0xc
shl esi, 6
add ebp, r8d
add ebp, esi
lea r8, [rax + r11]
add r8, 2
add r11, 2
cmp r8, 1
jne 0x140024990
test byte [rsp + 0x10], 1
je 0x1400249ff
lea rax, [rcx + r15]
movzx eax, byte [rax + r11]
mov r8d, eax
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or dil, r8b
shl ebp, 6
add ebp, eax
mov r8, qword [rsp]
lea r11, [0x1402cfc90]
lea rsi, [0x1402cfd90]
lea rbx, [0x1402cfdb0]
jmp 0x140024a22
mov r13d, 1
xor edi, edi
xor eax, eax
cmp r13, r12
jne 0x140024a7d
test dil, 1
jne 0x140024a7d
sub ebp, dword [rsi + r12*4]
cmp ebp, 0x10ffff
ja 0x140024a7d
cmp dword [rbx + r12*4], ebp
ja 0x140024a8e
mov byte [r8 + r10], bpl
add r15, r12
inc r10
cmp r15, rdx
setl al
jge 0x140024a73
cmp r10, r9
jl 0x1400248f0
jmp 0x140024a73
mov r11d, 1
xor edi, edi
test byte [rsp + 0x10], 1
jne 0x1400249df
jmp 0x1400249ff
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140024a7d
Function at 0x140024aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
xor r10d, r10d
test rdx, rdx
setg al
jle 0x140024cea
test r9, r9
jle 0x140024cea
lea rax, [r9 - 1]
mov qword [rsp + 0x18], rax
lea rax, [rcx + 1]
mov qword [rsp + 0x10], rax
xor edi, edi
lea r11, [0x1402cfc90]
lea rbx, [0x1402cfd90]
lea r15, [0x1402cfdb0]
xor r10d, r10d
mov qword [rsp + 8], r9
mov qword [rsp], r8
nop dword [rax]
movzx ebp, byte [rcx + rdi]
test bpl, bpl
js 0x140024b20
mov r13d, 1
jmp 0x140024cb0
movsx r13, byte [rbp + r11]
mov rax, rbp
add rax, 0xffffffffffffff40
cmp rax, 0x3d
ja 0x140024c38
mov r11, rdx
sub r11, rdi
cmp r11, 2
mov eax, 1
cmovl r11, rax
dec r11
cmp r13, 3
mov esi, 2
cmovge rsi, r13
lea rax, [rsi - 2]
cmp r11, rax
jbe 0x140024d05
lea r8, [rsi - 1]
test rax, rax
mov qword [rsp + 0x20], r8
je 0x140024cce
mov rax, qword [rsp + 0x10]
lea rbx, [rax + rdi]
mov rax, r8
and rax, 0xfffffffffffffffe
neg rax
mov r15d, 1
xor r12d, r12d
mov r14d, ebp
nop word [rax + rax]
movzx r11d, byte [rbx + r15 - 1]
mov r8d, r11d
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r8b, r12b
movzx r9d, byte [rbx + r15]
mov r12d, r9d
and r12b, 0xc0
cmp r12b, 0x80
setne r12b
or r12b, r8b
shl r14d, 0xc
shl r11d, 6
add r14d, r9d
add r14d, r11d
lea r8, [rax + r15]
add r8, 2
add r15, 2
cmp r8, 1
jne 0x140024ba0
test byte [rsp + 0x20], 1
je 0x140024c18
lea rax, [rcx + rdi]
movzx eax, byte [rax + r15]
mov r8d, eax
and r8b, 0xc0
cmp r8b, 0x80
setne r8b
or r12b, r8b
shl r14d, 6
add r14d, eax
mov r9, qword [rsp + 8]
mov r8, qword [rsp]
lea r11, [0x1402cfc90]
lea rbx, [0x1402cfd90]
lea r15, [0x1402cfdb0]
jmp 0x140024c43
mov esi, 1
xor r12d, r12d
mov r14d, ebp
xor eax, eax
cmp rsi, r13
jne 0x140024cf4
test r12b, 1
jne 0x140024cf4
sub r14d, dword [rbx + r13*4]
cmp r14d, 0x10ffff
ja 0x140024cf4
cmp dword [r15 + r13*4], r14d
ja 0x140024d05
cmp bpl, 0xf0
jb 0x140024cad
cmp r10, qword [rsp + 0x18]
je 0x140024d05
mov eax, r14d
shr eax, 0xa
add eax, 0xffffd7c0
mov word [r8 + r10*2], ax
and r14d, 0x3ff
or r14d, 0xdc00
mov word [r8 + r10*2 + 2], r14w
inc r10
jmp 0x140024cb5
mov ebp, r14d
mov word [r8 + r10*2], bp
add rdi, r13
inc r10
cmp rdi, rdx
setl al
jge 0x140024cea
cmp r10, r9
jl 0x140024b00
jmp 0x140024cea
mov r15d, 1
xor r12d, r12d
mov r14d, ebp
test byte [rsp + 0x20], 1
jne 0x140024bf6
jmp 0x140024c18
cmp r10, r9
setne cl
xor al, 1
or al, cl
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140024cf4

Function at 0x1400253b0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.14027301c
cdqe
add rsp, 0x28
ret
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
jmp 0x1400253b0

Function at 0x140026370
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14025dfe0
mov rax, rsi
add rsp, 0x60
pop rsi
ret
Function at 0x1400263b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
test dl, dl
mov eax, 0x40
mov r9d, 4
cmovne r9d, eax
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400263fa
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14025e260
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140036460
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov r11, qword [rsp + 0x68]
inc r11
xor eax, eax
cmp r11, r9
ja 0x14003656e
movzx eax, byte [r8 + r9 - 1]
add r11, rax
mov r10, r9
sub r10, r11
xor r11, r9
xor r10, r9
or r10, r11
xor r10, r9
not r10
sar r10, 0x3f
cmp r9, 0x100
mov esi, 0x100
cmovb rsi, r9
test rsi, rsi
je 0x140036547
lea r11, [r9 - 1]
cmp rsi, 1
jne 0x1400364c7
xor edi, edi
jmp 0x14003651e
mov ebx, esi
and ebx, 0x1fe
lea r14, [r8 + r11]
xor edi, edi
mov r15, 0xffffffffffffffff
mov r12, r10
nop
movzx r10d, byte [r14]
xor r10b, al
movzx r13d, r10b
not r13
movzx r10d, byte [r14 - 1]
xor r10b, al
cmp rdi, rax
cmova r13, r15
movzx r10d, r10b
not r10
cmovae r10, r15
and r10, r12
and r10, r13
add rdi, 2
add r14, 0xfffffffffffffffe
mov r12, r10
cmp rbx, rdi
jne 0x1400364e0
test sil, 1
je 0x140036547
sub r11, rdi
movzx r8d, byte [r8 + r11]
xor r8b, al
cmp rdi, rax
movzx r8d, r8b
not r8
mov r11, 0xffffffffffffffff
cmovbe r11, r8
and r10, r11
xor r8d, r8d
cmp r10b, 0xff
sete r8b
mov r10, r8
neg r10
inc eax
neg r8d
and r8d, eax
sub r9, r8
mov qword [rdx], r9
mov qword [rcx], r10
mov eax, 1
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140036580
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, r9
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x28], rcx
mov r13, qword [rsp + 0x120]
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea r15, [rdx + 0x100]
xor r12d, r12d
mov rax, r13
sub rax, r15
cmovae r12, rax
test rdx, rdx
je 0x1400365e3
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, rsi
call fcn.140260830
cmp r12, r13
jae 0x140036785
mov rcx, rbx
sub rcx, rsi
cmp r13, r15
cmovb r15, r13
mov rdx, rbx
neg rdx
xor eax, eax
xor r8d, r8d
xor r9d, r9d
nop word [rax + rax]
cmp r8, rsi
mov r10d, 0
cmovae r10, rsi
mov r11, r8
mov r13, r12
xor r13, rcx
mov rbp, r13
not rbp
dec r13
and r13, rbp
sar r13, 0x3f
movzx r9d, r9b
or r9, r13
mov rbp, r12
xor rbp, rbx
lea rdi, [rdx + r12]
xor rdi, r12
or rdi, rbp
xor rdi, r12
sar rdi, 0x3f
and edi, r9d
and dil, byte [r14 + r12]
sub r11, r10
or byte [rsp + r11 + 0x70], dil
and r13, r11
or rax, r13
inc r12
neg r10
add r8, r10
inc r8
dec r15
jne 0x140036610
cmp rsi, 2
jb 0x140036791
mov rcx, rsi
and rcx, 0xfffffffffffffffe
mov r8d, 1
lea r9, [rsp + 0x30]
lea r10, [rsp + 0x70]
jmp 0x1400366b2
add r8, r8
shr rax, 1
mov r10, rdx
cmp r8, rsi
jae 0x140036796
mov rdx, r9
mov r9, r10
mov r10d, eax
and r10d, 1
dec r10d
movzx r10d, r10b
mov r11, r10
not r10
mov r14, r8
xor ebx, ebx
jmp 0x140036707
sub r14, r15
movzx edi, byte [r9 + r14]
movzx ebp, byte [r9 + rbx + 1]
and ebp, r11d
and edi, r10d
or edi, ebp
mov byte [rdx + rbx + 1], dil
add rbx, 2
inc r14
cmp rcx, rbx
je 0x140036750
mov r15d, 0
cmp r14, rsi
jb 0x140036715
mov r15, rsi
mov rdi, r14
sub rdi, r15
movzx edi, byte [r9 + rdi]
movzx ebp, byte [r9 + rbx]
and ebp, r11d
and edi, r10d
or edi, ebp
mov byte [rdx + rbx], dil
neg r15
add r14, r15
inc r14
mov r15d, 0
cmp r14, rsi
jb 0x1400366e0
mov r15, rsi
jmp 0x1400366e0
test sil, 1
je 0x1400366a0
cmp r14, rsi
mov edi, 0
cmovae rdi, rsi
sub r14, rdi
movzx edi, byte [r9 + r14]
movzx ebp, byte [r9 + rbx]
and r11d, ebp
and r10d, edi
or r10d, r11d
mov byte [rdx + rbx], r10b
jmp 0x1400366a0
xor eax, eax
cmp rsi, 2
jae 0x140036684
lea rdx, [rsp + 0x70]
test rsi, rsi
je 0x1400367a8
mov rcx, qword [rsp + 0x28]
mov r8, rsi
call fcn.1402609f0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003cfb0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea r14, [rsp + 0xc0]
mov edx, 0x20
mov rcx, r8
mov r8, r14
call fcn.1400677a0
and byte [rsp + 0xc0], 0xf8
movzx eax, byte [rsp + 0xdf]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0xdf], al
lea r8, [0x1402d66b0]
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, r14
call fcn.14003b490
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x160], xmm1
movaps xmmword [rsp + 0x150], xmm0
lea r14, [rsp + 0x128]
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.140041e50
lea r12, [rsp + 0x150]
mov rcx, r12
mov rdx, r15
mov r8, r14
call fcn.140044890
lea rdx, [rsp + 0x48]
lea r15, [rsp + 0x100]
mov rcx, r15
mov r8, r14
call fcn.140044890
mov rcx, rdi
mov rdx, r15
call fcn.140037670
lea rcx, [rsp + 0x180]
mov rdx, r12
call fcn.140037670
movzx eax, byte [rsp + 0x180]
shl al, 7
xor byte [rdi + 0x1f], al
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400407f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov qword [rsp + 0x20], rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x150], xmm1
and byte [rsp + 0x140], 0xf8
movzx eax, byte [rsp + 0x15f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x15f], al
lea r8, [0x1402d66b0]
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x140]
call fcn.14003b490
mov rax, qword [rsp + 0xf0]
mov r11, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
lea rdi, [r11 + rax]
mov rcx, qword [rsp + 0xf8]
lea rbx, [rsi + rcx]
mov rdx, qword [rsp + 0x100]
mov r14, qword [rsp + 0xd8]
lea r15, [r14 + rdx]
mov r8, qword [rsp + 0x108]
mov r12, qword [rsp + 0xe0]
lea r13, [r12 + r8]
mov r9, qword [rsp + 0x110]
mov rbp, qword [rsp + 0xe8]
lea r10, [rbp + r9]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r10
movabs r10, 0xffffffffffffe
add rax, r10
sub rax, r11
add rax, 0xffffffffffffffdc
add rcx, r10
sub rcx, rsi
add rdx, r10
sub rdx, r14
add r8, r10
sub r8, r12
add r9, r10
sub r9, rbp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
lea rdi, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140041e50
lea rdx, [rsp + 0x78]
mov rcx, rdi
mov r8, rdi
call fcn.140044890
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call fcn.140037670
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004b4b0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x28]
mov r8d, 6
call fcn.140032800
xor edi, edi
test eax, eax
je 0x14004b667
lea rcx, [rsp + 0x28]
call fcn.1400297f0
movzx r15d, byte [reloc.WS2_32.dll_htons]
cmp rax, r15
jne 0x14004b535
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032090
lea r14, [0x1402d8e70]
test r15b, r15b
je 0x14004b65d
lea rdx, [0x1402d8e74]
mov rcx, rax
mov r8, rbx
call fcn.140260730
test eax, eax
je 0x14004b65d
lea rcx, [rsp + 0x28]
call fcn.1400297f0
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004b583
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032090
lea r14, [0x1402d8ad8]
test r15b, r15b
je 0x14004b65d
lea rdx, [0x1402d8adc]
mov rcx, rax
mov r8, rbx
call fcn.140260730
test eax, eax
je 0x14004b65d
lea rcx, [rsp + 0x28]
call fcn.1400297f0
movzx r15d, byte [reloc.WS2_32.dll_getsockopt]
cmp rax, r15
jne 0x14004b5d1
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032090
lea r14, [0x1402d8948]
test r15b, r15b
je 0x14004b65d
lea rdx, [0x1402d894c]
mov rcx, rax
mov r8, rbx
call fcn.140260730
test eax, eax
je 0x14004b65d
lea rcx, [rsp + 0x28]
call fcn.1400297f0
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004b617
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032090
lea r14, [0x1402d8c68]
test r15b, r15b
je 0x14004b65d
lea rdx, [0x1402d8c6c]
mov rcx, rax
mov r8, rbx
call fcn.140260730
test eax, eax
je 0x14004b65d
lea rcx, [rsp + 0x28]
call fcn.1400297f0
movzx r15d, byte [reloc.WS2_32.dll_closesocket]
cmp rax, r15
jne 0x14004b667
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140032090
lea r14, [0x1402d9000]
test r15b, r15b
je 0x14004b65d
lea rdx, [0x1402d9004]
mov rcx, rax
mov r8, rbx
call fcn.140260730
test eax, eax
jne 0x14004b667
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14025dfe0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14004f4e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r8
mov r14, rdx
mov r15, rcx
mov r12, qword [rsp + 0x168]
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, r12
call fcn.14004b150
mov rbx, rax
lea r13, [rsp + 0x40]
mov rcx, r13
call fcn.1400734e0
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, r15
mov r8, r14
mov r9, r12
call fcn.140073510
test eax, eax
je 0x14004f789
mov rsi, qword [rsp + 0x170]
test rsi, rsi
je 0x14004f78d
mov r14, qword [rsp + 0x178]
mov eax, 1
lea r15, [rsp + 0x40]
jmp 0x14004f592
add r14, rbp
mov eax, dword [rsp + 0x2c]
inc eax
sub rsi, rbp
je 0x14004f78d
cmp rbx, rsi
mov rbp, rsi
cmovb rbp, rbx
mov dword [rsp + 0x2c], eax
bswap eax
mov dword [rsp + 0xac], eax
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.140073510
test eax, eax
je 0x14004f789
mov rcx, r15
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
call fcn.140073840
test eax, eax
je 0x14004f789
mov r8d, 4
mov rcx, r15
lea rdx, [rsp + 0xac]
call fcn.140073840
test eax, eax
je 0x14004f789
mov rcx, r15
lea rdx, [rsp + 0xb0]
xor r8d, r8d
call fcn.140073860
test eax, eax
je 0x14004f789
test rbp, rbp
je 0x14004f635
mov rcx, r14
lea rdx, [rsp + 0xb0]
mov r8, rbp
call fcn.1402609f0
cmp dword [rsp + 0x160], 2
jb 0x14004f580
mov r12, rbp
and r12, 0xffffffffffffffe0
mov r13, rbp
and r13, 0xfffffffffffffff8
mov edi, 1
jmp 0x14004f66f
inc edi
cmp edi, dword [rsp + 0x160]
je 0x14004f580
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.140073510
test eax, eax
je 0x14004f789
mov rcx, r15
lea rdx, [rsp + 0xb0]
mov r8, rbx
call fcn.140073840
test eax, eax
je 0x14004f789
mov rcx, r15
lea rdx, [rsp + 0xb0]
xor r8d, r8d
call fcn.140073860
test eax, eax
je 0x14004f789
test rbp, rbp
je 0x14004f660
cmp rbp, 8
jae 0x14004f6e0
xor eax, eax
jmp 0x14004f770
cmp rbp, 0x20
jae 0x14004f6ea
xor ecx, ecx
jmp 0x14004f740
xor eax, eax
nop dword [rax]
movups xmm0, xmmword [r14 + rax]
movups xmm1, xmmword [r14 + rax + 0x10]
xorps xmm0, xmmword [rsp + rax + 0xb0]
xorps xmm1, xmmword [rsp + rax + 0xc0]
movups xmmword [r14 + rax], xmm0
movups xmmword [r14 + rax + 0x10], xmm1
add rax, 0x20
cmp r12, rax
jne 0x14004f6f0
cmp rbp, r12
je 0x14004f660
mov rcx, r12
mov rax, r12
test bpl, 0x18
je 0x14004f770
nop word cs:[rax + rax]
mov rax, qword [rsp + rcx + 0xb0]
xor qword [r14 + rcx], rax
add rcx, 8
cmp r13, rcx
jne 0x14004f740
mov rax, r13
cmp rbp, r13
je 0x14004f660
nop word cs:[rax + rax]
movzx ecx, byte [rsp + rax + 0xb0]
xor byte [r14 + rax], cl
inc rax
cmp rbp, rax
jne 0x14004f770
jmp 0x14004f660
xor esi, esi
jmp 0x14004f79b
xor esi, esi
cmp dword [rsp + 0x160], 0
setne sil
lea rcx, [rsp + 0x40]
call fcn.140073920
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14025dfe0
mov eax, esi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret