joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e59d0
Capabilities:
Read http header

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x10
lea rbp, [rsp + 0x10]
mov esi, edx
mov rdi, rcx
mov eax, dword [0x14018b990]
mov ecx, dword [0x14018b98c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete byte [rbp - 1]
cmp ecx, 0xa
setl byte [rbp - 2]
mov eax, 0x964c130f
mov r14d, 0xe5760e63
mov r12, qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov r15d, 0xf3452cba
cmp eax, 0xf3452cb9
jg 0x1400e5a9d
cmp eax, 0x964c130f
je 0x1400e5af3
cmp eax, 0xe5760e63
jne 0x1400e5a20
mov eax, 0x10
call fcn.140128210
sub rsp, rax
mov rbx, rsp
mov dword [rbx], 0
sub rsp, 0x30
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov edx, esi
xor r8d, r8d
xor r9d, r9d
call r12
add rsp, 0x30
mov eax, dword [rbx]
mov dword [rbp - 8], eax
mov eax, dword [0x14018b990]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x680b17c9
cmove eax, r15d
cmp dword [0x14018b98c], 0xa
cmovl eax, r15d
jmp 0x1400e5a20
cmp eax, 0xf3452cba
je 0x1400e5b0e
cmp eax, 0x680b17c9
jne 0x1400e5a20
mov eax, 0x10
call fcn.140128210
sub rsp, rax
mov rax, rsp
mov dword [rax], 0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov edx, esi
xor r8d, r8d
xor r9d, r9d
call r12
add rsp, 0x30
mov eax, 0xe5760e63
jmp 0x1400e5a20
mov cl, byte [rbp - 1]
cmp byte [rbp - 2], 0
mov eax, 0x680b17c9
cmovne eax, r14d
test cl, cl
cmovne eax, r14d
jmp 0x1400e5a20
mov eax, dword [rbp - 8]
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x1400f930a
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
test r9d, r9d
setne bpl
mov r14, qword [rsp + 0xb0]
mov eax, dword [0x14018b9e8]
mov ecx, dword [0x14018b9e4]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete byte [rsp + 0x3e]
cmp ecx, 0xa
setl byte [rsp + 0x3f]
shl ebp, 2
mov eax, 0xa552753f
mov r15d, 0x600c0ff7
mov r12, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r13d, 0x9f9c41e7
cmp eax, 0x8d3c262
jg 0x1400f8a16
cmp eax, 0x9f9c41e7
je 0x1400f8a99
cmp eax, 0xa552753f
jne 0x1400f89e3
mov cl, byte [rsp + 0x3e]
cmp byte [rsp + 0x3f], 0
mov eax, 0x8d3c263
cmovne eax, r15d
test cl, cl
cmovne eax, r15d
jmp 0x1400f89e3
cmp eax, 0x8d3c263
je 0x1400f8a70
cmp eax, 0x600c0ff7
jne 0x1400f89e3
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rsi
xor edx, edx
xor r8d, r8d
mov r9, rdi
call r12
mov qword [rsp + 0x40], rax
mov eax, dword [0x14018b9e8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x8d3c263
cmove eax, r13d
cmp dword [0x14018b9e4], 0xa
cmovl eax, r13d
jmp 0x1400f89e3
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rsi
xor edx, edx
xor r8d, r8d
mov r9, rdi
call r12
mov eax, 0x600c0ff7
jmp 0x1400f89e3
mov rax, qword [rsp + 0x40]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1400f897c
Function at 0x1400f9910
Capabilities:
Terminate thread

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1008
call fcn.140128210
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf80], 0xfffffffffffffffe
mov r14, rcx
lea rdx, [0x1401499f6]
lea rsi, [rbp - 0x58]
mov rcx, rsi
call fcn.14004788a
mov rcx, rsi
call fcn.1400496a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.140003d86
lea rcx, [rbp - 0x58]
call fcn.140003dce
test rsi, rsi
je 0x1400f9a97
lea rdx, [0x14014e796]
lea rdi, [rbp - 0x58]
mov rcx, rdi
call fcn.14004788a
mov rcx, rdi
call fcn.1400496a0
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.140003d86
lea rcx, [rbp - 0x58]
call fcn.140003dce
test rsi, rsi
je 0x1400f9a97
lea rax, [rbp + 0xf78]
mov dword [rax], 0
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x20], rax
xor ebx, ebx
xor edx, edx
xor r8d, r8d
mov r9d, 1
call fcn.1400f930a
mov rdi, rax
test rax, rax
sete al
cmp rdi, 0xffffffffffffffff
sete cl
xor cl, al
jne 0x1400f9a99
lea rax, [rbp + 0xf7c]
mov dword [rax], 0
xorps xmm0, xmm0
lea r8, [rbp + 0xf40]
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
movaps xmmword [r8], xmm0
mov qword [rsp + 0x20], rax
mov rcx, rdi
xor edx, edx
mov r9d, 0x30
call rsi
test eax, eax
js 0x1400f9aac
mov esi, 0x2000
add rsi, qword [rbp + 0xf48]
lea r15, [rbp - 0x58]
mov r8d, 0xf98
mov rcx, r15
xor edx, edx
call fcn.14012bb80
mov rax, qword [r14]
mov rcx, qword [rax + 0x28]
mov r9d, 0xf98
mov rdx, rsi
mov r8, r15
call fcn.1400f97d6
mov ebx, eax
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
cmovne ebx, dword [r15 + 0x30]
jmp 0x1400f9a99
xor ebx, ebx
mov rax, rbx
add rsp, 0x1008
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor ebx, ebx
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400f9a99
Function at 0x14011ada4
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, rcx
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
mov edx, 0x28
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
mov rcx, rax
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor esi, esi
mov rcx, rdi
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov rcx, r14
mov edx, 0x40000003
xor r8d, r8d
mov r9d, 0xff
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14011d420
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, r8d
mov dword [rsp + 0x20], 0xf0000000
mov rsi, rdx
xor r8d, r8d
xor edx, edx
mov r9d, 1
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14011d45c
mov eax, 0xffffff99
jmp 0x14011d482
mov rcx, qword [rbx]
mov r8, rsi
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x14011d475
mov eax, 0xffffff98
jmp 0x14011d482
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14011d620
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov ebx, 0x80
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8d, [rbx - 0x50]
test ecx, ecx
je 0x14011d6e4
lea r9, [0x14014ece0]
mov dword [rsp + 0x20], 0x20
lea rdx, str.c63w
lea ecx, [rbx - 0x7f]
call fcn.14011d5d0
mov edx, eax
test eax, eax
jne 0x14011d81f
xorps xmm3, xmm3
lea rdi, [0x140000000]
xor eax, eax
movd xmm2, dword [rax + rdi + 0x14ed00]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0x60]
add rax, 4
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp rax, rbx
jl 0x14011d686
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x14011d81f
jmp 0x14011d768
and dword [rsp + 0x20], 0
lea rdx, [0x14014ed80]
xor r9d, r9d
xor ecx, ecx
call fcn.14011d5d0
mov edx, eax
test eax, eax
jne 0x14011d81f
xorps xmm6, xmm6
lea rdi, [0x140000000]
xorps xmm3, xmm3
xor eax, eax
movd xmm2, dword [rax + rdi + 0x14edb0]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0x60]
add rax, 4
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp rax, rbx
jl 0x14011d713
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x14011d770
or edx, 0xffffffff
jmp 0x14011d81f
mov dword [rsp + 0x50], 0xfffffffe
lea rax, [rsp + 0x60]
and qword [rsp + 0x48], 0
lea r9, [0x14014ed80]
mov dword [rsp + 0x40], ebx
lea rdx, [0x14014eda0]
mov qword [rsp + 0x38], rax
mov r8d, 0x10
and dword [rsp + 0x30], 0
xor ecx, ecx
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x20
call fcn.14011d838
mov edx, eax
test eax, eax
jne 0x14011d81f
xor eax, eax
movd xmm2, dword [rax + rdi + 0x14edb0]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0x60]
add rax, 4
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm6, xmm2
cmp rax, rbx
jl 0x14011d7c2
movdqa xmm0, xmm6
mov eax, edx
psrldq xmm0, 8
or edx, 0xffffffff
por xmm6, xmm0
movdqa xmm0, xmm6
psrldq xmm0, 4
por xmm6, xmm0
movd ecx, xmm6
test ecx, ecx
cmovne eax, edx
mov edx, eax
lea r11, [rsp + 0xf0]
mov eax, edx
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
Function at 0x14011d95c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
xor r10d, r10d
lea r11d, [rdx - 4]
xor r8d, r8d
mov eax, r11d
mov esi, edx
mov rbp, rcx
lea r14d, [r10 + 4]
cmp r11d, r14d
cmova eax, r14d
test r11d, r11d
je 0x14011d9d8
xor r9d, r9d
test eax, eax
jle 0x14011d9be
mov edx, r8d
add rdx, rbp
mov edi, eax
mov ebx, eax
movzx ecx, byte [rdi + rdx]
movzx eax, byte [rdx]
inc rdx
xor ecx, eax
or r9d, ecx
sub rbx, 1
jne 0x14011d9a4
test r9d, r9d
jne 0x14011d9c4
mov r10d, 3
add r8d, r14d
mov eax, esi
sub eax, r8d
cmp eax, r14d
cmova eax, r14d
cmp r8d, r11d
jb 0x14011d993
mov rbx, qword [rsp + 0x10]
mov eax, r10d
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x1401203bc
Capabilities:
Hash data using sha1

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140120540
test rdx, rdx
je 0x140120540
mov eax, dword [rcx]
lea rdi, [rcx + 0xc]
mov ebp, 0x38
mov byte [rax + rdi], 0x80
mov ecx, dword [rcx]
lea r14d, [rbp - 0x28]
inc ecx
mov dword [rbx], ecx
cmp ecx, ebp
jbe 0x140120461
lea r8d, [rbp + 8]
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.14012bb80
mov rdx, rdi
mov dword [rbx], 0x40
mov r8d, r14d
mov eax, dword [rdx]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rdx], ecx
lea rdx, [rdx + 4]
sub r8, 1
jne 0x140120427
mov rdx, rdi
mov rcx, rbx
call fcn.1401200bc
test eax, eax
jne 0x140120545
and dword [rbx], eax
xor ecx, ecx
sub ebp, ecx
xor edx, edx
mov r8d, ebp
add rcx, rdi
call fcn.14012bb80
mov rdx, rdi
mov eax, dword [rdx]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rdx], ecx
lea rdx, [rdx + 4]
sub r14, 1
jne 0x140120473
mov r9d, dword [rbx + 4]
mov rdx, rdi
mov eax, dword [rbx + 8]
mov ecx, r9d
shr ecx, 0x1d
lea r8d, [rcx + rax*8]
mov rcx, rbx
lea eax, [r9*8]
mov dword [rbx + 8], r8d
mov dword [rbx + 4], eax
mov dword [rdi + 0x38], r8d
mov eax, dword [rbx + 4]
mov dword [rdi + 0x3c], eax
call fcn.1401200bc
lea r8, [rbx + 0x4c]
mov r11d, eax
mov r9, r8
lea r10d, [r14 + 5]
mov ecx, dword [r9]
mov edx, ecx
ror edx, 8
rol ecx, 8
and edx, 0xff00ff00
and ecx, 0xff00ff
or edx, ecx
mov dword [r9], edx
lea r9, [r9 + 4]
sub r10, 1
jne 0x1401204d9
movups xmm0, xmmword [r8]
movups xmmword [rsi], xmm0
mov eax, dword [r8 + 0x10]
mov dword [rsi + 0x10], eax
mov eax, r11d
and dword [rbx], r10d
and dword [rbx + 4], r10d
and dword [rbx + 8], r10d
mov dword [r8], 0x67452301
mov dword [rbx + 0x50], 0xefcdab89
mov dword [rbx + 0x54], 0x98badcfe
mov dword [rbx + 0x58], 0x10325476
mov dword [rbx + 0x5c], 0xc3d2e1f0
jmp 0x140120545
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1401212e4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
movups xmm0, xmmword [rcx]
mov rsi, rcx
mov r8d, 0x40
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
call fcn.14012b4d0
lea r9, [rsp + 0x78]
mov r10d, 0x30
mov ecx, dword [r9 - 0x34]
mov r8d, ecx
mov edx, dword [r9]
mov eax, ecx
ror r8d, 0x12
lea r9, [r9 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
ror eax, 0x11
mov ecx, edx
shr edx, 0xa
ror ecx, 0x13
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 - 0x3c]
add r8d, dword [r9 - 0x18]
mov dword [r9 + 4], r8d
sub r10, 1
jne 0x140121336
xor r14d, r14d
mov r15d, 6
lea r12d, [r15 + 2]
lea rax, [r15 - 2]
and eax, 7
lea rbx, [r15 + 1]
and ebx, 7
mov r8d, dword [rsp + rax*4 + 0x20]
mov rax, r15
and eax, 7
mov r11d, r8d
ror r11d, 0x19
mov edx, dword [rsp + rax*4 + 0x20]
mov ecx, edx
mov eax, r8d
ror eax, 0xb
xor r11d, eax
mov eax, r8d
ror eax, 6
xor r11d, eax
lea rax, [r15 - 1]
and eax, 7
xor ecx, dword [rsp + rax*4 + 0x20]
lea rax, [0x140151600]
and ecx, r8d
xor ecx, edx
add r11d, ecx
lea rcx, [r15 - 4]
add r11d, dword [r14 + rax]
and ecx, 7
add r11d, dword [rsp + r14 + 0x40]
lea rax, [r15 + 2]
add r11d, dword [rsp + rbx*4 + 0x20]
and eax, 7
add r14, 4
mov edx, dword [rsp + rcx*4 + 0x20]
mov r9d, dword [rsp + rax*4 + 0x20]
lea rax, [r15 + 3]
and eax, 7
mov r10d, r9d
ror r10d, 0x16
mov r8d, dword [rsp + rax*4 + 0x20]
mov eax, r9d
ror eax, 0xd
xor r10d, eax
mov eax, r9d
ror eax, 2
xor r10d, eax
mov eax, r8d
or eax, r9d
and r8d, r9d
and edx, eax
lea rax, [r15 - 3]
and eax, 7
or edx, r8d
add r10d, edx
dec r15
add dword [rsp + rax*4 + 0x20], r11d
lea eax, [r10 + r11]
mov dword [rsp + rbx*4 + 0x20], eax
sub r12, 1
jne 0x140121389
cmp r14, 0x100
jl 0x14012137f
lea rax, [rsp + 0x20]
sub rax, rsi
lea ecx, [r12 + 2]
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [rax + rsi]
paddd xmm1, xmm0
movdqu xmmword [rsi], xmm1
lea rsi, [rsi + 0x10]
sub rcx, 1
jne 0x140121475
lea r11, [rsp + 0x140]
xor eax, eax
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1401214b4
Capabilities:
Hash data using sha256

Disassembly:
xor edx, edx
lea r8d, [rdx - 2]
jmp fcn.1401214c0

Function at 0x1401214c0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
test rcx, rcx
jne 0x1401214cd
mov eax, 0xffffff53
ret
mov qword [rcx + 0x70], rdx
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], rax
mov dword [rcx + 0x68], eax
ret
Function at 0x140121510
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1401215be
test rdx, rdx
je 0x1401215be
call fcn.14012102c
test eax, eax
jne 0x1401215c3
mov rdx, rbx
lea r8d, [rax + 8]
mov eax, dword [rdx]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rdx], ecx
lea rdx, [rdx + 4]
sub r8, 1
jne 0x140121546
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
and dword [rbx + 0x60], r8d
and dword [rbx + 0x64], r8d
and dword [rbx + 0x68], r8d
xor eax, eax
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
jmp 0x1401215c3
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140127450
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140127530
test rdx, rdx
je 0x140127530
mov eax, dword [rcx]
lea rdi, [rcx + 0xc]
mov ebp, 0x38
mov byte [rax + rdi], 0x80
mov ecx, dword [rcx]
inc ecx
mov dword [rbx], ecx
cmp ecx, ebp
jbe 0x1401274bc
lea r8d, [rbp + 8]
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.14012bb80
mov rdx, rdi
mov dword [rbx], 0x40
mov rcx, rbx
call fcn.140126c34
and dword [rbx], 0
xor ecx, ecx
sub ebp, ecx
xor edx, edx
mov r8d, ebp
add rcx, rdi
call fcn.14012bb80
mov r8d, dword [rbx + 4]
mov rdx, rdi
mov ecx, dword [rbx + 8]
mov eax, r8d
shr eax, 0x1d
lea eax, [rax + rcx*8]
mov rcx, rbx
mov dword [rbx + 8], eax
lea eax, [r8*8]
mov dword [rbx + 4], eax
mov dword [rdi + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0x3c], eax
call fcn.140126c34
movups xmm0, xmmword [rbx + 0x4c]
movdqu xmmword [rsi], xmm0
and dword [rbx], 0
and dword [rbx + 4], 0
and dword [rbx + 8], 0
xor eax, eax
mov dword [rbx + 0x4c], 0x67452301
mov dword [rbx + 0x50], 0xefcdab89
mov dword [rbx + 0x54], 0x98badcfe
mov dword [rbx + 0x58], 0x10325476
jmp 0x140127535
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140127690
Capabilities:
Hash data using sha384

Disassembly:
xor edx, edx
test rcx, rcx
jne 0x14012769d
mov eax, 0xffffff53
ret
movabs rax, 0xcbbb9d5dc1059ed8
mov dword [rcx + 0xc0], edx
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
xor eax, eax
mov qword [rcx + 0xc8], rdx
mov qword [rcx + 0xd0], rdx
ret
Function at 0x140127724
Capabilities:
Hash data using sha512

Disassembly:
xor edx, edx
test rcx, rcx
jne 0x140127731
mov eax, 0xffffff53
ret
movabs rax, 0x6a09e667f3bcc908
mov dword [rcx + 0xc0], edx
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
xor eax, eax
mov qword [rcx + 0xc8], rdx
mov qword [rcx + 0xd0], rdx
ret

Function at 0x1401277b8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r15
sub rsp, 0x20
lea rdi, [rcx + 0x40]
mov rbx, rcx
test rcx, rcx
jne 0x1401277e7
mov eax, 0xffffff53
jmp 0x1401279a8
mov eax, dword [rcx + 0xc0]
mov esi, 0x70
movabs r15, 0xff00ff00ff00ff
movabs r12, 0xffff0000ffff
mov byte [rax + rdi], 0x80
inc dword [rcx + 0xc0]
mov ecx, dword [rcx + 0xc0]
cmp ecx, esi
jbe 0x1401278a2
lea r8d, [rsi + 0x10]
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.14012bb80
mov r8, rdi
mov dword [rbx + 0xc0], 0x80
lea r9d, [rsi - 0x60]
mov rcx, qword [r8]
mov rdx, rcx
mov rax, rcx
shl rcx, 8
shr rdx, 8
shl rax, 8
xor rdx, rax
and rdx, r15
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rcx, 0x10
shl rax, 0x10
xor rcx, rax
shl rdx, 0x10
and rcx, r12
xor rcx, rdx
rol rcx, 0x20
mov qword [r8], rcx
lea r8, [r8 + 8]
sub r9, 1
jne 0x140127840
mov rcx, rbx
call fcn.140127c18
test eax, eax
jne 0x1401279a8
and dword [rbx + 0xc0], eax
xor ecx, ecx
sub esi, ecx
xor edx, edx
mov r8d, esi
add rcx, rdi
call fcn.14012bb80
mov rdx, qword [rbx + 0xc8]
mov r8d, 0xe
mov rcx, qword [rbx + 0xd0]
mov rax, rdx
shr rax, 0x3d
lea rax, [rax + rcx*8]
mov qword [rbx + 0xd0], rax
lea rax, [rdx*8]
mov qword [rbx + 0xc8], rax
mov rcx, qword [rdi]
mov rdx, rcx
mov rax, rcx
shl rcx, 8
shr rdx, 8
shl rax, 8
xor rdx, rax
and rdx, r15
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rcx, 0x10
shl rax, 0x10
xor rcx, rax
shl rdx, 0x10
and rcx, r12
xor rcx, rdx
rol rcx, 0x20
mov qword [rdi], rcx
lea rdi, [rdi + 8]
sub r8, 1
jne 0x1401278e6
mov rcx, qword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov qword [rbx + 0xb8], rcx
mov rcx, rbx
mov qword [rbx + 0xb0], rax
call fcn.140127c18
test eax, eax
jne 0x1401279a8
lea r8d, [rax + 8]
mov rcx, qword [rbx]
mov rdx, rcx
mov rax, rcx
shl rcx, 8
shr rdx, 8
shl rax, 8
xor rdx, rax
and rdx, r15
xor rdx, rcx
mov rcx, rdx
mov rax, rdx
shr rcx, 0x10
shl rax, 0x10
xor rcx, rax
shl rdx, 0x10
and rcx, r12
xor rcx, rdx
rol rcx, 0x20
mov qword [rbx], rcx
lea rbx, [rbx + 8]
sub r8, 1
jne 0x14012795c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x140127e48
Capabilities:
Hash data using sha384

Disassembly:
test rcx, rcx
jne 0x140127e53
mov eax, 0xffffff53
ret
and qword [rcx + 0xd8], 0
jmp fcn.140127690