joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d2ee0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402a7100]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400d2f14
xor eax, eax
jmp 0x1400d310b
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400d2f45
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400d4290
jmp 0x1400d310b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400d5310
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400d2ff4
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140004a00
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400d5530
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.1400046b0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1400d5490
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400d30fb
mov rcx, qword [rsp + 0x80]
call fcn.1400d4be0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400d30a9
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.14012f618
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400d30a4
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400d310b
jmp 0x1400d3020
cmp qword [rsp + 0x50], 0
jbe 0x1400d30fb
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.14012f618
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401209e0
add rsp, 0x78
ret
Function at 0x1400dcf20
Capabilities:
Hash data using sha1
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x1400dd1c4
mov eax, 0xffe9
mov dword [rcx + 0x41d], 0
and word [rcx + 0x416], ax
mov eax, 0xfffc
and word [rcx + 0x414], ax
xor eax, eax
mov word [rcx + 0x422], 0
mov byte [rcx + 0x40c], 0
mov dword [rcx + 0x2dc], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400dd193
add rcx, 0x1d0
je 0x1400dd1c4
mov rax, qword [rdi + 0x48]
xor edx, edx
mov qword [rcx + 0x60], rax
mov qword [rcx], rdx
mov dword [rcx + 8], edx
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov rcx, qword [rdi + 0x18]
add rcx, 0x168
je 0x1400dd1c4
mov rax, qword [rdi + 0x48]
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov qword [rcx], rdx
mov dword [rcx + 8], edx
mov rcx, qword [rdi + 0x18]
add rcx, 0x238
je 0x1400dd1c4
mov rax, qword [rdi + 0x48]
xorps xmm0, xmm0
mov qword [rcx + 0x70], rax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], rdx
mov dword [rcx + 0x68], edx
mov rcx, qword [rdi + 0x18]
add rcx, 0x2b0
je 0x1400dd1c4
mov rax, qword [rdi + 0x48]
mov qword [rcx + 0xd8], rax
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], edx
mov qword [rcx + 0xc8], rdx
mov qword [rcx + 0xd0], rdx
mov rcx, qword [rdi + 0x18]
add rcx, 0x390
je 0x1400dd1c4
mov rax, qword [rdi + 0x48]
mov qword [rcx + 0xd8], rax
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], edx
mov qword [rcx + 0xc8], rdx
mov qword [rcx + 0xd0], rdx
lea rcx, [rdi + 0x4e0]
mov qword [rsp + 0x30], rbx
call fcn.1400e1080
mov r8, qword [rdi + 0x48]
lea rcx, [rdi + 0x4e0]
call fcn.1400e0f30
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400df5e0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x40
mov rax, qword [0x1402a7100]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov rsi, r8
mov word [rsp + 0x20], r9w
mov rbx, rcx
mov qword [rsp + 0x28], r9
movzx r10d, r9w
test rcx, rcx
je 0x1400df62a
movzx eax, byte [rcx + 0x2e0]
cmp al, 3
jne 0x1400df644
cmp byte [rcx + 0x2e1], 1
jae 0x1400df648
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401209e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret
cmp al, 0xfe
jne 0x1400df62a
mov qword [rsp + 0x58], rdi
movzx ecx, r9w
mov rdi, qword [rbx + 8]
movzx r8d, word [rdi]
cmp r9w, r8w
jae 0x1400df68d
nop
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x1400df7b9
cmp dl, 0xc0
je 0x1400df7aa
cmp dl, 0xcc
je 0x1400df7aa
add cx, 2
cmp cx, r8w
jb 0x1400df660
movzx r11d, byte [rsp + 0x29]
movzx ecx, r9w
bts r11d, 2
mov byte [rsp + 0x29], r11b
cmp r9w, r8w
jae 0x1400df6d1
nop word [rax + rax]
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x1400df6e1
cmp dl, 0xc0
je 0x1400df6e1
cmp dl, 0xcc
je 0x1400df6e1
add cx, 2
cmp cx, r8w
jb 0x1400df6b0
movzx eax, r11b
bts eax, 3
movzx r11d, al
mov byte [rsp + 0x29], al
cmp word [rdi + 2], r9w
mov rdi, qword [rsp + 0x58]
jne 0x1400df6f9
movzx eax, r11b
bts eax, 5
mov byte [rsp + 0x29], al
mov rcx, qword [rbx + 0x1aa0]
test rcx, rcx
je 0x1400df728
lea r9, [rsp + 0x20]
mov r8b, 1
lea rdx, [rsp + 0x28]
call fcn.1400deee0
mov r9d, eax
test eax, eax
jne 0x1400df62c
movzx r10d, word [rsp + 0x20]
mov rax, qword [rbx]
test rax, rax
je 0x1400df75f
mov rcx, qword [rax + 0x180]
test rcx, rcx
je 0x1400df75f
lea r9, [rsp + 0x20]
mov r8b, 1
lea rdx, [rsp + 0x28]
call fcn.1400deee0
mov r9d, eax
test eax, eax
jne 0x1400df62c
movzx r10d, word [rsp + 0x20]
mov eax, 0x200
test word [rbx + 0x418], ax
je 0x1400df793
movzx eax, word [rbx + 0x2e0]
cmp al, 3
jne 0x1400df78e
shr ax, 8
cmp al, 4
jb 0x1400df78e
mov eax, 0x400
test word [rbx + 0x414], ax
je 0x1400df793
add r10w, 4
test r10w, r10w
je 0x1400df79e
add r10w, 2
add word [rsi], r10w
mov eax, r9d
jmp 0x1400df62c
movzx r11d, byte [rsp + 0x29]
movzx ecx, r9w
jmp 0x1400df6b0
movzx r11d, byte [rsp + 0x29]
mov ecx, r9d
jmp 0x1400df6b0
Function at 0x1400df7d0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x1402a7100]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r10d, r10d
mov rbp, r9
mov qword [rsp + 0x38], r10
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400df811
movzx eax, byte [rcx + 0x2e0]
cmp al, 3
jne 0x1400df828
cmp byte [rcx + 0x2e1], 1
jae 0x1400df82c
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401209e0
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
cmp al, 0xfe
jne 0x1400df811
test rsi, rsi
je 0x1400df811
mov qword [rsp + 0x80], rdi
mov r9d, 2
mov rdi, qword [rbx + 8]
movzx ecx, r10w
mov word [rsp + 0x30], r9w
movzx r8d, word [rdi]
cmp r10w, r8w
jae 0x1400df88d
nop word [rax + rax]
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x1400df9f6
cmp dl, 0xc0
je 0x1400df9e7
cmp dl, 0xcc
je 0x1400df9e7
add cx, r9w
cmp cx, r8w
jb 0x1400df860
movzx r11d, byte [rsp + 0x39]
movzx ecx, r10w
bts r11d, 2
mov byte [rsp + 0x39], r11b
cmp r10w, r8w
jae 0x1400df8d1
nop word [rax + rax]
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x1400df8e1
cmp dl, 0xc0
je 0x1400df8e1
cmp dl, 0xcc
je 0x1400df8e1
add cx, r9w
cmp cx, r8w
jb 0x1400df8b0
movzx eax, r11b
bts eax, 3
movzx r11d, al
mov byte [rsp + 0x39], al
cmp word [rdi + 2], r10w
mov rdi, qword [rsp + 0x80]
jne 0x1400df8fc
movzx eax, r11b
bts eax, 5
mov byte [rsp + 0x39], al
mov rcx, qword [rbx + 0x1aa0]
test rcx, rcx
je 0x1400df934
lea rax, [rsp + 0x30]
mov r9b, 1
lea rdx, [rsi + 2]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
call fcn.1400df0e0
mov r10d, eax
test eax, eax
jne 0x1400df813
movzx r9d, word [rsp + 0x30]
mov rax, qword [rbx]
test rax, rax
je 0x1400df977
mov rcx, qword [rax + 0x180]
test rcx, rcx
je 0x1400df977
movzx edx, r9w
lea rax, [rsp + 0x30]
add rdx, rsi
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [rsp + 0x38]
call fcn.1400df0e0
mov r10d, eax
test eax, eax
jne 0x1400df813
movzx r9d, word [rsp + 0x30]
mov eax, 0x200
test word [rbx + 0x418], ax
je 0x1400df9c3
movzx eax, word [rbx + 0x2e0]
cmp al, 3
jne 0x1400df9a6
shr ax, 8
cmp al, 4
jb 0x1400df9a6
mov eax, 0x400
test word [rbx + 0x414], ax
je 0x1400df9c3
movzx eax, r9w
add r9w, 2
movzx ecx, r9w
mov word [rax + rsi], 0x1700
mov word [rcx + rsi], 0
lea r9d, [rcx + 2]
cmp r9w, 2
jbe 0x1400df9da
lea ecx, [r9 - 2]
movzx eax, cx
mov byte [rsi + 1], cl
shr ax, 8
mov byte [rsi], al
add word [rbp], r9w
mov eax, r10d
jmp 0x1400df813
movzx r11d, byte [rsp + 0x39]
movzx ecx, r10w
jmp 0x1400df8b0
movzx r11d, byte [rsp + 0x39]
mov ecx, r10d
jmp 0x1400df8b0
Function at 0x1400dff20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
mov r10, rcx
mov ecx, eax
test r8d, r8d
jle 0x1400dffef
cmp r8d, 8
jb 0x1400dffef
mov qword [rsp + 0x10], rbx
mov r11, r10
movsxd r9, r8d
sub r11, rdx
and r9, 0xfffffffffffffff8
mov qword [rsp], rdi
mov rbx, 0xfffffffffffffffc
lea rdi, [rdx + 4]
sub rbx, rdx
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [r11 + rdi - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdi - 4]
lea rdi, [rdi + 8]
punpcklbw xmm2, xmm0
lea rax, [rbx + rdi]
punpcklwd xmm2, xmm0
add ecx, 8
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdi - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [r11 + rdi - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, r9
jl 0x1400dff70
mov rdi, qword [rsp]
orps xmm3, xmm4
mov rbx, qword [rsp + 0x10]
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
movsxd r11, ecx
movsxd r9, r8d
cmp r11, r9
jge 0x1400e0028
sub r10, rdx
lea rcx, [r11 + rdx]
sub r9, r11
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rcx + r10]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
xor r8d, edx
or eax, r8d
sub r9, 1
jne 0x1400e0010
add rsp, 8
ret
Function at 0x1400e32f0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1402a7100]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor eax, eax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400e356a
mov qword [rsp + 0x130], r15
mov r15d, 0x2000
test word [rcx + 0x414], r15w
je 0x1400e33f4
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], 0x30
lea rdx, [rsp + 0x68]
call fcn.1400dd510
test eax, eax
jne 0x1400e33f4
mov r8d, 4
lea rdx, str.CLNT
mov rcx, rsi
call fcn.1401331a0
test eax, eax
lea rcx, str.server_finished
lea r9, str.client_finished
cmovne r9, rcx
cmp byte [rbx + 0x2e0], 3
jne 0x1400e33a0
cmp byte [rbx + 0x2e1], 3
jb 0x1400e33a0
mov edx, 1
jmp 0x1400e33a2
xor edx, edx
mov rax, qword [rbx + 0x48]
movzx ecx, byte [rbx + 0x2ee]
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
add r8, 0x7d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], ecx
mov rcx, rdi
mov dword [rsp + 0x40], edx
mov edx, recv
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], recv
mov qword [rsp + 0x20], r9
mov r9d, 0x30
call fcn.1401025a0
test word [rbx + 0x414], r15w
mov r15, qword [rsp + 0x130]
jne 0x1400e356f
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.1400e2da0
test eax, eax
jne 0x1400e356f
mov rax, qword [rbx + 0x18]
add rax, 0x168
je 0x1400e356a
movups xmm0, xmmword [rax]
mov r8d, 4
lea rcx, [rbp - 0x60]
mov rdx, rsi
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x10], xmm1
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp], xmm0
call fcn.14010d710
test eax, eax
jne 0x1400e356f
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x60]
add rdx, 0x7d
mov r8d, 0x30
call fcn.14010d710
test eax, eax
jne 0x1400e356f
mov r8d, 0x28
lea rdx, str.666666666666666666666666666666666666666666666666___
lea rcx, [rbp - 0x60]
call fcn.14010d710
test eax, eax
jne 0x1400e356f
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14010dbb0
test eax, eax
jne 0x1400e356f
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x60]
mov rax, qword [rbx + 0x48]
add rdx, 0x7d
mov r8d, 0x30
mov qword [rbp], rax
mov dword [rbp - 0x14], 0x67452301
mov dword [rbp - 0x10], 0xefcdab89
mov dword [rbp - 0xc], 0x98badcfe
mov dword [rbp - 8], 0x10325476
mov dword [rbp - 4], 0xc3d2e1f0
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 0
call fcn.14010d710
test eax, eax
jne 0x1400e356f
mov r8d, 0x28
lea rdx, str.CLNTDOGNGRD
lea rcx, [rbp - 0x60]
call fcn.14010d710
test eax, eax
jne 0x1400e356f
mov r8d, 0x14
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14010d710
test eax, eax
jne 0x1400e356f
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14010dbb0
jmp 0x1400e356f
mov eax, 0xffffff53
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1401209e0
add rsp, 0x138
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e6ca0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov rax, qword [0x1402a7100]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rcx
mov dword [rsp + 0x44], r9d
mov r12, rdx
mov ebp, r8d
xor edx, edx
mov r10d, r9d
mov r9, qword [rsp + 0x150]
mov r8d, edx
movzx eax, byte [rsi + 0x2ed]
mov r14d, edx
movzx r15d, byte [rsi + 0x2f1]
mov ecx, edx
mov qword [rsp + 0x48], r9
cmp al, 1
jne 0x1400e6e94
movzx r9d, word [rsi + 0x414]
bt r9w, 0xe
jae 0x1400e6d1d
movzx r8d, word [rsi + 0x2e8]
mov eax, r8d
mov rcx, rbp
sub rcx, rax
mov dword [rsp + 0x40], 1
bt r9w, 0xd
mov rdi, rbp
movzx r14d, byte [rcx + r12 - 1]
mov ecx, r14d
mov r13d, r14d
jae 0x1400e6e21
sub ebp, r8d
mov eax, 0xff
movsxd r8, ebp
dec r8
add r8, r12
lea ecx, [rbp - 1]
movzx r10d, byte [r8]
mov edi, r10d
sub edi, ebp
add edi, r15d
shr edi, 0x1f
dec dil
cmp ecx, eax
cmovg ecx, eax
movsxd r9, ecx
test ecx, ecx
jle 0x1400e6da3
nop dword [rax + rax]
mov ecx, r10d
lea r8, [r8 - 1]
sub ecx, edx
movzx eax, r10b
xor al, byte [r8 + 1]
inc edx
shr ecx, 0x1f
dec cl
and cl, al
or dil, cl
sub r9, 1
jne 0x1400e6d80
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x90]
mov r9d, ebp
mov dword [rsp + 0x30], 1
sub r9d, r15d
mov dword [rsp + 0x28], eax
sub r9d, r14d
mov dword [rsp + 0x20], r14d
dec r9d
mov r8, r12
mov rcx, rsi
call qword [rsi + 0x98]
movzx r8d, byte [rsi + 0x2f1]
lea r9, [rsp + 0x90]
mov edx, ebp
mov rcx, r12
mov ebx, eax
call fcn.1400e6760
or al, dil
not al
movzx ecx, al
shr cl, 4
and al, cl
movzx ecx, al
mov edx, ecx
shr edx, 2
and edx, ecx
mov eax, edx
shr eax, 1
and eax, edx
dec eax
add eax, ebx
je 0x1400e6e8e
mov eax, 0xfffffecf
jmp 0x1400e6f12
sub ebp, r15d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r10d
mov r8, r12
lea eax, [rbp - 1]
cmp r14d, eax
mov dword [rsp + 0x44], eax
cmova r14d, edx
cmp r13d, eax
cmovbe edx, ecx
mov rcx, rsi
sub ebp, edx
mov ebx, edx
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x20], ebx
lea r9d, [rbp - 1]
call qword [rsi + 0x98]
sub rdi, rbx
lea rdx, [r12 - 1]
sub rdi, r15
lea rcx, [rsp + 0x50]
add rdx, rdi
mov r8d, r15d
mov ebp, eax
call fcn.1400dff20
test eax, eax
jne 0x1400e6e17
test ebp, ebp
jne 0x1400e6e17
cmp r13d, dword [rsp + 0x44]
ja 0x1400e6e17
mov ecx, dword [rsp + 0x40]
jmp 0x1400e6eef
test al, al
jne 0x1400e6ef4
mov r9d, ebp
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r10d
lea rdx, [rsp + 0x50]
sub r9d, r15d
mov dword [rsp + 0x20], 0xffffffff
mov r8, r12
mov rcx, rsi
call qword [rsi + 0x98]
mov rdx, rbp
lea rcx, [rsp + 0x50]
sub rdx, r15
mov r8d, r15d
add rdx, r12
mov ebx, eax
call fcn.1400dff20
test eax, eax
jne 0x1400e6e17
test ebx, ebx
jne 0x1400e6e17
mov ecx, r14d
mov r9, qword [rsp + 0x48]
cmp byte [rsi + 0x2ed], 2
jne 0x1400e6f06
movzx eax, word [rsi + 0x2ea]
jmp 0x1400e6f0d
lea eax, [r15 + rcx]
add eax, r14d
mov dword [r9], eax
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401209e0
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140101010
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, r8d
mov r9, rdx
or al, cl
mov r10, rcx
or al, dl
test al, 7
jne 0x1401010f3
shr r8d, 3
xor eax, eax
test r8d, r8d
je 0x140101201
cmp r8d, 8
jb 0x1401010ce
lea ecx, [r8 - 1]
lea r11, [r10 + rcx*8]
lea rcx, [rdx + rcx*8]
cmp r10, rcx
ja 0x140101056
cmp r11, rdx
jae 0x1401010ce
mov r11d, r8d
and r11d, 0xfffffff8
mov ebx, 4
movdqu xmm0, xmmword [r10 + rax*8]
lea ecx, [rbx - 2]
movdqu xmm1, xmmword [rdx + rax*8]
xorps xmm1, xmm0
movdqu xmmword [r10 + rax*8], xmm1
add eax, 8
movdqu xmm0, xmmword [r10 + rcx*8]
movdqu xmm1, xmmword [rdx + rcx*8]
xorps xmm1, xmm0
movdqu xmmword [r10 + rcx*8], xmm1
mov ecx, ebx
movdqu xmm0, xmmword [r10 + rcx*8]
movdqu xmm1, xmmword [rdx + rcx*8]
xorps xmm1, xmm0
movdqu xmmword [r10 + rcx*8], xmm1
lea ecx, [rbx + 2]
add ebx, 8
movdqu xmm0, xmmword [r10 + rcx*8]
movdqu xmm1, xmmword [rdx + rcx*8]
xorps xmm1, xmm0
movdqu xmmword [r10 + rcx*8], xmm1
cmp eax, r11d
jb 0x140101062
cmp eax, r8d
jae 0x140101201
sub r9, r10
lea rdx, [r10 + rax*8]
sub r8d, eax
mov ecx, r8d
nop dword [rax + rax]
mov rax, qword [r9 + rdx]
xor qword [rdx], rax
lea rdx, [rdx + 8]
sub rcx, 1
jne 0x1401010e0
pop rbx
ret
xor eax, eax
test r8d, r8d
je 0x140101201
cmp r8d, 8
jb 0x1401011e1
lea ecx, [r8 - 1]
lea r11, [rcx + r10]
add rcx, rdx
cmp r10, rcx
ja 0x140101121
cmp r11, r9
jae 0x1401011e1
cmp r8d, 0x40
jb 0x1401011af
mov qword [rsp + 0x10], rdi
mov r11d, r8d
and r11d, 0x3f
mov edi, r8d
sub edi, r11d
mov ebx, 0x20
movdqu xmm0, xmmword [rax + r10]
lea ecx, [rbx - 0x10]
movdqu xmm1, xmmword [rdx + rax]
xorps xmm1, xmm0
movdqu xmmword [rax + r10], xmm1
add eax, 0x40
movdqu xmm0, xmmword [rcx + r10]
movdqu xmm1, xmmword [rdx + rcx]
xorps xmm1, xmm0
movdqu xmmword [rcx + r10], xmm1
mov ecx, ebx
movdqu xmm0, xmmword [rcx + r10]
movdqu xmm1, xmmword [rdx + rcx]
xorps xmm1, xmm0
movdqu xmmword [rcx + r10], xmm1
lea ecx, [rbx + 0x10]
add ebx, 0x40
movdqu xmm0, xmmword [rcx + r10]
movdqu xmm1, xmmword [rdx + rcx]
xorps xmm1, xmm0
movdqu xmmword [rcx + r10], xmm1
cmp eax, edi
jb 0x140101142
mov rdi, qword [rsp + 0x10]
cmp r11d, 8
jb 0x1401011dc
mov edx, r8d
and edx, 0xfffffff8
nop word [rax + rax]
movq xmm0, qword [rax + r10]
movq xmm1, qword [r9 + rax]
xorps xmm1, xmm0
movq qword [rax + r10], xmm1
add eax, 8
cmp eax, edx
jb 0x1401011c0
cmp eax, r8d
jae 0x140101201
mov edx, eax
sub r9, r10
add rdx, r10
sub r8d, eax
mov ecx, r8d
nop
movzx eax, byte [r9 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub rcx, 1
jne 0x1401011f0
pop rbx
ret
Function at 0x140101330
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov edi, r8d
movsxd r9, ecx
mov rsi, rdx
mov ecx, r9d
mov r10d, 0xffffff18
call fcn.140101210
cmp dword [rsp + 0x50], eax
jae 0x140101374
mov eax, 0xffffff7c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9d, 0xf
ja case.0x140101390.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + r9*4 + 0x101468]
add rcx, rdx
jmp rcx
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140101a40
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140101b60
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140101c00
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140101dc0
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140101cc0
mov r8, rbx
mov edx, edi
mov rcx, rsi
call fcn.140101a40
mov r10d, eax
test eax, eax
jne case.0x140101390.5
lea r8, [rbx + 0x10]
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140101b60
mov r10d, 0xffffff53
mov rbx, qword [rsp + 0x30]
mov eax, r10d
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret