joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18015c0f0
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180428208]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x67452301
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], 0xefcdab89
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x98badcfe
mov dword [rsp + 0x3c], 0x10325476
call fcn.18015c500
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800a5910
add rsp, 0x58
ret

Function at 0x18015f340
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180428208]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x67452301
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x34], 0xefcdab89
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x98badcfe
mov dword [rsp + 0x3c], 0x10325476
mov dword [rsp + 0x40], 0xc3d2e1f0
call fcn.18015c500
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800a5910
add rsp, 0x58
ret
Function at 0x180161280
Capabilities:
Hash data using sha224

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180428208]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xc1059ed8
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x34], 0x367cd507
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x3070dd17
mov dword [rsp + 0x3c], 0xf70e5939
mov dword [rsp + 0x40], 0xffc00b31
mov dword [rsp + 0x44], 0x68581511
mov dword [rsp + 0x48], 0x64f98fa7
mov dword [rsp + 0x4c], 0xbefa4fa4
call fcn.18015c500
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a5910
add rsp, 0x68
ret

Function at 0x1801618f0
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180428208]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x6a09e667
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x34], 0xbb67ae85
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x3c6ef372
mov dword [rsp + 0x3c], 0xa54ff53a
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
call fcn.18015c500
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a5910
add rsp, 0x68
ret
Function at 0x180164130
Capabilities:
Hash data using sha384

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [0x180428208]
xor rax, rsp
mov qword [rsp + 0x70], rax
movabs rax, 0xcbbb9d5dc1059ed8
lea rdx, [r11 - 0x68]
mov qword [r11 - 0x58], rax
movabs rax, 0x629a292a367cd507
mov qword [r11 - 0x50], rax
movabs rax, 0x9159015a3070dd17
mov qword [r11 - 0x48], rax
movabs rax, 0x152fecd8f70e5939
mov qword [r11 - 0x40], rax
movabs rax, 0x67332667ffc00b31
mov qword [r11 - 0x38], rax
movabs rax, 0x8eb44a8768581511
mov qword [r11 - 0x30], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [r11 - 0x28], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x58]
mov qword [r11 - 0x68], rax
lea rax, [r11 - 0x18]
mov qword [r11 - 0x60], rax
call fcn.180164650
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800a5910
add rsp, 0x88
ret

Function at 0x180164950
Capabilities:
Hash data using sha512

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [0x180428208]
xor rax, rsp
mov qword [rsp + 0x70], rax
movabs rax, 0x6a09e667f3bcc908
lea rdx, [r11 - 0x68]
mov qword [r11 - 0x58], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [r11 - 0x50], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [r11 - 0x48], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [r11 - 0x40], rax
movabs rax, 0x510e527fade682d1
mov qword [r11 - 0x38], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [r11 - 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [r11 - 0x28], rax
movabs rax, 0x5be0cd19137e2179
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x58]
mov qword [r11 - 0x68], rax
lea rax, [r11 - 0x18]
mov qword [r11 - 0x60], rax
call fcn.180164650
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800a5910
add rsp, 0x88
ret
Function at 0x1801721c0
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x180428208]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
lea rax, vtable.Botan::BLAKE2b.0
mov qword [rcx], rax
lea rax, vtable.Botan::BLAKE2b.1.0
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
xor ebp, ebp
mov qword [rcx + 0x98], rbp
mov qword [rcx + 0xa0], rbp
mov qword [rcx + 0xa8], rbp
mov qword [rcx + 0xb0], rbp
mov edx, 8
mov ecx, edx
call fcn.18009de10
mov qword [rbx + 0xa0], rax
add rax, 0x40
mov qword [rbx + 0xb0], rax
mov rax, qword [rbx + 0xa0]
lea rcx, [rax + 0x40]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rbx + 0xa8], rcx
movups xmmword [rbx + 0xb8], xmm0
mov qword [rbx + 0xc8], rbp
mov qword [rbx + 0xd0], rbp
mov qword [rbx + 0xd8], rbp
mov qword [rbx + 0xe0], rbp
mov qword [rbx + 0xe8], rbp
lea rax, [rsi - 1]
cmp rax, 0x1ff
ja 0x1801723c8
test sil, 7
jne 0x1801723c8
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x180172402
lea r8d, [rbp + 0x40]
lea rdx, [0x180372a60]
call fcn.180282cf0
movzx edx, byte [rbx + 0xd0]
or rdx, 0x10100
shl rdx, 8
mov eax, dword [rbx + 0x10]
shr rax, 3
movzx ecx, al
or rdx, rcx
mov rax, qword [rbx + 0xa0]
xor qword [rax], rdx
mov qword [rbx + 0xc0], rbp
mov qword [rbx + 0xb8], rbp
mov qword [rbx + 0xc8], rbp
xorps xmm0, xmm0
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
movups xmmword [rbx + 0x78], xmm0
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], rbp
cmp qword [rbx + 0xd0], rbp
jbe 0x180172372
mov rdx, qword [rbx + 0xd8]
mov rsi, qword [rbx + 0xe0]
sub rsi, rdx
cmp rsi, 0x80
ja 0x18017239e
mov r8, rsi
lea rcx, [rbx + 0x18]
call fcn.180282cf0
add qword [rbx + 0x98], rsi
mov rax, rbx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800a5910
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov dword [rsp + 0x20], 0x5b
lea r9, [0x1803e4b20]
lea r8, str.append
lea rdx, [0x1803c6beb]
lea rcx, str.elements.size_____elements_until_alignment__
call fcn.1800d1f70
int3
lea rdx, str.Bad_output_bits_size_for_BLAKE2b
lea rcx, [rsp + 0x50]
call fcn.180080200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800d2810
lea rdx, [0x18041efb8]
lea rcx, [rsp + 0x60]
call fcn.1802818b4
int3
mov dword [rsp + 0x20], 0x7b
lea r9, [0x1803e49b0]
lea r8, str.copy_mem
lea rdx, str.If_n___0_then_args_are_not_null
lea rcx, str.n___0_implies_in___nullptr__out___nullptr
call fcn.1800d1f70
int3
Function at 0x180172600
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, qword [rdx + 8]
mov edi, 0x80
mov r14, rdx
mov rbp, rcx
cmp rsi, rdi
ja 0x180172709
mov qword [rcx + 0xc8], rsi
mov qword [rsp + 0x50], rbx
lea rbx, [rcx + 0xd0]
mov rdx, qword [rbx]
mov qword [rsp + 0x60], r15
mov r15, qword [rbx + 8]
mov rcx, r15
sub rcx, rdx
cmp rcx, rdi
jbe 0x180172658
lea rax, [rdx + 0x80]
jmp 0x18017268c
jae 0x180172690
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rax, rdi
jae 0x180172678
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rbx
call fcn.18009da10
jmp 0x180172690
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, r15
call fcn.180283390
lea rax, [rdi + r15]
mov qword [rbx + 8], rax
mov r8, qword [rbx + 8]
mov rcx, qword [rbx]
mov rax, r8
mov rdx, qword [rbp + 0xc8]
sub rax, rcx
mov r15, qword [rsp + 0x60]
cmp rax, rdx
jbe 0x1801726c0
sub r8, rdx
sub r8, rcx
je 0x1801726c0
add rcx, rdx
xor edx, edx
call fcn.180283390
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [r14]
test rsi, rsi
je 0x1801726dc
test rdx, rdx
je 0x180172733
test rcx, rcx
je 0x180172733
jmp 0x1801726e6
test rdx, rdx
je 0x1801726f3
test rcx, rcx
je 0x1801726f3
test rsi, rsi
je 0x1801726f3
mov r8, rsi
call fcn.180282cf0
lea rcx, [rbp - 8]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp 0x180172a70
lea r9, [0x1803e3ce0]
mov dword [rsp + 0x20], 0xbd
lea r8, str.key_schedule
lea rdx, [0x1803c6beb]
lea rcx, str.key.size_____m_buffer.size__
call fcn.1800d1f70
int3
lea r9, [0x1803e49b0]
mov dword [rsp + 0x20], 0x7b
lea r8, str.copy_mem
lea rdx, str.If_n___0_then_args_are_not_null
lea rcx, str.n___0_implies_in___nullptr__out___nullptr
call fcn.1800d1f70
int3
Function at 0x180172920
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rbp, qword [rcx + 0x98]
lea rdi, [rcx + 0x18]
mov rax, qword [rdi + 0x80]
mov r14, rdx
mov rsi, rcx
cmp rax, 0x80
je 0x180172976
mov r8d, 0x80
sub r8, rax
je 0x18017296b
lea rcx, [rax + rdi]
xor edx, edx
call fcn.180283390
mov qword [rdi + 0x80], 0x80
mov qword [rsi + 0xc8], 0xffffffffffffffff
cmp qword [rdi + 0x80], 0x80
jne 0x180172a3d
mov qword [rsp + 0x40], rbx
mov r9, rbp
xor ebx, ebx
mov rdx, rdi
mov rcx, rsi
mov qword [rdi + 0x80], rbx
lea r8d, [rbx + 1]
call fcn.180172bb0
mov r10, qword [rsi + 0x10]
mov r8, qword [rsi + 0xa0]
mov r9, qword [r14]
shr r10, 3
cmp r10, 8
jb 0x1801729f4
mov rcx, r10
shr rcx, 3
imul rax, rcx, 0xfffffffffffffff8
add r10, rax
nop dword [rax + rax]
mov rax, qword [r8]
add r8, 8
mov qword [r9], rax
add r9, 8
sub rcx, 1
jne 0x1801729e0
test r10, r10
je 0x180172a1b
nop dword [rax]
mov rdx, qword [r8]
movzx ecx, bl
and cl, 7
shl cl, 3
shr rdx, cl
mov byte [rbx + r9], dl
inc rbx
cmp rbx, r10
jne 0x180172a00
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
jmp 0x180172a70
lea r9, [0x1803e4b20]
mov dword [rsp + 0x20], 0xc9
lea r8, str.consume
lea rdx, [0x1803c6beb]
lea rcx, str.ready_to_consume__
call fcn.1800d1f70
int3
Function at 0x180175d28
Capabilities:
Hash data using sha512

Disassembly:
sub rcx, 8
jmp method.Botan::BLAKE2b.virtual_40

Function at 0x1801762c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [rcx]
mov r12, r9
mov rbp, r8
mov rsi, rdx
mov r14, rcx
call qword [rax + 0x20]
test al, al
jne 0x1801762f7
mov rcx, r14
call fcn.1800a53c0
mov rbx, qword [r14 + 0x48]
mov rcx, qword [r14 + 0x40]
mov rax, rbx
mov r15, qword [r14 + 0x58]
sub rax, rcx
sub rax, r15
cmp r12, rax
jb 0x1801764d0
mov rdx, r15
mov qword [rsp + 0x80], rdi
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
sub rbx, rcx
lea r10, [rcx + rdx]
sub rbx, rdx
mov rdi, rbx
mov r8, rbx
and edi, 0x1f
sub r8, rdi
je 0x1801763d1
mov r9, rsi
mov rdx, rbp
sub r9, r10
mov rcx, r10
sub rdx, r10
nop dword [rax + rax]
movups xmm0, xmmword [r9 + rcx]
mov rax, r15
movups xmm1, xmmword [r9 + rcx + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
nop dword [rax]
movdqu xmm0, xmmword [rsp + rax + 0x20]
movdqu xmm1, xmmword [rsp + rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x20], xmm1
add rax, 0x10
cmp rax, 0x20
jl 0x180176390
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + rcx], xmm0
movups xmmword [rdx + rcx + 0x10], xmm1
add rcx, 0x20
mov rax, rcx
sub rax, r10
cmp rax, r8
jne 0x180176360
cmp r8, rbx
je 0x180176485
cmp rdi, 8
jb 0x180176456
lea rdx, [rbp - 1]
lea rax, [rsi - 1]
add rdx, rbx
add rax, rbx
lea r9, [r8 + rbp]
lea rcx, [r8 + rsi]
cmp r9, rax
ja 0x180176400
cmp rdx, rcx
jae 0x180176456
lea rax, [rbx - 1]
add rax, r10
lea r11, [r10 + r8]
cmp r9, rax
ja 0x180176415
cmp rdx, r11
jae 0x180176456
and edi, 7
mov rdx, rbx
sub rdx, rdi
mov r9, r10
mov r11, rbp
sub r9, rsi
sub r11, rsi
nop word [rax + rax]
movq xmm1, qword [r9 + rcx]
add r8, 8
movq xmm0, qword [rcx]
lea rcx, [rcx + 8]
xorps xmm1, xmm0
movq qword [r11 + rcx - 8], xmm1
cmp r8, rdx
jne 0x180176430
cmp r8, rbx
je 0x180176485
mov r9, rbp
lea rcx, [r8 + rsi]
sub r9, rsi
sub r10, rsi
mov rdx, rbx
sub rdx, r8
nop dword [rax]
movzx eax, byte [rcx + r10]
xor al, byte [rcx]
mov byte [rcx + r9], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180176470
mov rcx, qword [r14 + 0x40]
mov rdx, qword [r14 + 0x48]
mov r9, qword [r14 + 8]
sub rdx, rcx
mov r8, qword [r14 + 0x28]
shr rdx, 6
call fcn.1801769c0
sub r12, rbx
mov qword [r14 + 0x58], r15
mov rcx, qword [r14 + 0x40]
add rsi, rbx
add rbp, rbx
mov rdx, r15
mov rbx, qword [r14 + 0x48]
mov rax, rbx
sub rax, rcx
cmp r12, rax
jae 0x180176330
mov rdi, qword [rsp + 0x80]
lea r8, [rcx + r15]
mov r9, r12
mov rcx, rbp
mov rdx, rsi
call fcn.1800f7260
add qword [r14 + 0x58], r12
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x180177b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [rcx]
mov r12, r9
mov rbp, r8
mov rsi, rdx
mov r14, rcx
call qword [rax + 0x20]
test al, al
jne 0x180177ba7
mov rcx, r14
call fcn.1800a53c0
mov rbx, qword [r14 + 0x40]
mov rcx, qword [r14 + 0x38]
mov rax, rbx
mov r15, qword [r14 + 0x50]
sub rax, rcx
sub rax, r15
cmp r12, rax
jb 0x180177d8e
mov rdx, r15
mov qword [rsp + 0x80], rdi
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
sub rbx, rcx
lea r10, [rcx + rdx]
sub rbx, rdx
mov rdi, rbx
mov r8, rbx
and edi, 0x1f
sub r8, rdi
je 0x180177c81
mov r9, rsi
mov rdx, rbp
sub r9, r10
mov rcx, r10
sub rdx, r10
nop dword [rax + rax]
movups xmm0, xmmword [r9 + rcx]
mov rax, r15
movups xmm1, xmmword [r9 + rcx + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
nop dword [rax]
movdqu xmm0, xmmword [rsp + rax + 0x20]
movdqu xmm1, xmmword [rsp + rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x20], xmm1
add rax, 0x10
cmp rax, 0x20
jl 0x180177c40
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + rcx], xmm0
movups xmmword [rdx + rcx + 0x10], xmm1
add rcx, 0x20
mov rax, rcx
sub rax, r10
cmp rax, r8
jne 0x180177c10
cmp r8, rbx
je 0x180177d35
cmp rdi, 8
jb 0x180177d06
lea rdx, [rbp - 1]
lea rax, [rsi - 1]
add rdx, rbx
add rax, rbx
lea r9, [r8 + rbp]
lea rcx, [r8 + rsi]
cmp r9, rax
ja 0x180177cb0
cmp rdx, rcx
jae 0x180177d06
lea rax, [rbx - 1]
add rax, r10
lea r11, [r10 + r8]
cmp r9, rax
ja 0x180177cc5
cmp rdx, r11
jae 0x180177d06
and edi, 7
mov rdx, rbx
sub rdx, rdi
mov r9, r10
mov r11, rbp
sub r9, rsi
sub r11, rsi
nop word [rax + rax]
movq xmm1, qword [r9 + rcx]
add r8, 8
movq xmm0, qword [rcx]
lea rcx, [rcx + 8]
xorps xmm1, xmm0
movq qword [r11 + rcx - 8], xmm1
cmp r8, rdx
jne 0x180177ce0
cmp r8, rbx
je 0x180177d35
mov r9, rbp
lea rcx, [r8 + rsi]
sub r9, rsi
sub r10, rsi
mov rdx, rbx
sub rdx, r8
nop dword [rax]
movzx eax, byte [rcx + r10]
xor al, byte [rcx]
mov byte [rcx + r9], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180177d20
mov rdx, qword [r14 + 0x20]
mov r8d, shutdown
mov rcx, qword [r14 + 0x38]
call fcn.180177640
mov rax, qword [r14 + 0x20]
mov rdx, r15
inc dword [rax + 0x20]
mov eax, r15d
mov rcx, qword [r14 + 0x20]
cmp dword [rcx + 0x20], eax
sete al
sub r12, rbx
add dword [rcx + 0x24], eax
add rsi, rbx
mov qword [r14 + 0x50], r15
add rbp, rbx
mov rbx, qword [r14 + 0x40]
mov rcx, qword [r14 + 0x38]
mov rax, rbx
sub rax, rcx
cmp r12, rax
jae 0x180177be0
mov rdi, qword [rsp + 0x80]
lea r8, [rcx + r15]
mov r9, r12
mov rcx, rbp
mov rdx, rsi
call fcn.1800f7260
add qword [r14 + 0x50], r12
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x180178710
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x18017891e
mov r11, rsp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [rcx]
mov rdi, rdx
mov rsi, rcx
cmp rdx, qword [rax]
ja 0x180178949
mov rax, qword [rcx + 8]
cmp rdx, qword [rax]
ja 0x18017891f
mov qword [r11 + 8], rbx
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x38], rdx
lea rdx, [r11 - 0x48]
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], r14
mov rax, qword [rbx + 0x50]
lea rcx, [rbx + 8]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1801f8000
add qword [rbx + 0x68], rdi
mov rbp, rdi
mov rax, qword [rsi + 0x20]
and ebp, 0x1f
mov rdx, rdi
mov r9, qword [rax]
mov rax, qword [rsi + 0x10]
mov r14, qword [rax + 0x50]
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax]
sub rdx, rbp
je 0x180178833
mov r10, r14
mov r8, rbx
sub r10, r9
mov rcx, r9
sub r8, r9
nop word [rax + rax]
movups xmm0, xmmword [r10 + rcx]
xor eax, eax
movups xmm1, xmmword [r10 + rcx + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
nop dword [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x30]
movdqu xmm1, xmmword [rsp + rax + 0x50]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x30], xmm1
add rax, 0x10
cmp rax, 0x20
jl 0x1801787f0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r8 + rcx], xmm0
movups xmmword [r8 + rcx + 0x10], xmm1
add rcx, 0x20
mov rax, rcx
sub rax, r9
cmp rax, rdx
jne 0x1801787c0
cmp rdx, rdi
je 0x1801788e4
cmp rbp, 8
jb 0x1801788b6
lea r8, [rdi - 1]
lea rax, [rdi - 1]
add r8, rbx
add rax, r14
lea r10, [rbx + rdx]
lea rcx, [r14 + rdx]
cmp r10, rax
ja 0x180178862
cmp r8, rcx
jae 0x1801788b6
lea rax, [rdi - 1]
add rax, r9
lea r11, [r9 + rdx]
cmp r10, rax
ja 0x180178877
cmp r8, r11
jae 0x1801788b6
and ebp, 7
mov r8, rdi
sub r8, rbp
mov r10, r9
mov r11, rbx
sub r10, r14
sub r11, r14
nop dword [rax]
movq xmm1, qword [r10 + rcx]
add rdx, 8
movq xmm0, qword [rcx]
lea rcx, [rcx + 8]
xorps xmm1, xmm0
movq qword [r11 + rcx - 8], xmm1
cmp rdx, r8
jne 0x180178890
cmp rdx, rdi
je 0x1801788e4
sub r9, r14
lea rcx, [r14 + rdx]
sub rbx, r14
mov r8, rdi
sub r8, rdx
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor al, byte [rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x1801788d0
mov rax, qword [rsi + 0x18]
mov r14, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
add qword [rax], rdi
mov rax, qword [rsi + 0x20]
add qword [rax], rdi
mov rax, qword [rsi + 8]
mov rsi, qword [rsp + 0x98]
sub qword [rax], rdi
add rsp, 0x70
pop rdi
ret
lea r9, [0x1803e2ca0]
mov dword [rsp + 0x20], gethostname
lea r8, [0x1803dd630]
lea rdx, [0x1803c6beb]
lea rcx, str.bytes___length
call fcn.1800d1f70
int3
lea r9, [0x1803e2ca0]
mov dword [rsp + 0x20], getservbyname
lea r8, [0x1803dd630]
lea rdx, [0x1803c6beb]
lea rcx, str.bytes___block_size
call fcn.1800d1f70
int3
Function at 0x18017a0d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r10, qword [rcx + 0x18]
mov rbx, r9
mov r11, qword [rcx + 0x10]
mov rax, r10
mov r12, qword [rcx + 0x28]
sub rax, r11
sub rax, r12
mov r15, r8
mov r14, rdx
mov r13, rcx
cmp r9, rax
jb 0x18017a317
mov qword [rsp + 0x90], rbp
mov rcx, r12
mov qword [rsp + 0x98], rsi
xor r12d, r12d
mov qword [rsp + 0xa0], rdi
nop word [rax + rax]
sub r10, r11
lea r8, [r11 + rcx]
sub r10, rcx
mov r11, r10
mov rdx, r10
and r11d, 0x1f
sub rdx, r11
je 0x18017a1d3
mov rbx, r14
mov r9, r15
sub rbx, r8
mov rcx, r8
sub r9, r8
nop dword [rax]
movups xmm0, xmmword [rbx + rcx]
mov rax, r12
movups xmm1, xmmword [rbx + rcx + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x20]
movdqu xmm1, xmmword [rsp + rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x20], xmm1
add rax, 0x10
cmp rax, 0x20
jl 0x18017a190
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [r9 + rcx], xmm0
movups xmmword [r9 + rcx + 0x10], xmm1
add rcx, 0x20
mov rax, rcx
sub rax, r8
cmp rax, rdx
jne 0x18017a160
cmp rdx, r10
je 0x18017a285
cmp r11, 8
jb 0x18017a256
lea r9, [r15 - 1]
lea rax, [r14 - 1]
add r9, r10
add rax, r10
lea rbx, [rdx + r15]
lea rcx, [rdx + r14]
cmp rbx, rax
ja 0x18017a202
cmp r9, rcx
jae 0x18017a256
lea rax, [r10 - 1]
add rax, r8
lea rdi, [r8 + rdx]
cmp rbx, rax
ja 0x18017a217
cmp r9, rdi
jae 0x18017a256
and r11d, 7
mov rax, r10
sub rax, r11
mov r9, r8
mov r11, r15
sub r9, r14
sub r11, r14
nop dword [rax]
movq xmm1, qword [r9 + rcx]
add rdx, 8
movq xmm0, qword [rcx]
lea rcx, [rcx + 8]
xorps xmm1, xmm0
movq qword [r11 + rcx - 8], xmm1
cmp rdx, rax
jne 0x18017a230
cmp rdx, r10
je 0x18017a285
mov r9, r15
lea rcx, [rdx + r14]
sub r9, r14
sub r8, r14
sub r10, rdx
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor al, byte [rcx]
mov byte [rcx + r9], al
lea rcx, [rcx + 1]
sub r10, 1
jne 0x18017a270
mov rbp, qword [r13 + 0x10]
mov rsi, qword [r13 + 0x18]
mov rax, rbp
mov rdi, qword [r13 + 8]
sub rax, rsi
add rax, qword [r13 + 0x28]
mov rcx, rdi
add qword [rsp + 0xa8], rax
mov rax, rsi
sub rax, rbp
sub rax, qword [r13 + 0x28]
mov rbx, qword [rdi]
add r14, rax
add r15, rax
call qword [rbx + 0x30]
xor edx, edx
sub rsi, rbp
mov r8, rax
mov rcx, rdi
mov rax, rsi
div r8
mov r8, rbp
mov rdx, rbp
mov r9, rax
call qword [rbx + 0x48]
mov rbx, qword [rsp + 0xa8]
mov rcx, r12
mov qword [r13 + 0x28], r12
mov r10, qword [r13 + 0x18]
mov r11, qword [r13 + 0x10]
mov rax, r10
sub rax, r11
cmp rbx, rax
jae 0x18017a130
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
lea r8, [r11 + r12]
mov r9, rbx
mov rdx, r14
mov rcx, r15
call fcn.1800f7260
add qword [r13 + 0x28], rbx
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rbx
ret