joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14021a0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.1402cdb60
sub rsp, rax
mov rax, qword [0x1403b8008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, qword [rbp + 0x60]
mov r12, rdx
mov r13, qword [rbp + 0x68]
mov rdi, rcx
xor r14d, r14d
mov qword [rbp - 0x28], r9
mov esi, r8d
mov qword [rbp - 0x20], r13
movzx r10d, byte [r15]
movzx eax, byte [r15 + 1]
movzx edx, byte [r15 + 4]
movzx ecx, byte [r15 + 6]
mov ebx, dword [r13]
shl eax, 0x10
shl r10d, 0x18
or r10d, eax
shl edx, 0x18
movzx eax, byte [r15 + 2]
shl eax, 8
or r10d, eax
shl ecx, 8
movzx eax, byte [r15 + 3]
or r10d, eax
movzx eax, byte [r15 + 5]
shl eax, 0x10
or edx, eax
mov dword [rbp - 0x30], r10d
movzx eax, byte [r15 + 7]
or ecx, eax
mov byte [rbp - 0x15], r10b
or edx, ecx
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0x18], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x16], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0x13], al
mov eax, edx
shr eax, 8
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0x12], al
mov byte [rbp - 0x11], dl
test r8d, r8d
je 0x14021a26b
mov r13, qword [rbp - 0x28]
sub r12, rdi
movzx r9d, dl
movzx r8d, r10b
dec esi
test ebx, ebx
jne 0x14021a20c
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.140219a00
mov edx, dword [rbp - 0x2c]
mov r9d, edx
mov r10d, dword [rbp - 0x30]
mov eax, r10d
shr eax, 0x18
mov r8d, r10d
mov byte [rbp - 0x18], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x16], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0x13], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0x12], al
inc r14d
mov byte [rbp - 0x15], r8b
mov byte [rbp - 0x11], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x18]
xor cl, byte [rdi]
mov byte [r12 + rdi], cl
inc rdi
inc ebx
and ebx, 7
test esi, esi
jne 0x14021a1b0
mov r13, qword [rbp - 0x20]
test r14d, r14d
je 0x14021a26b
mov eax, r10d
mov byte [r15 + 3], r8b
shr eax, 0x18
mov byte [r15], al
mov eax, r10d
shr eax, 0x10
mov byte [r15 + 1], al
mov eax, edx
shr eax, 0x18
mov byte [r15 + 4], al
mov eax, edx
shr eax, 0x10
shr r10d, 8
shr edx, 8
mov byte [r15 + 6], dl
mov byte [r15 + 2], r10b
mov byte [r15 + 5], al
mov byte [r15 + 7], r9b
mov dword [r13], ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a91a0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14021cb90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.1402cdb60
sub rsp, rax
mov rax, qword [0x1403b8008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, qword [rbp + 0x60]
mov r12, rdx
mov r13, qword [rbp + 0x68]
mov rdi, rcx
xor r14d, r14d
mov qword [rbp - 0x28], r9
mov esi, r8d
mov qword [rbp - 0x20], r13
movzx r10d, byte [r15]
movzx eax, byte [r15 + 1]
movzx edx, byte [r15 + 4]
movzx ecx, byte [r15 + 6]
mov ebx, dword [r13]
shl eax, 0x10
shl r10d, 0x18
or r10d, eax
shl edx, 0x18
movzx eax, byte [r15 + 2]
shl eax, 8
or r10d, eax
shl ecx, 8
movzx eax, byte [r15 + 3]
or r10d, eax
movzx eax, byte [r15 + 5]
shl eax, 0x10
or edx, eax
mov dword [rbp - 0x30], r10d
movzx eax, byte [r15 + 7]
or ecx, eax
mov byte [rbp - 0x15], r10b
or edx, ecx
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0x18], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x16], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0x13], al
mov eax, edx
shr eax, 8
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0x12], al
mov byte [rbp - 0x11], dl
test r8d, r8d
je 0x14021cd3b
mov r13, qword [rbp - 0x28]
sub r12, rdi
movzx r9d, dl
movzx r8d, r10b
dec esi
test ebx, ebx
jne 0x14021ccdc
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.14021c4a0
mov edx, dword [rbp - 0x2c]
mov r9d, edx
mov r10d, dword [rbp - 0x30]
mov eax, r10d
shr eax, 0x18
mov r8d, r10d
mov byte [rbp - 0x18], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x16], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0x13], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0x12], al
inc r14d
mov byte [rbp - 0x15], r8b
mov byte [rbp - 0x11], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x18]
xor cl, byte [rdi]
mov byte [r12 + rdi], cl
inc rdi
inc ebx
and ebx, 7
test esi, esi
jne 0x14021cc80
mov r13, qword [rbp - 0x20]
test r14d, r14d
je 0x14021cd3b
mov eax, r10d
mov byte [r15 + 3], r8b
shr eax, 0x18
mov byte [r15], al
mov eax, r10d
shr eax, 0x10
mov byte [r15 + 1], al
mov eax, edx
shr eax, 0x18
mov byte [r15 + 4], al
mov eax, edx
shr eax, 0x10
shr r10d, 8
shr edx, 8
mov byte [r15 + 6], dl
mov byte [r15 + 2], r10b
mov byte [r15 + 5], al
mov byte [r15 + 7], r9b
mov dword [r13], ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a91a0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14021d200
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r15
mov eax, gethostbyaddr
call fcn.1402cdb60
sub rsp, rax
mov rsi, qword [rsp + 0x88]
mov r10, r9
mov rdi, r8
mov r15, rdx
mov r12, rcx
mov ebx, dword [rsi]
test ebx, ebx
jns 0x14021d245
mov dword [rsi], 0xffffffff
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov rbp, qword [rsp + 0x80]
test ebx, ebx
je 0x14021d278
test rdi, rdi
je 0x14021d278
mov eax, ebx
dec rdi
movzx ecx, byte [rax + rbp]
xor cl, byte [r12]
inc r12
mov byte [r15], cl
inc r15
inc ebx
and ebx, 0xf
jne 0x14021d256
mov r9, qword [rsp + 0x90]
cmp rdi, 0x10
jb 0x14021d349
mov qword [rsp + 0x28], r13
mov rsi, r15
mov r13, rdi
mov qword [rsp + 0x20], r14
shr r13, 4
mov r14, r12
imul rax, r13, 0xfffffffffffffff0
sub rsi, rbp
sub r14, rbp
add rdi, rax
mov rax, r13
shl rax, 4
add r15, rax
mov qword [rsp + 0x68], r15
add r12, rax
mov r15, qword [rsp + 0x78]
nop word [rax + rax]
mov r8, r15
mov rdx, rbp
mov rcx, rbp
call r9
cmp ebx, 0x10
jae 0x14021d315
mov edx, reloc.WS2_32.dll_ntohs
mov eax, ebx
sub edx, ebx
add rax, rbp
shr edx, 3
inc edx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r14 + rax]
xor rcx, qword [rax]
mov qword [rsi + rax], rcx
lea rax, [rax + 8]
sub rdx, 1
jne 0x14021d300
mov r9, qword [rsp + 0x90]
add rsi, 0x10
add r14, 0x10
xor ebx, ebx
sub r13, 1
jne 0x14021d2d0
mov r15, qword [rsp + 0x68]
mov r10, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
test rdi, rdi
je 0x14021d376
mov r8, r10
mov rdx, rbp
mov rcx, rbp
call r9
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r12]
xor al, byte [rcx + rbp]
mov byte [rcx + r15], al
sub rdi, 1
jne 0x14021d360
mov dword [rsi], ebx
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14021ed40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x20
call fcn.1402cdb60
sub rsp, rax
mov r13, qword [rcx + 0x160]
lea r14, [rcx + 0x40]
xor r12d, r12d
mov rdi, r8
mov qword [rcx + 0x30], r12
mov rsi, rdx
mov qword [rcx + 0x38], r12
mov rbx, rcx
mov qword [rcx + 0x170], r12
cmp r8, 0xc
jne 0x14021eda4
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x14021eebc
mov qword [rsp + 0x50], rbp
mov rbp, rdi
mov qword [rsp + 0x58], r15
lea r15, [rcx + 0x60]
mov qword [r14], r12
mov qword [rcx + 0x48], r12
cmp rdi, 0x10
jb 0x14021ee66
mov r12, rdi
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add rdi, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsi]
mov rdx, r15
xor byte [r14], al
mov rcx, r14
movzx eax, byte [rsi + 1]
xor byte [rbx + 0x41], al
movzx eax, byte [rsi + 2]
xor byte [rbx + 0x42], al
movzx eax, byte [rsi + 3]
xor byte [rbx + 0x43], al
movzx eax, byte [rsi + 4]
xor byte [rbx + 0x44], al
movzx eax, byte [rsi + 5]
xor byte [rbx + 0x45], al
movzx eax, byte [rsi + 6]
xor byte [rbx + 0x46], al
movzx eax, byte [rsi + 7]
xor byte [rbx + 0x47], al
movzx eax, byte [rsi + 8]
xor byte [rbx + 0x48], al
movzx eax, byte [rsi + 9]
xor byte [rbx + 0x49], al
movzx eax, byte [rsi + 0xa]
xor byte [rbx + 0x4a], al
movzx eax, byte [rsi + 0xb]
xor byte [rbx + 0x4b], al
movzx eax, byte [rsi + 0xc]
xor byte [rbx + 0x4c], al
movzx eax, byte [rsi + 0xd]
xor byte [rbx + 0x4d], al
movzx eax, byte [rsi + 0xe]
xor byte [rbx + 0x4e], al
movzx eax, byte [rsi + 0xf]
xor byte [rbx + 0x4f], al
call r13
add rsi, 0x10
sub r12, 1
jne 0x14021ede0
test rdi, rdi
je 0x14021ee8b
mov rcx, r14
sub rsi, rbx
movzx eax, byte [rsi + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x14021ee71
mov rdx, r15
mov rcx, r14
call r13
shl rbp, 3
mov rdx, r15
bswap rbp
xor qword [rbx + 0x48], rbp
mov rcx, r14
call r13
mov rax, qword [r14]
mov edi, dword [rbx + 0x4c]
mov r15, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
bswap edi
mov qword [r14], r12
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], r12
mov rcx, rbx
mov r8, qword [rbx + 0x180]
call qword [rbx + 0x178]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14021f5a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x78
call fcn.1402cdb60
sub rsp, rax
mov rax, qword [0x1403b8008]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx ebx, byte [rcx]
lea r12, [rcx + 0x10]
mov r11, qword [rsp + 0xe0]
mov rbp, r9
mov rax, qword [rcx + 0x28]
mov r15, r8
mov r10, qword [rcx + 0x30]
mov r14, rdx
mov qword [rsp + 0x50], r11
mov rdi, rcx
mov byte [rsp + 0x30], bl
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r10
test bl, 0x40
jne 0x14021f619
mov r8, r10
mov rdx, r12
call rax
mov r10, qword [rsp + 0x38]
mov r9, rbp
mov r11, qword [rsp + 0x50]
xor esi, esi
mov r8d, ebx
and r8d, 7
mov r13d, reloc.WS2_32.dll_ntohs
sub r13d, r8d
mov byte [rdi], r8b
mov ecx, esi
cmp r13d, 0xf
jae 0x14021f657
mov edx, r13d
add rdx, rdi
nop dword [rax]
movzx eax, byte [rdx]
mov byte [rdx], sil
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub r8, 1
jne 0x14021f640
movzx eax, byte [rdi + 0xf]
or rcx, rax
mov byte [rdi + 0xf], 1
cmp rcx, rbp
je 0x14021f671
mov eax, 0xffffffff
jmp 0x14021f79a
mov rbx, rbp
shr rbx, 4
test rbx, rbx
je 0x14021f6f2
mov qword [rsp + 0x28], r12
mov r9, r10
mov r8, rbx
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov rcx, r14
call r11
shl rbx, 4
add r14, rbx
add r15, rbx
sub rbp, rbx
je 0x14021f74c
shr rbx, 4
lea r8, [rdi + 0x10]
mov r9, 0xfffffffffffffff8
mov rdx, rsi
sub r9, rdi
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
add rdx, rax
movzx ecx, bl
add rdx, rcx
shr rbx, 8
mov byte [r8], dl
lea rax, [r8 + r9]
shr rdx, 8
test rax, rax
je 0x14021f6fa
test rbx, rbx
jne 0x14021f6c0
test rdx, rdx
jne 0x14021f6c0
jmp 0x14021f6fa
mov rbp, r9
test r9, r9
je 0x14021f74c
mov rbx, qword [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov r8, rbx
mov rcx, rdi
call qword [rsp + 0x40]
test rbp, rbp
je 0x14021f73a
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rcx + r14]
inc esi
xor al, byte [rsp + rcx + 0x58]
mov byte [rcx + r15], al
xor byte [rcx + rdi + 0x10], al
mov ecx, esi
cmp rcx, rbp
jb 0x14021f720
mov rsi, qword [rsp + 0x40]
mov r8, rbx
mov rdx, r12
mov rcx, r12
call rsi
jmp 0x14021f756
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
cmp r13d, 0x10
jae 0x14021f772
mov r8d, reloc.WS2_32.dll_recv
mov ecx, r13d
sub r8d, r13d
add rcx, rdi
xor edx, edx
call fcn.14029a010
mov r8, rbx
lea rdx, [rsp + 0x58]
mov rcx, rdi
call rsi
mov rax, qword [rsp + 0x58]
xor qword [r12], rax
mov rax, qword [rsp + 0x60]
xor qword [rdi + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rdi], al
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a91a0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140221660
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140221789
mov eax, 8
call fcn.1402cdb60
sub rsp, rax
mov r10, rcx
xor ecx, ecx
cmp r8, 0x40
jb 0x140221757
lea r11, [r9 - 1]
lea rax, [rdx - 1]
add r11, r8
add rax, r8
cmp r9, rax
ja 0x1402216a1
cmp r11, rdx
jae 0x140221757
lea rax, [r8 - 1]
add rax, r10
cmp r9, rax
ja 0x1402216b6
cmp r11, r10
jae 0x140221757
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, r8
and rsi, 0xffffffffffffffc0
mov qword [rsp], rdi
mov r11, r10
lea rax, [rdx + 0x10]
sub r11, rdx
mov rbx, r9
sub rbx, rdx
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [r11 + rax - 0x10]
movdqu xmm2, xmmword [r11 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r11 + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r11 + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp rcx, rsi
jb 0x1402216e0
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
cmp rcx, r8
jae 0x140221785
sub r10, rdx
lea rax, [rcx + rdx]
sub r9, rdx
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + r10]
xor cl, byte [rax]
mov byte [rax + r9], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140221770
add rsp, 8
ret

Function at 0x140221870
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov eax, 0x20
call fcn.1402cdb60
sub rsp, rax
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
cmp rdx, rdi
ja 0x1402218ae
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x1402218fa
sub rdx, rcx
lea r8, str.cryptomodesocb128.c
add rdx, 4
mov r9d, WSACleanup
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.14011c680
test rax, rax
jne 0x1402218f6
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r12
mov r12, rbx
mov qword [rsp + 0x50], r15
mov r15, rdi
shl r15, 4
sub r12, rdi
nop word [rax + rax]
mov rcx, qword [rbp + 0x58]
mov edx, 1
add rcx, r15
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.1402214b0
xor byte [rsi + 0xf], dil
add r15, 0x10
sub r12, 1
jne 0x140221920
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov qword [rbp + 0x28], rbx
shl rbx, 4
add rbx, qword [rbp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140225c90
Capabilities:
Encode data using xor

Disassembly:
mov eax, reloc.WS2_32.dll_getservbyport
call fcn.1402cdb60
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x140225cb9
lea rax, [0x1402242f0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14021d030
lea rax, [0x1402234a0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14021cd70
Function at 0x140228910
Capabilities:
Hash data using sha1

Disassembly:
push rbx
mov eax, 0x20
call fcn.1402cdb60
sub rsp, rax
mov rbx, rcx
call fcn.1401c2950
test eax, eax
jne 0x140228931
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x5c]
add rsp, 0x20
pop rbx
jmp fcn.1401c2c60

Function at 0x14022b060
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.1402cdb60
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
add rcx, 0x40
xor edx, edx
mov r8d, 0xb0
call fcn.14029a010
movabs rsi, 0x1f83d9abfb41bd6b
movabs rbp, 0x5be0cd19137e2179
mov qword [rdi + 0x30], rsi
movabs rcx, 0x6a09e667f3bcc908
mov qword [rdi + 0x38], rbp
movabs rdx, 0xbb67ae8584caa73b
mov qword [rdi], rcx
movabs r8, 0x3c6ef372fe94f82b
mov qword [rdi + 8], rdx
movabs r9, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x10], r8
movabs r10, 0x510e527fade682d1
mov qword [rdi + 0x18], r9
movabs r11, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x20], r10
mov qword [rdi + 0x28], r11
movzx eax, byte [rbx]
mov qword [rdi + 0xe8], rax
mov rax, qword [rbx]
xor rax, rcx
mov qword [rdi], rax
mov rax, qword [rbx + 8]
xor rax, rdx
mov qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
xor rax, r8
mov qword [rdi + 0x10], rax
mov rax, qword [rbx + 0x18]
xor rax, r9
mov qword [rdi + 0x18], rax
mov rax, qword [rbx + 0x20]
xor rax, r10
mov qword [rdi + 0x20], rax
mov rax, qword [rbx + 0x28]
xor rax, r11
mov qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x30]
xor rax, rsi
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x30], rax
mov rax, qword [rbx + 0x38]
mov rbx, qword [rsp + 0x30]
xor rax, rbp
mov rbp, qword [rsp + 0x38]
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
ret
Function at 0x14022cfe0
Capabilities:
Hash data using sha256

Disassembly:
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], 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
movzx eax, byte [rdx]
mov qword [rcx + 0x78], rax
mov eax, dword [rdx]
xor eax, 0x6a09e667
mov dword [rcx], eax
mov eax, dword [rdx + 4]
xor eax, 0xbb67ae85
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
xor eax, 0x3c6ef372
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
xor eax, 0xa54ff53a
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
xor eax, 0x510e527f
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
xor eax, 0x9b05688c
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
xor eax, 0x1f83d9ab
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
xor eax, 0x5be0cd19
mov dword [rcx + 0x1c], eax
ret
Function at 0x140252630
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
mov eax, reloc.WS2_32.dll_getservbyport
call fcn.1402cdb60
sub rsp, rax
mov rdi, qword [rsp + 0x88]
mov rsi, rdx
mov qword [rsp + 0x68], rbp
mov r14, r9
mov rbp, qword [rsp + 0x80]
mov rbx, rcx
mov qword [rsp + 0x30], r12
mov r10, rcx
shl rsi, 5
mov r12, rdx
mov qword [rsp + 0x28], r13
mov r13, r8
test rsi, rsi
je 0x1402526c8
mov r8, rsi
nop dword [rax]
movzx eax, byte [r10]
lea r10, [r10 + 4]
mov dword [rdi], eax
movzx ecx, byte [r10 - 3]
shl ecx, 8
or ecx, eax
mov dword [rdi], ecx
movzx edx, byte [r10 - 2]
shl edx, 0x10
or edx, ecx
mov dword [rdi], edx
movzx eax, byte [r10 - 1]
shl eax, 0x18
or eax, edx
mov dword [rdi], eax
add rdi, 4
sub r8, 1
jne 0x140252690
mov qword [rsp + 0x20], r15
mov r15, r12
shl r15, 7
cmp r13, 1
jbe 0x1402526ff
dec r13
nop dword [rax]
mov rdx, rdi
mov r8, r12
sub rdx, r15
mov rcx, rdi
call fcn.140252190
add rdi, r15
sub r13, 1
jne 0x1402526e0
mov r13, qword [rsp + 0x70]
mov rdx, r13
mov r8, r12
shl rdx, 7
mov rcx, r14
add rdx, 0xffffffffffffff80
imul rdx, r12
add rdx, qword [rsp + 0x88]
call fcn.140252190
xor edi, edi
test r13, r13
je 0x140252846
lea rbx, [r15 + r14]
mov r15, r13
mov eax, dword [rbx - 0x40]
xor edx, edx
div r13
mov r8, rdi
mov eax, edx
imul rax, r12
shl rax, 7
add rax, qword [rsp + 0x88]
test rsi, rsi
je 0x140252829
cmp rsi, 0x10
jb 0x140252802
lea rcx, [rsi - 1]
lea rcx, [rax + rcx*4]
lea rdx, [rbp - 4]
lea rdx, [rdx + rsi*4]
cmp rbp, rcx
ja 0x140252781
cmp rdx, rax
jae 0x140252802
lea rcx, [r14 - 4]
lea rcx, [rcx + rsi*4]
cmp rbp, rcx
ja 0x140252793
cmp rdx, r14
jae 0x140252802
mov rcx, r14
lea rdx, [rbp + 0x10]
sub rcx, rbp
nop dword [rax]
movdqu xmm0, xmmword [rax]
add r8, 0x10
lea rax, [rax + 0x40]
movdqu xmm1, xmmword [rcx + rdx - 0x10]
lea rdx, [rdx + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmmword [rdx - 0x50], xmm1
movdqu xmm1, xmmword [rdx + rcx - 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmmword [rdx - 0x40], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmmword [rdx - 0x30], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
cmp r8, rsi
jb 0x1402527a0
jmp 0x140252829
mov r9, r14
mov rdx, rbp
sub r9, rbp
nop dword [rax + rax]
mov ecx, dword [r9 + rdx]
lea rdx, [rdx + 4]
xor ecx, dword [rax]
lea rax, [rax + 4]
inc r8
mov dword [rdx - 4], ecx
cmp r8, rsi
jb 0x140252810
mov r8, r12
mov rdx, rbp
mov rcx, r14
call fcn.140252190
sub r15, 1
jne 0x140252733
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
test rsi, rsi
je 0x140252888
nop
mov ecx, dword [r14 + rdi*4]
mov eax, ecx
mov byte [rbx], cl
lea rbx, [rbx + 4]
shr eax, 8
inc rdi
mov byte [rbx - 3], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [rbx - 2], al
mov byte [rbx - 1], cl
cmp rdi, rsi
jb 0x140252860
add rsp, 0x38
pop r14
pop rdi
pop rsi
pop rbx
ret