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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
test rdx, rdx
je 0x14005c652
mov rsi, rdx
cmp dword [rdx + 8], 1
jne 0x14005c652
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0xe8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov ecx, dword [rsi + 0xcc]
call fcn.14006fbc0
mov rdi, rax
mov rbx, rax
mov rcx, qword [rsi]
mov r8d, dword [rsi + 0xcc]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, rax
call qword [sym.imp.KERNEL32.DLL_ReadFile]
movzx eax, word [rdi + 6]
add eax, 0xfffffffe
cmp ax, 2
ja 0x14005c63d
movzx eax, word [rdi + 4]
add rax, rdi
lea rcx, [rdi + 0x1fe]
mov edx, 1
nop word cs:[rax + rax]
movzx r8d, word [rax + rdx*2]
mov word [rcx], r8w
inc rdx
movzx r8d, word [rbx + 6]
add rcx, 0x200
cmp rdx, r8
jb 0x14005c620
movzx eax, word [rbx + 0x14]
add rdi, rax
cmp dword [rbx + rax], 0x80
jne 0x14005c656
mov rcx, rdi
jmp 0x14005c675
xor eax, eax
jmp 0x14005c6ad
mov eax, dword [rbx + 0x1c]
add eax, 0xfffffffe
nop dword [rax]
mov edx, dword [rdi + 4]
lea rcx, [rdi + rdx]
dec eax
cmp dword [rdi + rdx], 0x80
mov rdi, rcx
jne 0x14005c660
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0xd8], rax
mov qword [rsi + 0xf0], rbx
mov r8d, dword [rsi + 0xc8]
mov rdx, rax
shr rdx, 0x20
je 0x14005c69e
xor edx, edx
div r8
jmp 0x14005c6a3
xor edx, edx
div r8d
mov dword [rsi + 0xe0], eax
mov rax, qword [rcx + 0x30]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005cd70
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15d, r9d
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rsp + 0xb0]
mov dword [rsp + 0x30], 0
mov edx, dword [rdx + 0xcc]
imul rdx, r8
mov qword [rsp + 0x40], rdx
mov rcx, qword [rsi]
lea r8, [rsp + 0x44]
xor r14d, r14d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, 0
mov ebp, 0
cmp r15d, 0x400
jb 0x14005ced7
mov dword [rsp + 0x34], r15d
shr r15d, 0xa
mov dword [rsp + 0x38], r15d
xor r15d, r15d
xor ebp, ebp
jmp 0x14005ce05
mov ebp, dword [rsp + 0x3c]
add ebp, r14d
inc r15d
cmp r15d, dword [rsp + 0x38]
je 0x14005cec7
mov dword [rsp + 0x3c], ebp
mov rcx, qword [rsi]
mov r8d, dword [rsi + 0xcc]
shl r8d, 0xa
mov qword [rsp + 0x20], 0
mov rdx, rbx
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r14d, dword [rsp + 0x30]
test r14, r14
je 0x14005cdf0
lea rbp, [rbx + r14]
mov eax, dword [rsi + 0xc]
lea r12, [rax + rax*2]
shl r12, 5
add r12, qword [rsi + 0x48]
mov r13, rbx
jmp 0x14005ce65
mov eax, dword [rsi + 0xc8]
add r13, rax
add r12, 0x60
inc dword [rsi + 0xc]
cmp r13, rbp
jae 0x14005cdf0
movzx eax, word [r13 + 6]
add eax, 0xfffffffe
cmp ax, 2
ja 0x14005cead
movzx eax, word [r13 + 4]
add rax, r13
lea rcx, [r13 + 0x1fe]
mov edx, 1
nop word [rax + rax]
movzx r8d, word [rax + rdx*2]
mov word [rcx], r8w
inc rdx
movzx r8d, word [r13 + 6]
add rcx, 0x200
cmp rdx, r8
jb 0x14005ce90
mov rcx, rdi
mov rdx, rsi
mov r8, r13
mov r9, r12
call fcn.14005cfd0
test al, al
je 0x14005ce50
inc dword [rsi + 0x10]
jmp 0x14005ce50
mov r15d, dword [rsp + 0x34]
mov eax, r15d
and eax, 0xfffffc00
xor r14d, r14d
mov rcx, qword [rsi]
sub r15d, eax
imul r15d, dword [rsi + 0xcc]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rdx, rbx
mov r8d, r15d
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r15d, dword [rsp + 0x30]
test r15, r15
je 0x14005cfac
add r15, rbx
mov eax, dword [rsi + 0xc]
lea r14, [rax + rax*2]
shl r14, 5
add r14, qword [rsi + 0x48]
jmp 0x14005cf45
mov eax, dword [rsi + 0xc8]
add rbx, rax
add r14, 0x60
inc dword [rsi + 0xc]
cmp rbx, r15
jae 0x14005cfa7
movzx eax, word [rbx + 6]
add eax, 0xfffffffe
cmp ax, 2
ja 0x14005cf8d
movzx eax, word [rbx + 4]
add rax, rbx
lea rcx, [rbx + 0x1fe]
mov edx, 1
nop word cs:[rax + rax]
movzx r8d, word [rax + rdx*2]
mov word [rcx], r8w
inc rdx
movzx r8d, word [rbx + 6]
add rcx, 0x200
cmp rdx, r8
jb 0x14005cf70
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
mov r9, r14
call fcn.14005cfd0
test al, al
je 0x14005cf30
inc dword [rsi + 0x10]
jmp 0x14005cf30
mov r14d, dword [rsp + 0x30]
add r14d, ebp
mov eax, r14d
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14005e7f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov ebp, 0xffffff53
test rcx, rcx
je 0x14005e9e0
mov rbx, rdx
test rdx, rdx
je 0x14005e9e0
mov edi, r8d
test r8d, r8d
je 0x14005e9d2
cmp edi, 0x10000
ja 0x14005e9e0
mov rsi, rcx
mov ebp, 0xffffff39
cmp byte [rcx + 0x18], 1
jne 0x14005e9e0
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
mov r8d, edi
call fcn.14005e9f0
mov ebp, eax
cmp eax, 2
jne 0x14005e9c0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x1401ffb40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x20], 0x30
lea r9, str.c63w
mov ecx, 1
xor edx, edx
xor r8d, r8d
call fcn.14005f240
test eax, eax
jne 0x14005e9c9
pxor xmm0, xmm0
mov eax, 0xc
lea rcx, [0x1401ffb60]
pxor xmm2, xmm2
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqa xmm3, xmmword [rax + rcx - 0xc]
mov edx, dword [rax + rcx - 8]
pxor xmm3, xmmword [rsp + rax + 0x54]
xor edx, dword [rsp + rax + 0x58]
movd xmm4, edx
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm3, xmm2
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
por xmm4, xmm1
mov edx, dword [rax + rcx - 4]
mov r8d, dword [rax + rcx]
xor edx, dword [rsp + rax + 0x5c]
movd xmm2, edx
xor r8d, dword [rsp + rax + 0x60]
movd xmm1, r8d
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
por xmm2, xmm3
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm4
add rax, 0x10
cmp rax, 0x8c
jne 0x14005e8d0
por xmm1, xmm2
pxor xmm0, xmm0
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x14005e9c9
lea rdx, [rsp + 0x60]
mov rcx, rsi
mov r8d, 0x24
call fcn.14005f190
mov ebp, 1
test eax, eax
jne 0x14005e9b1
lea rcx, [rsp + 0x60]
mov edx, 0x24
call fcn.14005e030
mov ebp, eax
test eax, eax
jne 0x14005e9b1
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0x64]
mov r8d, 0x20
call fcn.14005df10
mov ebp, eax
test eax, eax
jne 0x14005e9b1
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
mov r8d, edi
call fcn.14005e9f0
mov ebp, eax
lea rcx, [rsp + 0x60]
mov edx, 0x24
call fcn.14005e6d0
test ebp, ebp
je 0x14005e9e0
cmp ebp, 3
jne 0x14005e9d6
mov ebp, 0xffffff2f
mov al, 3
jmp 0x14005e9dd
xor ebp, ebp
jmp 0x14005e9e0
mov ebp, 0xffffff39
mov al, 2
mov byte [rsi + 0x18], al
mov eax, ebp
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14005f190
Capabilities:
Generate random numbers via winapi

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1c8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14005f219
mov rcx, qword [rbx]
mov edx, esi
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14005f220
mov rcx, qword [rbx]
xor ebx, ebx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r14, [rsp + 0x28]
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.14009e730
mov rcx, r14
mov rdx, rdi
mov r8d, esi
call fcn.14009e7a0
mov rcx, r14
mov rdx, rdi
mov r8d, esi
call fcn.14009eb30
mov rcx, r14
call fcn.14009f6e0
jmp 0x14005f225
mov ebx, 0xffffff99
jmp 0x14005f225
mov ebx, 0xffffff98
mov eax, ebx
add rsp, 0x1c8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140067500
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x1400675cb
mov rdi, rdx
test rdx, rdx
je 0x1400675cb
mov rsi, rcx
call fcn.140067780
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movabs rax, 0x6a09e667f3bcc908
mov qword [rsi], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsi + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsi + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsi + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rsi + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsi + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsi + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsi + 0x38], rax
mov dword [rsi + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0xc8], xmm0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400675e0
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x14006767a
mov qword [rcx + 0xd8], 0
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], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0xc8], xmm0
xor eax, eax
ret
mov eax, 0xffffff53
ret

Function at 0x1400676b0
Capabilities:
Hash data using sha384

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x140067773
mov rdi, rdx
test rdx, rdx
je 0x140067773
mov rsi, rcx
call fcn.140067780
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rsi], rax
movabs rax, 0x629a292a367cd507
mov qword [rsi + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rsi + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rsi + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rsi + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rsi + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rsi + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rsi + 0x38], rax
mov dword [rsi + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0xc8], xmm0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140067c30
Capabilities:
Hash data using sha384

Disassembly:
test rcx, rcx
je 0x140067cca
mov qword [rcx + 0xd8], 0
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], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0xc8], xmm0
xor eax, eax
ret
mov eax, 0xffffff53
ret

Function at 0x14006b5a0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x150
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x2c], 0
test rcx, rcx
je 0x14006b5cd
mov rbx, rcx
test rsi, rsi
je 0x14006b5ea
cmp edi, 4
jg 0x14006b5ea
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov r8d, 0x120
xor edx, edx
call sub.msvcrt.dll_memset
mov ebp, 0xffffff53
xor eax, eax
jmp 0x14006b667
xor ebp, ebp
lea r14, [rsp + 0x30]
mov r8d, 0x120
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x80], 9
lea rax, [0x1402022b5]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0xc9], 1
mov byte [rsp + 0x128], 8
mov qword [rsp + 0x118], rbx
mov byte [rsp + 0x148], 8
add rbx, 0x448
mov qword [rsp + 0x138], rbx
lea rcx, [0x140202430]
lea r9, [rsp + 0x2c]
mov rdx, r14
mov r8d, 9
call fcn.140069210
mov al, 1
mov ebx, dword [rsp + 0x2c]
xor ecx, ecx
cmp ebx, edi
mov edi, 0xffffff7c
cmovle edi, ecx
test al, al
cmove edi, ebp
test rsi, rsi
cmove edi, ebp
je 0x14006b69e
test edi, edi
jne 0x14006b69e
lea rcx, [0x140202430]
lea rdx, [rsp + 0x30]
mov r8d, 9
mov r9, rsi
call fcn.140069570
test edi, edi
cmovne ebx, edi
mov eax, ebx
add rsp, 0x150
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14006d8a0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov byte [rsp + 0x2f], 0
mov rax, qword [0x140202860]
call qword [rax]
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
je 0x14006d8c7
add rsp, 0x30
pop rsi
ret
movzx eax, byte [rsi]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 1]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 2]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 3]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 4]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 5]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 6]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 7]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 8]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 9]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xa]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xb]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xc]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xd]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xe]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xf]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x10]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x11]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x12]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x13]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x14]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x15]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x16]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x17]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x18]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x19]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1a]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1b]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1c]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1d]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1e]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1f]
or byte [rsp + 0x2f], al
movzx eax, byte [rsp + 0x2f]
shl eax, 0x17
add eax, 0xff800000
sar eax, 0x1f
add rsp, 0x30
pop rsi
ret

Function at 0x14006dd40
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
call fcn.14006dc50
test rdi, rdi
je 0x14006dd83
mov rax, qword [0x1402846b8]
mov rcx, rsi
mov rdx, rdi
call qword [rax + 0x20]
cmp rdi, 0x20
jne 0x14006dd83
mov r8d, 0x20
mov rcx, rsi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x14018fc90
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14006ddf0
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
call fcn.14006dc50
test rdi, rdi
je 0x14006de33
mov rax, qword [0x1402846b8]
mov rcx, rsi
mov rdx, rdi
call qword [rax + 0x20]
cmp rdi, 0x20
jne 0x14006de33
mov r8d, 0x20
mov rcx, rsi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x14018fc90
nop
add rsp, 0x28
pop rdi
pop rsi
ret
push rsi
push rdi
sub rsp, 0x88
mov rsi, rcx
mov qword [rsp + 0x40], 0
movaps xmm0, xmmword [0x140209160]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x140209170]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.14018eb20
mov rcx, rdi
mov rdx, rsi
call fcn.14018fb70
xor eax, eax
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x1400738f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x34]
test rdx, rdx
js 0x14007391e
lea rcx, [rsp + 0x20]
mov rax, rdi
sub rax, rcx
cmp rax, 0x13
jle 0x140073937
jmp 0x14007396d
lea rcx, [rsp + 0x21]
mov byte [rsp + 0x20], 0x2d
neg rbx
mov rax, rdi
sub rax, rcx
cmp rax, 0x13
jg 0x14007396d
mov rdx, rbx
or rdx, 1
bsr rdx, rdx
xor edx, 0xffffffc0
imul edx, edx, 0x4d1
add edx, 0x13911
shr edx, 0xc
lea r8, [0x1402032c0]
cmp rbx, qword [r8 + rdx*8]
sbb edx, 0
inc edx
cmp rax, rdx
jl 0x140073a55
mov rax, rbx
shr rax, 0x20
jne 0x140073985
mov edx, ebx
call fcn.140074160
mov rdi, rax
jmp 0x140073a55
mov rax, rbx
shr rax, 0xa
cmp rax, 0x9502f9
jb 0x1400739c6
movabs rdx, 0xdbe6fecebdedd5bf
mov rax, rbx
mul rdx
mov rdi, rdx
shr rdi, 0x21
mov edx, edi
call fcn.140074160
mov rcx, rax
movabs rax, 0x2540be400
imul rax, rdi
sub rbx, rax
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
movabs rdx, 0xabcc77118461cefd
mov rax, rbx
mul rdx
shr rdx, 0x1a
movzx eax, word [r8 + rdx*2]
mov word [rcx], ax
imul rax, rdx, 0x5f5e100
sub rbx, rax
imul rax, rbx, 0x8637bd1
shr rax, 0x2f
movzx edx, word [r8 + rax*2]
mov word [rcx + 2], dx
imul eax, eax, 0xf4240
sub ebx, eax
imul rax, rbx, 0x68db9
shr rax, 0x20
movzx edx, word [r8 + rax*2]
mov word [rcx + 4], dx
imul eax, eax, 0x2710
sub ebx, eax
imul eax, ebx, 0x147b
shr eax, 0x13
movzx edx, word [r8 + rax*2]
mov word [rcx + 6], dx
imul eax, eax, 0x64
sub ebx, eax
movzx eax, bx
movzx eax, word [r8 + rax*2]
mov word [rcx + 8], ax
add rcx, 0xa
mov rdi, rcx
lea rbx, [rsp + 0x20]
mov r14, rdi
sub r14, rbx
movabs rax, 0x7ffffffffffffff0
cmp r14, rax
jae 0x140073b46
cmp r14, 0xa
ja 0x140073a96
lea eax, [r14 + r14]
mov byte [rsi], al
lea rax, [rsi + 2]
cmp rbx, rdi
je 0x140073ac3
cmp r14, 0x10
jae 0x140073ac8
mov rcx, rax
jmp 0x140073b20
mov r15, r14
or r15, 7
inc r15
js 0x140073b4e
lea rcx, [r15 + r15]
call fcn.14006fb50
mov qword [rsi + 0x10], rax
or r15, 1
mov qword [rsi], r15
mov qword [rsi + 8], r14
cmp rbx, rdi
jne 0x140073a88
mov rcx, rax
jmp 0x140073b32
mov edx, edi
and edx, 0xf
sub r14, rdx
lea rcx, [rax + r14*2]
lea rbx, [rsp + r14]
add rbx, 0x20
xor r8d, r8d
nop
movq xmm0, qword [rsp + r8 + 0x20]
punpcklbw xmm0, xmm0
movq xmm1, qword [rsp + r8 + 0x28]
punpcklbw xmm1, xmm1
psraw xmm0, 8
psraw xmm1, 8
movdqu xmmword [rax + r8*2], xmm0
movdqu xmmword [rax + r8*2 + 0x10], xmm1
add r8, 0x10
cmp r14, r8
jne 0x140073ae0
test rdx, rdx
je 0x140073b32
nop dword [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
inc rbx
add rcx, 2
cmp rbx, rdi
jne 0x140073b20
mov word [rcx], 0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rsi
call fcn.140002ec0
call fcn.140002f60
int3
Function at 0x140099000
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.14006fb50
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140099070]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140099058
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.DLL_GetLastError]

Function at 0x1400998a0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.14009ad50
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.14009ad50
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3
Function at 0x14009d5a0
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x14009d65e
mov rdi, rdx
test rdx, rdx
je 0x14009d65e
mov rsi, rcx
call fcn.14009d670
test sil, 3
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [rsi + 0x10]
pxor xmm2, xmm2
movdqa xmm3, xmm0
punpckhbw xmm3, xmm2
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm0, xmm2
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm3
movdqu xmmword [rsi], xmm0
movdqa xmm0, xmm1
punpckhbw xmm0, xmm2
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
punpcklbw xmm1, xmm2
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm0
movdqu xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x140206ff0]
movaps xmmword [rsi], xmm0
movaps xmm0, xmmword [0x140207000]
movaps xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x60], 0
mov dword [rsi + 0x68], 0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14009d670
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
lea rsi, [rcx + 0x20]
mov eax, dword [rcx + 0x60]
lea ecx, [rax + 1]
mov dword [rdi + 0x60], ecx
mov byte [rdi + rax + 0x20], 0x80
mov eax, dword [rdi + 0x60]
cmp rax, 0x38
jbe 0x14009d78f
mov rcx, rax
add rcx, rsi
mov r8d, 0x40
sub r8d, eax
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rdi + 0x60], 0x40
mov rbx, rsi
and rbx, 3
pxor xmm0, xmm0
movdqu xmm2, xmmword [rdi + 0x20]
movdqu xmm3, xmmword [rdi + 0x30]
movdqu xmm4, xmmword [rdi + 0x40]
movdqu xmm1, xmmword [rdi + 0x50]
movdqa xmm5, xmm2
punpckhbw xmm5, xmm0
pshuflw xmm5, xmm5, 0x1b
pshufhw xmm5, xmm5, 0x1b
punpcklbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
packuswb xmm2, xmm5
movdqu xmmword [rdi + 0x20], xmm2
movdqa xmm2, xmm3
punpckhbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
punpcklbw xmm3, xmm0
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
packuswb xmm3, xmm2
movdqu xmmword [rdi + 0x30], xmm3
movdqa xmm2, xmm4
punpckhbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
punpcklbw xmm4, xmm0
pshuflw xmm3, xmm4, 0x1b
pshufhw xmm3, xmm3, 0x1b
packuswb xmm3, xmm2
movdqu xmmword [rdi + 0x40], xmm3
movdqa xmm2, xmm1
punpckhbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
punpcklbw xmm1, xmm0
pshuflw xmm0, xmm1, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm2
movdqu xmmword [rdi + 0x50], xmm0
mov rcx, rdi
mov rdx, rsi
call fcn.14009d9f0
mov dword [rdi + 0x60], 0
xor eax, eax
jmp 0x14009d794
mov ebx, esi
and ebx, 3
mov ecx, eax
add rcx, rsi
mov r8d, 0x38
sub r8d, eax
xor edx, edx
call sub.msvcrt.dll_memset
mov eax, dword [rdi + 0x64]
mov ecx, dword [rdi + 0x68]
shld ecx, eax, 3
mov dword [rdi + 0x68], ecx
shl eax, 3
mov dword [rdi + 0x64], eax
test rbx, rbx
pxor xmm0, xmm0
movdqu xmm1, xmmword [rdi + 0x20]
movdqu xmm2, xmmword [rdi + 0x30]
movdqu xmm3, xmmword [rdi + 0x40]
movdqa xmm4, xmm1
punpckhbw xmm4, xmm0
pshuflw xmm4, xmm4, 0x1b
pshufhw xmm4, xmm4, 0x1b
punpcklbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm4
movdqu xmmword [rdi + 0x20], xmm1
movdqa xmm1, xmm2
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
packuswb xmm2, xmm1
movdqu xmmword [rdi + 0x30], xmm2
movdqa xmm1, xmm3
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm3, xmm0
pshuflw xmm0, xmm3, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm1
movdqu xmmword [rdi + 0x40], xmm0
mov edx, dword [rdi + 0x50]
bswap edx
mov dword [rdi + 0x50], edx
mov edx, dword [rdi + 0x54]
bswap edx
mov dword [rdi + 0x54], edx
mov dword [rdi + 0x58], ecx
mov dword [rdi + 0x5c], eax
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14009d9f0