joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d4c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401ca118]
lea rdx, [0x140107a10]
mov r8d, ecx
mov rbx, qword [rax + 0x1a90]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14002d577
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14002d563
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002d568
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140034f60
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002e3b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140128240]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401ca118]
cmp byte [rbx + 0x1fb5], 0
jne 0x14002e3de
cmp byte [rbx + 0x1fb6], 0
je 0x14002e44b
movss xmm1, dword [rbx + 0x1614]
xor eax, eax
movaps xmm0, xmm1
mulss xmm1, dword [0x140112184]
mulss xmm0, dword [0x140112194]
addss xmm1, dword [rbx + 0x134]
addss xmm0, dword [rbx + 0x130]
mov qword [rbx + 0x1b50], rax
mov dword [rbx + 0x1b3c], 1
movss dword [rbx + 0x1b4c], xmm1
movss dword [rbx + 0x1b48], xmm0
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x1401120e4]
or dword [rbx + 0x1b38], 0x41
movss dword [rbx + 0x1b98], xmm0
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400226f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002e4b8
lea r11, [0x140107a10]
cmp r9b, 0x23
jne 0x14002e49b
cmp byte [r8], r9b
jne 0x14002e49b
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14002e488
not ecx
call fcn.140028350
test rax, rax
je 0x14002e501
cmp byte [rax + 0x86], 0
je 0x14002e501
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2ff8]
call fcn.1400226f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14002a9a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ce320
add rsp, 0x40
pop rbx
ret
Function at 0x14003f010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14003f1a1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14003f080
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14003e9d0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14003e020
mov dword [rbx + 0x80], 0
jmp 0x14003f18d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14003cd00
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140060c50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140060cb1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140060c70
mov ecx, dword [r9]
jmp 0x140060d98
cmp ecx, 0x4e0
jb 0x140060d98
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140060cd0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140060d20
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140065820
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x140128240]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r13, qword [rsp + 0x4c0]
lea rdi, [rsp + 0x50]
xor r15d, r15d
mov r14d, r9d
mov rax, rdx
mov r12, rcx
test rdx, rdx
je 0x1400659ec
lea rdx, [0x14010fbb0]
mov rcx, rax
call fcn.1400d8530
mov rsi, rax
test rax, rax
je 0x1400659ec
xor edx, edx
mov qword [rsp + 0x4b0], rbp
lea r8d, [r15 + 2]
mov rcx, rax
call fcn.1400d6ed8
test eax, eax
jne 0x1400659dd
mov rcx, rsi
call fcn.1400d7c0c
mov rcx, rsi
movsxd rbp, eax
call fcn.1400e12ec
lea ecx, [rbp - 1]
cmp ecx, 0x3fffff
ja 0x1400659dd
mov rbx, rbp
cmp ebp, 0x400
jle 0x1400658f7
mov rax, qword [0x1401dacb8]
mov rcx, rbx
test rax, rax
je 0x1400658e0
call rax
jmp 0x1400658e5
call fcn.1400d7390
mov rdi, rax
test rax, rax
je 0x1400659dd
mov r15d, 1
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1400d6b08
cmp rax, rbx
je 0x140065916
mov ebx, 0xfffffffc
jmp 0x140065986
cmp r14d, 5
je 0x140065961
cmp r14d, 0xf
je 0x140065961
mov eax, dword [rsp + 0x4d8]
mov r9d, 1
mov dword [rsp + 0x40], eax
mov r8d, ebp
mov eax, dword [rsp + 0x4c8]
mov rdx, rdi
mov dword [rsp + 0x38], eax
mov rcx, r12
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r14d
call fcn.140064400
jmp 0x140065984
mov eax, dword [rsp + 0x4d8]
mov r8d, ebp
mov dword [rsp + 0x30], eax
mov rdx, rdi
mov qword [rsp + 0x28], r13
mov rcx, r12
mov dword [rsp + 0x20], r14d
call fcn.1400654d0
mov ebx, eax
mov rcx, rsi
call fcn.1400d5a28
test r15d, r15d
je 0x1400659b0
test rdi, rdi
je 0x1400659b0
mov rax, qword [0x1401daca8]
mov rcx, rdi
test rax, rax
je 0x1400659ab
call rax
jmp 0x1400659b0
call fcn.1400d66e4
mov eax, ebx
mov rbp, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400ce320
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, rsi
call fcn.1400d5a28
mov eax, 0xfffffffc
jmp 0x1400659b2
mov eax, 0xfffffffc
jmp 0x1400659ba
Function at 0x14006c440
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r14d, dword [rcx + 0x590]
movzx esi, dl
xor edx, edx
movzx r12d, r8b
mov edi, 0x50
mov r9, rcx
mov r11d, edx
mov ebp, edx
mov r13d, edi
mov ebx, r14d
mov r15d, edx
mov r8d, edx
cmp sil, 0xcc
jne 0x14006c4c7
mov ecx, r12d
sub ecx, 0x15
je 0x14006c4a5
sub ecx, 0x95
je 0x14006c4a5
sub ecx, 1
je 0x14006c4a5
cmp ecx, 2
jne 0x14006c4ce
mov eax, 1
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
lea eax, [rsi + 0x40]
test al, 0xef
jne 0x14006c4a5
mov rax, qword [r9 + 0x1670]
test rax, rax
je 0x14006c4a5
nop word [rax + rax]
cmp dword [rax], 0xa
je 0x14006c4f0
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14006c4e0
jmp 0x14006c4a5
mov r10, qword [rax + 8]
test r10, r10
je 0x14006c63a
nop dword [rax]
test r8d, r8d
jne 0x14006c638
movzx eax, word [r10]
cmp eax, 0x1e
ja 0x14006c62b
mov edx, dword [r9 + 0x530]
mov ecx, eax
test edx, edx
je 0x14006c52c
bt edx, eax
jb 0x14006c62b
sub ecx, 0x15
je 0x14006c568
sub ecx, 2
je 0x14006c55c
sub ecx, 1
je 0x14006c550
cmp ecx, 1
jne 0x14006c62b
mov edx, 0xd3
mov ecx, 0x42
jmp 0x14006c572
mov edx, 0xd2
mov ecx, 0x30
jmp 0x14006c572
mov edx, 0x20e
mov ecx, 0x20
jmp 0x14006c572
mov edx, 0xd1
mov ecx, 0x1c
test r11d, r11d
jne 0x14006c58d
cmp word [r9 + 0x5b8], cx
ja 0x14006c58d
movzx eax, cx
cmp edi, eax
jbe 0x14006c58d
mov r11d, edx
mov edi, eax
test ebx, ebx
jne 0x14006c59c
cmp word [r9 + 0x5b8], cx
cmove ebx, edx
test ebp, ebp
je 0x14006c5a8
movzx eax, cx
cmp r13d, eax
jbe 0x14006c5b8
cmp word [r9 + 0x5b8], cx
ja 0x14006c5b8
mov ebp, edx
movzx r13d, cx
cmp sil, 0xc0
jne 0x14006c5f5
lea eax, [r12 - 2]
cmp eax, 0xad
ja case.0x14006c5e7.6
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x6c6b0]
mov ecx, dword [r8 + rax*4 + 0x6c6a4]
add rcx, r8
jmp rcx
xor r8d, r8d
cmp dword [r9 + 0x5bc], edx
jmp 0x14006c627
cmp sil, 0xcc
jne 0x14006c62b
mov ecx, r12d
sub ecx, 0x13
je case.0x14006c5e7.7
sub ecx, 1
je case.0x14006c5e7.7
sub ecx, 0x94
je case.0x14006c5e7.7
cmp ecx, 1
je case.0x14006c5e7.7
mov r8d, 1
jmp 0x14006c62b
xor r8d, r8d
cmp r14d, edx
lea r15d, [r8 + 1]
sete r8b
mov r10, qword [r10 + 8]
test r10, r10
jne 0x14006c500
xor edx, edx
mov ecx, r14d
test r14d, r14d
jne 0x14006c65c
movzx eax, word [r9 + 0x5b8]
cmp edi, eax
jne 0x14006c65c
lea r8d, [r14 + 1]
mov dword [r9 + 0x590], r11d
mov ecx, r11d
test ecx, ecx
jne 0x14006c69a
mov dword [r9 + 0x590], ebx
lea r8d, [rcx + 1]
mov ecx, ebx
test ebx, ebx
jne 0x14006c69a
mov ecx, edx
cmp edi, r13d
jne 0x14006c682
mov dword [r9 + 0x590], r11d
mov ecx, r11d
test ecx, ecx
jne 0x14006c69a
mov ecx, ebp
mov dword [r9 + 0x590], ebp
test ecx, ecx
jne 0x14006c69a
test r15d, r15d
cmovne r8d, edx
mov eax, r8d
jmp 0x14006c4aa
Function at 0x140070e30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
mov r10, rcx
mov r9d, eax
test r8d, r8d
jle 0x140070f02
cmp r8d, 8
jb 0x140070f02
mov qword [rsp + 0x10], rbx
lea r11, [rdx + 4]
mov qword [rsp], rdi
sub rcx, rdx
movsxd rbx, r8d
mov rdi, 0xfffffffffffffffc
and rbx, 0xfffffffffffffff8
xorps xmm4, xmm4
sub rdi, rdx
xorps xmm3, xmm3
nop word [rax + rax]
movd xmm2, dword [rcx + r11 - 4]
xorps xmm0, xmm0
movd xmm1, dword [r11 - 4]
lea r11, [r11 + 8]
punpcklbw xmm2, xmm0
lea rax, [rdi + r11]
punpcklwd xmm2, xmm0
add r9d, 8
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [r11 - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + r11 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, rbx
jl 0x140070e80
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, r9d
movsxd r9, r8d
cmp r11, r9
jge 0x140070f38
sub r10, rdx
lea rcx, [r11 + rdx]
sub r9, r11
nop word [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 0x140070f20
add rsp, 8
ret
Function at 0x14007d550
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 [0x140128240]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rcx
mov ebp, r8d
mov r8, qword [rsp + 0x150]
mov r12, rdx
xor edx, edx
mov dword [rsp + 0x44], r9d
mov r10d, r9d
mov qword [rsp + 0x48], r8
movzx eax, byte [rsi + 0x305]
mov r9d, edx
movzx r15d, byte [rsi + 0x309]
mov r14d, edx
mov ecx, edx
cmp al, 1
jne 0x14007d754
movzx r8d, word [rsi + 0x4c6]
test r8b, 2
je 0x14007d5cb
movzx r9d, word [rsi + 0x300]
mov eax, r9d
mov rcx, rbp
sub rcx, rax
mov dword [rsp + 0x40], 1
mov rdi, rbp
movzx r14d, byte [rcx + r12 - 1]
mov ecx, r14d
mov r13d, r14d
test r8b, 1
je 0x14007d6d9
sub ebp, r9d
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 0x14007d653
nop word [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 0x14007d630
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x38], 1
mov r9d, ebp
sub r9d, r15d
mov dword [rsp + 0x30], 1
sub r9d, r14d
mov dword [rsp + 0x28], eax
dec r9d
mov dword [rsp + 0x20], r14d
mov r8, r12
mov rcx, rsi
call qword [rsi + 0x110]
movzx r8d, byte [rsi + 0x309]
lea r9, [rsp + 0x90]
mov edx, ebp
mov rcx, r12
mov ebx, eax
call fcn.14007cc90
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 0x14007d74e
mov eax, 0xfffffecf
jmp 0x14007d7da
sub ebp, r15d
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov r8, r12
mov dword [rsp + 0x28], r10d
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 + 0x110]
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.140070e30
test eax, eax
jne 0x14007d6cf
test ebp, ebp
jne 0x14007d6cf
cmp r13d, dword [rsp + 0x44]
ja 0x14007d6cf
mov ecx, dword [rsp + 0x40]
jmp 0x14007d7b7
test al, al
jne 0x14007d7bc
mov dword [rsp + 0x38], 1
lea rdx, [rsp + 0x50]
mov r9d, ebp
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r10d
sub r9d, r15d
mov r8, r12
mov dword [rsp + 0x20], 0xffffffff
mov rcx, rsi
call qword [rsi + 0x110]
mov rdx, rbp
lea rcx, [rsp + 0x50]
sub rdx, r15
mov r8d, r15d
add rdx, r12
mov ebx, eax
call fcn.140070e30
test eax, eax
jne 0x14007d6cf
test ebx, ebx
jne 0x14007d6cf
mov ecx, r14d
mov r8, qword [rsp + 0x48]
cmp byte [rsi + 0x305], 2
jne 0x14007d7ce
movzx eax, word [rsi + 0x302]
jmp 0x14007d7d5
lea eax, [r15 + rcx]
add eax, r14d
mov dword [r8], eax
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400ce320
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008d500
Capabilities:
Hash data using sha1
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
xor r8d, r8d
sub edx, 3
je 0x14008d6e4
sub edx, 1
je 0x14008d6a6
sub edx, 2
je 0x14008d64f
sub edx, 1
je 0x14008d5cf
cmp edx, 1
jne 0x14008d6e9
test rcx, rcx
je 0x14008d6e9
mov qword [rcx + 0xd8], r8
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 eax, r8d
mov dword [rcx + 0xc0], r8d
mov qword [rcx + 0xc8], r8
mov qword [rcx + 0xd0], r8
mov qword [rcx + 0x220], r8
ret
test rcx, rcx
je 0x14008d6e9
mov qword [rcx + 0xd8], r8
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
jmp 0x14008d5ab
test rcx, rcx
je 0x14008d6e9
mov dword [rcx], 0x6a09e667
mov eax, r8d
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 dword [rcx + 0x68], r8d
mov qword [rcx + 0x70], r8
mov qword [rcx + 0x60], r8
mov qword [rcx + 0x220], r8
ret
test rcx, rcx
je 0x14008d6e9
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov dword [rcx + 8], r8d
mov eax, r8d
mov qword [rcx], r8
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x4c], 0x67452301
mov qword [rcx + 0x60], r8
mov qword [rcx + 0x220], r8
ret
test rcx, rcx
jne 0x14008d6b2
mov eax, 0xffffff53
mov qword [rcx + 0x220], r8
ret
Function at 0x14008e750
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140128240]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rdx
mov r14, r9
mov edx, dword [rbp + 0x100]
mov rdi, rcx
sub edx, 4
je 0x14008e898
cmp edx, 1
je 0x14008e79e
mov eax, 0xffffff18
jmp 0x14008e964
movdqa xmm0, xmmword [0x1401122c0]
xor ebx, ebx
mov rax, qword [rcx + 0xa8]
xor r8d, r8d
movdqa xmm1, xmmword [0x1401123d0]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x1c0], r12
xor edx, edx
movdqa xmmword [rbp - 0x50], xmm0
movabs r12, 0x629a292a367cd507
movdqa xmm0, xmmword [0x140112360]
mov qword [rsp + 0x1d0], r15
movabs r15, 0xcbbb9d5dc1059ed8
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp + 0x78], rax
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r12
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp + 0x60], ebx
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], rbx
call fcn.1400b1320
test eax, eax
jne 0x14008e87e
lea rcx, [rbp - 0x60]
call fcn.1400b14c0
test eax, eax
jne 0x14008e87e
movaps xmm0, xmmword [rbp - 0x60]
mov eax, ebx
movaps xmm1, xmmword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x1401122c0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x140112360]
movaps xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x1401123d0]
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r12
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp + 0x60], ebx
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], rbx
mov r15, qword [rsp + 0x1d0]
mov edx, 0x30
mov r12, qword [rsp + 0x1c0]
lea ecx, [rdx - 0x29]
jmp 0x14008e8f8
mov rax, qword [rcx + 0xa8]
lea rdx, [rsp + 0x60]
xor ebx, ebx
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x60]
mov qword [rbp], rbx
mov dword [rbp + 8], ebx
mov dword [rbp - 0x60], 0x6a09e667
mov dword [rbp - 0x5c], 0xbb67ae85
mov dword [rbp - 0x58], 0x3c6ef372
mov dword [rbp - 0x54], 0xa54ff53a
mov dword [rbp - 0x50], 0x510e527f
mov dword [rbp - 0x4c], 0x9b05688c
mov dword [rbp - 0x48], 0x1f83d9ab
mov dword [rbp - 0x44], 0x5be0cd19
call fcn.1400bc260
lea edx, [rbx + 0x20]
lea ecx, [rbx + 6]
test eax, eax
jne 0x14008e964
movzx eax, byte [rdi + 0x2f9]
cmp al, 4
je 0x14008e924
cmp al, 0xfc
jne 0x14008e91d
test byte [rdi + 0x4c6], 8
je 0x14008e91d
lea rax, str.dtls13
jmp 0x14008e92b
mov eax, 0xfffffeba
jmp 0x14008e964
lea rax, str.tls13
mov dword [rsp + 0x50], ecx
mov r9d, edx
mov dword [rsp + 0x48], edx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov r8, r14
lea rcx, str.derived
mov dword [rsp + 0x38], 7
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1400c8490
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400ce320
add rsp, 0x190
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret