joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005825f
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rbx, [rsp + 0x78]
mov rcx, rbx
call fcn.140058883
mov rcx, qword [rbx]
mov r14, qword [rbx + 8]
mov rax, rcx
neg rax
jno 0x1400582ae
mov rcx, rdi
mov rdx, r14
call fcn.1400589e9
mov qword [rsi], rdi
mov dword [rsi], edi
jmp 0x140058443
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
and qword [rax], 0
and byte [rax], al
mov qword [rax + 8], 2
and qword [rax + 0x10], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor r13d, r13d
mov ebx, 0xffffffff
xor r15d, r15d
cmp r8, 0x201
jae 0x140058301
lea r12, [rsp + 0x78]
mov edi, 0x200
mov rsi, r8
jmp 0x140058338
sub r8, r15
lea rcx, [rsp + 0x40]
mov rdx, r8
call fcn.140056abc
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
cmp r13, rbx
mov r15d, 0xffffffff
dec dword [rbp + 0xf]
std
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x28], r12
mov rdi, r15
mov rsi, r15
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
adc eax, 0x54e80
mov rbp, r14
mov rcx, r14
mov rdx, r12
mov r8d, esi
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x140058367
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400583f8
mov r8d, r14d
cmp rsi, r8
jne 0x14005839d
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140058458
add byte [rax], al
invalid
mov r14, rbp
add rsi, rsi
mov eax, 0xffffffff
invalid
invalid
invalid
dec dword [rax + 0x39]
invalid
mov ebx, 0xffffffff
cmovae rsi, rax
invalid
invalid
mov r8, rsi
invalid
jmp 0x1400582e9
mov r14, rbp
jb 0x1400582e9
invalid
invalid
invalid
invalid
invalid
cmp rdi, r8
jb 0x140058458
lea rsi, [rsp + 0x58]
mov rcx, rsi
mov rdx, r12
call fcn.140056153
mov rcx, r13
mov rdx, qword [rsp + 0x28]
call fcn.140056af8
movabs rdi, 0x8000000000000000
cmp qword [rsi], rdi
mov rax, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
je 0x14005842b
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
jmp 0x140058438
call fcn.140056ae1
mov qword [rsp + 0x60], rax
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x58], rdi
mov rcx, r13
mov rdx, qword [rsp + 0x28]
call fcn.140056af8
mov rax, qword [rsp + 0x38]
mov r14, rbp
mov rsi, qword [rsp + 0x30]
mov qword [rax], rdi
mov rcx, qword [rsp + 0x60]
call fcn.140055dfc
mov rcx, rsi
mov rdx, r14
call fcn.140056af8
nop
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x14005847c
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
in al, dx
cmp byte [rcx + rcx*4 - 0x39], cl
mov rbx, rdx
mov r14, rcx
mov ecx, 0x10
adc byte [rax], al
add byte [rax], al
mov edx, 8
call fcn.1400236ec
mov rsi, rax
mov esi, eax
mov qword [rax], rbx
mov qword [rax + 8], rdi
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, case.0x14003d566.213
xor ecx, ecx
mov rdx, r14
mov r9, rax
mov ecx, eax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdi, rax
mov rdx, rax
test rax, rax
jne 0x140058502
mov rdx, qword [rsi + 8]
mov rax, qword [rdx]
mov eax, dword [rdx]
test rax, rax
je 0x1400584ea
mov rcx, qword [rsi]
call rax
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi]
call fcn.140057940
mov rcx, rsi
call fcn.1400530b1
stosd dword [rdi], eax
invalid
invalid
call fcn.140056ae1
in eax, 0xff
invalid
mov rdx, rax
xor eax, eax
test rdi, rdi
sete al
add rsp, 0x38
add esp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140059d97
Capabilities:
Query environment variable

Disassembly:
lea rdx, str.RUST_MIN_STACK
mov r8d, 0xe
jmp fcn.14005825f

Function at 0x14005b9e1
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, r8
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
movaps xmmword [r8], xmm0
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
mov dword [r8 + 8], 1
lea r9, [rsp + 0x28]
and qword [r9], 0
mov rcx, rax
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14005ba32
call fcn.14005ba52
mov ecx, 1
jmp 0x14005ba44
mov rax, qword [rsp + 0x28]
movzx ecx, word [rdi]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x14005ba83
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1b8
mov rax, qword [rcx]
mov rdi, qword [rax]
and qword [rax], 0
test rdi, rdi
je 0x14005bad5
lea rsi, [rsp + 0x20]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
jne 0x14005bad5
mov rax, qword [sym.imp.ws2_32.dll_WSACleanup]
mov qword [rdi], rax
add rsp, 0x1b8
pop rdi
pop rsi
ret
ud2
Function at 0x14005beb9
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
test cl, 1
mov eax, 0x17
mov edi, 2
cmovne edi, eax
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14005bf09
xor edi, edi
mov rax, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14005bf1f
mov esi, eax
cmp eax, 0x2726
jne 0x14005bf6b
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14005bf7a
mov rsi, rax
mov rcx, rax
call fcn.14005c035
test rax, rax
je 0x14005bef9
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov edi, 1
mov rsi, rbx
jmp 0x14005befb
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x14005befb
mov edi, 1
call fcn.14005ba52
mov rsi, rax
jmp 0x14005befb

Function at 0x14005bf8c
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
movzx eax, dl
lea r8, [rsp + 0x24]
mov dword [r8], eax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14005bfaf
xor eax, eax
jmp 0x14005bfb4
call fcn.14005ba52
nop
add rsp, 0x28
ret

Function at 0x14005bfba
Capabilities:
Connect socket
Enumerate pe sections

Disassembly:
push rsi
push rdi
sub rsp, 0x48
test byte [rdx], 1
je 0x14005bfe4
mov r9, qword [rdx + 4]
mov r11, qword [rdx + 0xc]
mov eax, dword [rdx + 0x14]
mov esi, dword [rdx + 0x18]
movzx r10d, word [rdx + 0x1c]
mov r8d, 0x1c
mov di, 0x17
jmp 0x14005bff9
mov eax, dword [rdx + 2]
movzx r10d, word [rdx + 6]
mov r8d, 0x10
mov di, 2
xor r9d, r9d
rol r10w, 8
lea rdx, [rsp + 0x2c]
mov word [rdx], di
mov word [rdx + 2], r10w
mov dword [rdx + 4], eax
mov qword [rdx + 8], r9
mov qword [rdx + 0x10], r11
mov dword [rdx + 0x18], esi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14005c028
xor eax, eax
jmp 0x14005c02d
call fcn.14005ba52
nop
add rsp, 0x48
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], 0x80
mov rcx, rax
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14005c0be
movsxd r8, dword [rsp + 0x2c]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140055d63
jmp 0x14005c0cc
call fcn.14005ba52
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
Function at 0x14005c0d5
Capabilities:
Set socket configuration

Disassembly:
mov r9d, 0x1006
jmp 0x14005c0e0
push rsi
push rdi
sub rsp, 0x38
mov esi, r9d
mov rdi, rcx
xor eax, eax
cmp r8d, 0x3b9aca00
je 0x14005c106
mov rcx, rdx
mov edx, r8d
call fcn.140057982
test eax, eax
je 0x14005c137
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 0xffff
mov r8d, esi
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14005c130
xor eax, eax
jmp 0x14005c13e
call fcn.14005ba52
jmp 0x14005c13e
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14005c0e0
Capabilities:
Set socket configuration

Disassembly:
mov r9d, 0x1006
jmp 0x14005c0e0
push rsi
push rdi
sub rsp, 0x38
mov esi, r9d
mov rdi, rcx
xor eax, eax
cmp r8d, 0x3b9aca00
je 0x14005c106
mov rcx, rdx
mov edx, r8d
call fcn.140057982
test eax, eax
je 0x14005c137
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 0xffff
mov r8d, esi
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14005c130
xor eax, eax
jmp 0x14005c13e
call fcn.14005ba52
jmp 0x14005c13e
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14005c145
Capabilities:
Set socket configuration

Disassembly:
mov r9d, 0x1005
jmp 0x14005c0e0

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov r9d, r8d
mov rsi, rdx
mov r8, qword [rdx + 8]
mov rdi, qword [rdx + 0x10]
sub r8, rdi
mov eax, 0x7fffffff
cmp r8, rax
cmovae r8, rax
mov rdx, qword [rdx]
add rdx, rdi
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x14005c19e
cdqe
add rdi, rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 0x18]
cmp rax, rdi
cmova rdi, rax
mov qword [rsi + 0x18], rdi
jmp 0x14005c1ab
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x14005c1b4
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
jmp 0x14005c1ad

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

Disassembly:
push rsi
sub rsp, 0x20
mov eax, 0x7fffffff
cmp r8, rax
cmovae r8, rax
mov rcx, qword [rcx]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x14005c2a3
movsxd rdx, eax
xor esi, esi
jmp 0x14005c2b0
mov esi, 1
call fcn.14005ba52
mov rdx, rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

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

Disassembly:
push rsi
sub rsp, 0x40
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
lea r9, [rsp + 0x3c]
and dword [r9], 0
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
and dword [rsp + 0x20], 0
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x14005c2f2
xor esi, esi
jmp 0x14005c2fc
mov esi, 1
call fcn.14005ba52
mov edx, dword [rsp + 0x3c]
test esi, esi
cmovne rdx, rax
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x140082d00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x140082e20
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x140082d60
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x140082d60
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x140082d60
Function at 0x140085350
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.140085350
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x14008545a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140085430
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
ret
Function at 0x140086480
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x14008652e
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x1400865d9
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x14008652e
cmp r8, 0
je 0x14008669f
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1400865ef
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
Function at 0x1400a0e00
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 rsi, rcx
mov rdi, rdx
mov r15d, 8
sub rsi, r8
mov rbx, r8
mov rdx, r8
mov r8d, r15d
mov r14, rcx
mov rax, qword [rsi + rdx]
xor qword [rdx], rax
add rdx, r15
sub r8, 1
jne 0x1400a0e33
cmp rdi, 1
jbe 0x1400a0e86
add rsi, 0x40
lea rbp, [rdi - 1]
mov rcx, rbx
call fcn.1400a16d4
mov rcx, rbx
call fcn.1400a15cc
call fcn.1400a10f0
mov rcx, rbx
mov rdx, r15
mov rax, qword [rsi + rcx]
xor qword [rcx], rax
add rcx, r15
sub rdx, 1
jne 0x1400a0e6c
add rsi, 0x40
sub rbp, 1
jne 0x1400a0e51
mov rcx, rbx
call fcn.1400a16d4
mov rcx, rbx
call fcn.1400a15cc
shl rdi, 6
mov rcx, r15
sub rdi, rbx
add rdi, r14
mov rax, qword [rdi + rbx]
xor qword [rbx], rax
add rbx, r15
sub rcx, 1
jne 0x1400a0ea3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400a0f5c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
movups xmm0, xmmword [r8]
mov rsi, rcx
lea rcx, [rax - 0x68]
movups xmm1, xmmword [r8 + 0x10]
mov rdi, rdx
movaps xmmword [rax - 0x68], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rax - 0x58], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rax - 0x48], xmm0
movaps xmmword [rax - 0x38], xmm1
call fcn.1400a1aa8
xor ebx, ebx
test rdi, rdi
je 0x1400a10da
mov r14d, 0xffff0000
movabs r15, 0xff000000ff00
movabs r12, 0xf000f000f000f0
mov r9, qword [rsp + rbx*8 + 0x40]
mov r8, qword [rsp + rbx*8 + 0x20]
mov rdx, r9
shl rdx, 0x20
mov eax, r8d
or rdx, rax
shr r8, 0x20
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, rdx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
movabs rax, 0xffffffff00000000
and r9, rax
or r9, r8
mov r8d, 8
mov rcx, r9
shr rcx, 0x10
xor rcx, r9
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 8
xor rcx, r9
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 4
xor rcx, r9
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
mov rcx, rsi
xor rax, r9
mov qword [rsp + 0xa0], rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + 8]
mov r8d, 8
lea rdx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll_memcpy
inc rbx
add rsi, 0x10
cmp rbx, rdi
jb 0x1400a0fc6
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400a1364
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov dword [rcx + 0xf0], 0xa
lea rcx, [rsp + 0x20]
call fcn.1400a0d00
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
add rbx, 0x10
mov edi, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400a1648
lea rax, [0x1400f3c40]
xor r9d, r9d
movzx r10d, byte [rdi + rax - 1]
mov rdx, qword [rsp + r9*8 + 0x30]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x20]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x20], rax
inc r9
cmp r9, 2
jb 0x1400a13c0
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
inc rdi
add rbx, 0x10
cmp rdi, 0xa
jbe 0x1400a13a1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400a1450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp - 0x30]
mov rbx, rdx
call fcn.1400a0d00
mov esi, 0x10
lea rdx, [rbp - 0x30]
mov r8d, esi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x20]
call fcn.1400a0d00
lea rcx, [rdi + 0x10]
mov r8d, esi
lea rdx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add rdi, 0x20
lea ebx, [rsi - 0xe]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400a1648
mov rax, rbx
lea rcx, [0x1400f3c40]
shr rax, 1
xor r9d, r9d
movzx r10d, byte [rax + rcx - 1]
mov rdx, qword [rbp + r9*8 - 0x10]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rbp + r9*8 - 0x30]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rbp + r9*8 - 0x30], rax
inc r9
cmp r9, 2
jb 0x1400a14db
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, 0xe
je 0x1400a15b4
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400a1648
movdqu xmm0, xmmword [rbp - 0x20]
lea rcx, [rdi + 0x10]
mov r8, rsi
movdqu xmm2, xmmword [rbp - 0x10]
lea rdx, [rbp - 0x20]
psrlq xmm2, 0x30
xorps xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
psllq xmm1, 0x10
xorps xmm1, xmm2
psllq xmm0, 0x20
xorps xmm1, xmm0
psllq xmm2, 0x30
xorps xmm1, xmm2
movdqu xmmword [rbp - 0x20], xmm1
call sub.VCRUNTIME140.dll_memcpy
add rbx, 2
add rdi, 0x20
cmp rbx, 0xe
jbe 0x1400a14b8
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x1400a4a44
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x1400a84b4
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test r8, r8
je 0x1400a84d0
sub rdx, rcx
mov al, byte [rcx + rdx]
xor al, byte [rcx]
inc rcx
or r9b, al
sub r8, 1
jne 0x1400a84bf
movzx eax, r9b
ret

Function at 0x1400a84d8
Capabilities:
Encode data using xor

Disassembly:
neg r8
mov r9, rcx
mov r11, r8
sub rdx, rcx
not r11
mov r10d, 4
mov rcx, qword [r9 + rdx]
mov rax, qword [r9]
and rcx, r8
and rax, r11
xor rcx, rax
mov qword [r9], rcx
lea r9, [r9 + 8]
sub r10, 1
jne 0x1400a84ed
ret

Function at 0x1400a8eb8
Capabilities:
Encode data using xor

Disassembly:
or rax, 0xffffffffffffffff
mov r9, rdx
mov r10, rcx
test r8, r8
je 0x1400a8ef3
sub r10, rdx
mov rcx, qword [r9 + r10]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rdx, 0x3f
shr rcx, 0x3f
and rdx, rcx
neg rdx
and rax, rdx
sub r8, 1
jne 0x1400a8eca
ret

Function at 0x1400aa40c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10d, 1
xor r9d, r9d
lea r11d, [r10 + 0x3f]
mov r8, r10
shr r9, 1
and r8d, 1
neg r8
mov rdx, r8
and rdx, rcx
mov rax, rdx
xor rax, r10
and r10, rdx
shr rax, 1
add r10, rax
movabs rax, 0x8000000000000000
and r8, rax
add r9, r8
sub r11, 1
jne 0x1400aa41e
mov rbx, qword [rsp + 8]
mov rax, r9
ret

Function at 0x1400aaea8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400aaef2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400aaef2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400aaef2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400aaef2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400aaef2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400aaef4
xor al, al
add rsp, 0x28
ret