joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063e40
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov rdi, rdx
mov r15, rcx
lea rdx, [0x1400a1120]
mov r8d, 0x11
mov rcx, r9
mov rbx, r9
call fcn.140022150
test eax, eax
je 0x140063e8b
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x191
je 0x140063eb2
mov r8d, 0x13
lea rdx, [0x1400a1138]
mov rcx, rbx
call fcn.140022150
test eax, eax
je 0x140063f0d
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x197
jne 0x140063f0d
mov rcx, rbx
call fcn.1400514c0
mov rsi, rax
test rax, rax
jne 0x140063eca
lea eax, [rsi + 0x1b]
jmp 0x1400640d1
mov r9, rbx
lea r8, [0x1400a2bb8]
mov rdx, r15
mov rcx, rdi
call fcn.140037710
cmp ebp, 0x197
mov r8, rsi
mov rcx, rdi
sete dl
call fcn.140053510
mov rcx, rsi
mov ebx, eax
call qword [fcn.140093ac4]
test ebx, ebx
je 0x1400640cf
mov eax, ebx
jmp 0x1400640d1
mov r8d, 0xf
lea rdx, [0x1400a0a58]
mov rcx, rbx
call fcn.140022150
test eax, eax
je 0x140063f68
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140063f4d
lea rdx, [0x1400a2bd8]
mov rcx, rdi
call fcn.140037670
jmp 0x1400640cf
xor edx, edx
lea r9, [r14 + 0xc8]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.14003fe80
jmp 0x1400640cf
lea r9, [0x1400998a0]
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, [0x1400a0a68]
mov rcx, rbx
call fcn.1400513f0
test al, al
jne 0x1400640c7
mov r8d, 0x12
lea rdx, [0x1400a0a78]
mov rcx, rbx
call fcn.140022150
test eax, eax
je 0x140064026
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140063fd5
lea rdx, [0x1400a2c10]
mov rcx, rdi
call fcn.140037670
jmp 0x1400640cf
lea r9, [0x140098eb0]
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, [0x1400a0a78]
mov rcx, rbx
call fcn.1400513f0
test al, al
je 0x1400640cf
lea rdx, [0x1400a2c48]
mov rcx, rdi
call fcn.140037670
mov rcx, rdi
mov byte [r14 + 0xd4], 1
call fcn.1400617f0
jmp 0x1400640cf
lea r9, [0x1400998a0]
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, [0x1400a1040]
mov rcx, rbx
call fcn.1400513f0
test al, al
jne 0x1400640c7
mov r8d, 7
lea rdx, [0x1400a2c68]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
jne 0x1400640cf
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x1400640cf
cmp byte [rbx + 8], 0x20
jne 0x1400640cf
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400640cf
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400640cf
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400640cf
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x1400640cf
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x150], ecx
mov dword [rdi + 0x1394], ecx
jmp 0x1400640cf
mov byte [r14 + 0xd5], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140067f70
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1400c2600]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x140067fd4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.140069db0
test al, al
je 0x140067fc8
mov dword [0x1400c2600], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x1400c2600], 1
jmp 0x140067fd9
cmp eax, 2
je 0x14006802b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockopt]
test eax, eax
jne 0x14006800a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x14006802b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x140068c30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x1400c1900]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.ws2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x140068cd1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140068c95
mov dword [rsi], 0x51
jmp 0x140068cca
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.14003dcc0
mov rcx, qword [rdi + 8]
lea rdx, [0x1400a3bc0]
mov r8, rax
call fcn.140037580
mov rax, qword [rdi + 8]
mov dword [rax + 0xd7c], ebx
mov dword [rsi], 0x38
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, [0x1400a3bd8]
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.140037710
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400929b0
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1400c1900]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x2e8]
test dword [rcx + 0x84], 0x800
jne 0x140068e53
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x140068de1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.14003dcc0
mov r9, rax
lea rdx, [0x1400a3b10]
mov r8d, ebx
mov rcx, rsi
call fcn.140037580
mov eax, 2
jmp 0x140068e55
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.140038930
test al, al
jne 0x140068e53
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.ucrtbase.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.ucrtbase.dll__errno]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.14003dcc0
mov r8d, dword [rdi]
lea rdx, [0x1400a3c88]
mov r9, rax
mov rcx, rsi
call fcn.140037580
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x140068e55
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400929b0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x14006ad30
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1400c1900]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call fcn.140021c90
mov r13, rax
test rax, rax
jne 0x14006adae
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14003de00
mov r9, rax
lea rdx, [0x1400a4398]
mov r8, r12
mov rcx, r15
call fcn.140037580
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.140093ac4]
jmp 0x14006af69
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.kernel32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14006ae21
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14003de00
mov r9, rax
lea rdx, [0x1400a43d0]
mov r8, r12
mov rcx, r15
call fcn.140037580
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x14006af52
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
jne 0x14006ae6a
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14003de00
mov r9, rax
lea rdx, [0x1400a4400]
mov r8, r12
mov rcx, r15
call fcn.140037580
mov ebx, 0x4d
jmp 0x14006af46
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x14006ae9f
mov r8d, 0x100000
lea rdx, [0x1400a4438]
mov rcx, r15
call fcn.140037580
mov ebx, 0x4d
jmp 0x14006af3e
lea rcx, [rdi + 1]
call qword [sub.ucrtbase.dll_malloc]
mov rbp, rax
test rax, rax
jne 0x14006aeb9
lea ebx, [rax + 0x1b]
jmp 0x14006af3e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x14006af18
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14006af8b
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14006af0f
mov edi, esi
jmp 0x14006af11
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x14006aed0
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.14006aab0
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.140093ac4]
mov rcx, r13
call qword [sym.imp.ucrtbase.dll_free]
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400929b0
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14003de00
mov r9, rax
lea rdx, [0x1400a4468]
mov r8, r12
mov rcx, r15
call fcn.140037580
mov ebx, 0x4d
jmp 0x14006af36
Function at 0x140077cb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140077cf3
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x140077d40
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + 0x10]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x140077da2
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x140077d60
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x140077de1
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1400a661a]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400a661b]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x140077db0
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x140077fd0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400c1900]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.advapi32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14007801c
mov eax, 0x1b
jmp 0x1400780ee
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
jne 0x140078060
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400780ee
mov rcx, rbp
call fcn.140022200
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.advapi32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1400780ca
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400780da
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400780ec
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400929b0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140078110
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x140078175
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x140078120
ret
Function at 0x140079920
Capabilities:
Hash data using sha512

Disassembly:
jmp 0x140079920
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400c1900]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
movaps xmm0, xmmword [0x1400a6970]
xor ebx, ebx
movaps xmm1, xmmword [0x1400a6980]
mov r14, r8
movaps xmmword [rsp + 0x20], xmm0
mov rdi, rdx
movaps xmm0, xmmword [0x1400a6990]
mov r15, rcx
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x1400a69a0]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
test r8, r8
je 0x140079aa4
lea rax, [r8*8]
mov qword [rsp + 0x68], rax
mov rax, r8
shr rax, 0x3d
mov qword [rsp + 0x60], rax
cmp r8, 0x80
jae 0x1400799c7
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy_1
jmp 0x140079aa4
movups xmm0, xmmword [rdx]
lea r9, [rbp + 0x270]
movups xmm1, xmmword [rdx + 0x10]
lea r8, [rbp - 0x10]
movaps xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [rdx + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rdx + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [rdx + 0x70]
lea rdx, [rsp + 0x70]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
call fcn.1400787b0
sub rdi, 0xffffffffffffff80
add r14, 0xffffffffffffff80
cmp r14, 0x80
jb 0x140079a6b
mov qword [rsp + 0x400], rsi
mov rsi, r14
shr rsi, 7
lea r9, [rbp + 0x270]
mov rdx, rdi
lea r8, [rbp - 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400787b0
sub rdi, 0xffffffffffffff80
sub rsi, 1
jne 0x140079a41
mov rsi, qword [rsp + 0x400]
and r14d, 0x7f
jbe 0x140079a96
lea rax, [rsp + 0x70]
sub rdi, rax
nop dword [rax]
lea rcx, [rsp + 0x70]
add rcx, rbx
inc rbx
movzx eax, byte [rdi + rcx]
mov byte [rcx], al
cmp rbx, r14
jb 0x140079a80
mov edx, 0x2c0
lea rcx, [rbp - 0x10]
call fcn.14007a0d0
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.140079ae0
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400929b0
add rsp, 0x3c0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret

Function at 0x14007a070
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rcx
xor r9d, r9d
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], 0
test r8, r8
je 0x14007a0b9
nop word [rax + rax]
mov rax, qword [rsp + 0x10]
movzx edx, byte [rax + r9]
mov rax, qword [rsp + 0x18]
movzx ecx, byte [rax + r9]
inc r9
movzx eax, byte [rsp + 8]
xor dl, cl
or dl, al
mov byte [rsp + 8], dl
cmp r9, r8
jb 0x14007a090
movzx eax, byte [rsp + 8]
dec eax
sar eax, 8
and eax, 1
dec eax
ret
Function at 0x14007d1d0
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, 0x10
mov rax, qword [0x1400c1900]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x1400ae7b0]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x14007d230
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15 + 0xa0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0x80]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, ebx
xor r9d, r8d
dec edx
or r9d, r11d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
xor edx, r8d
or edx, esi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, r14d
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1400929b0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x1400802d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x1400802e0
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret

Function at 0x140080320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x20
jl 0x140080330
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x140083d10
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, 0x10
mov rax, qword [0x1400c1900]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x1400ae910]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x140083d70
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15 + 0xa0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0x80]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, ebx
xor r9d, r8d
dec edx
or r9d, r11d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
xor edx, r8d
or edx, esi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, r14d
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1400929b0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x140089900
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r9, rcx
movzx eax, byte [rdx + 2]
movzx r8d, byte [rdx + 3]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx]
shl r8d, 8
or r8d, eax
mov dword [rcx + 0x14], r8d
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x28], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x3c], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x30], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x1c], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x10], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x24], ecx
movzx ecx, byte [rdx + 0x1f]
movzx eax, byte [rdx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x38], ecx
mov dword [r9], 0x61707865
mov dword [r9 + 4], 0x3320646e
mov dword [r9 + 8], 0x79622d32
mov dword [r9 + 0xc], 0x6b206574
ret