joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 0x30
mov eax, esi
mov dword [ebp - 0x3c], esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x38]
mov edi, 1
add esp, 0xc
xor ebx, ebx
sub edi, edx
lea ecx, [edx + 0x20]
lea eax, [edx + 0xf]
mov dword [ebp - 0x40], ecx
add byte [eax], 1
jne 0x4b4be0
dec eax
lea ecx, [edi + eax]
test ecx, ecx
jg 0x4b4bd3
push esi
push edx
lea ecx, [edx + 0x20]
push 1
push ecx
call fcn.004aca00
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4b4c57
mov esi, dword [ebp - 0x3c]
add ebx, 0x10
mov edx, dword [ebp - 0x38]
add esi, 0x10
mov dword [ebp - 0x3c], esi
lea eax, [edx + 0xf]
cmp ebx, 0x30
jl 0x4b4bd3
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
xor ecx, ecx
sub edx, eax
lea eax, [ebp - 0x34]
add eax, ecx
add ecx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [edx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp ecx, 0x30
jl 0x4b4c17
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
push 0x100
push eax
push ecx
call fcn.004ad130
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b4c57
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x34]
push 0x30
push eax
call fcn.004b66d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054f742
mov esp, ebp
pop ebp
ret
Function at 0x4bc200
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
test ecx, ecx
je 0x4bc21b
cmp ecx, 1
je 0x4bc21b
mov eax, 0xffffff8c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test ecx, ecx
push ebx
mov edx, 0x367cd507
mov dword [ebp - 4], 0xc1059ed8
push esi
mov dword [eax], 0
mov ebx, 0xa54ff53a
mov dword [eax + 4], 0
mov esi, 0x1f83d9ab
mov eax, 0xbb67ae85
mov ecx, 0x5be0cd19
cmovne eax, edx
mov edx, 0x3070dd17
mov dword [ebp - 8], eax
mov eax, 0x3c6ef372
cmovne eax, edx
mov edx, 0x9b05688c
mov dword [ebp - 0xc], eax
mov eax, 0xf70e5939
cmovne ebx, eax
mov eax, 0xffc00b31
push edi
mov edi, 0x510e527f
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
cmovne edi, eax
mov eax, 0x64f98fa7
cmovne esi, eax
mov eax, 0x68581511
cmovne edx, eax
test ebx, ebx
mov ebx, dword [ebp + 8]
mov eax, 0xbefa4fa4
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdb80
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x2c
test ecx, ecx
je 0x4bdb9b
cmp ecx, 1
je 0x4bdb9b
mov eax, 0xffffff8b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
test ecx, ecx
jne 0x4bdc2a
mov edx, 0x137e2179
mov dword [ebp - 0x20], 0x2b3e6c1f
mov esi, 0x5be0cd19
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov edi, 0xfb41bd6b
mov ebx, 0x1f83d9ab
mov dword [ebp - 0x24], 0x9b05688c
mov dword [ebp - 0x1c], 0x510e527f
mov ecx, 0xade682d1
mov dword [ebp - 0x14], 0x5f1d36f1
mov edx, 0xfe94f82b
mov dword [ebp - 0x18], 0xa54ff53a
mov esi, 0xf3bcc908
mov dword [ebp - 0x10], 0x3c6ef372
mov dword [ebp - 8], 0x84caa73b
mov dword [ebp - 0xc], 0xbb67ae85
mov dword [ebp - 4], 0x6a09e667
jmp 0x4bdc92
mov edx, 0xbefa4fa4
mov dword [ebp - 0x20], 0x68581511
mov esi, 0x47b5481d
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov edi, 0x64f98fa7
mov ebx, 0xdb0c2e0d
mov dword [ebp - 0x24], 0x8eb44a87
mov ecx, 0xffc00b31
mov dword [ebp - 0x1c], 0x67332667
mov dword [ebp - 0x14], 0xf70e5939
mov edx, 0x3070dd17
mov dword [ebp - 0x18], 0x152fecd8
mov esi, 0xc1059ed8
mov dword [ebp - 0x10], 0x9159015a
mov dword [ebp - 8], 0x367cd507
mov dword [ebp - 0xc], 0x629a292a
mov dword [ebp - 4], 0xcbbb9d5d
mov dword [eax + 0x10], esi
mov esi, dword [ebp - 4]
mov dword [eax + 0x14], esi
mov esi, dword [ebp - 8]
mov dword [eax + 0x18], esi
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x1c], esi
mov esi, dword [ebp - 0x2c]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], esi
pop edi
pop esi
mov dword [eax + 0xd0], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bedc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov byte [ebp - 1], 0
test esi, esi
je 0x4bedf7
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
sub edi, edx
nop dword [eax]
mov al, byte [edi + edx]
lea edx, [edx + 1]
mov cl, byte [edx - 1]
xor cl, al
or cl, byte [ebp - 1]
mov byte [ebp - 1], cl
sub esi, 1
jne 0x4bede0
pop edi
movzx eax, byte [ebp - 1]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bf480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 4]
je 0x4bf4a1
pop edi
mov eax, 0xfffffffc
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx]
mov eax, dword [edi]
sar eax, 1
sar edx, 1
and eax, 1
and edx, 1
push esi
mov esi, dword [ebp + 0x10]
xor eax, edx
mov ecx, eax
mov dword [ebp - 0xc], edx
and ecx, edx
mov dword [ebp - 8], ecx
mov dword [esi], ecx
mov esi, dword [ebx + 4]
mov dword [ebp - 4], esi
test esi, esi
je 0x4bf571
mov ecx, 1
sub ecx, edx
mov dword [ebp - 0x10], ecx
nop dword [eax]
mov ecx, dword [ebx + 8]
mov ebx, 1
sub ebx, eax
mov esi, dword [ecx + esi*4 - 4]
mov ecx, dword [edi + 8]
mov edi, dword [ebp - 4]
mov edi, dword [ecx + edi*4 - 4]
mov edx, edi
xor edx, esi
sub edi, esi
mov ecx, edx
and edx, esi
not ecx
and edi, ecx
mov ecx, dword [ebp + 0x10]
or edi, edx
mov edx, dword [ebp - 4]
shr edi, 0x1f
and ebx, edi
or eax, edi
and ebx, dword [ebp - 0xc]
or ebx, dword [ebp - 8]
mov dword [ecx], ebx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + edx*4 - 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edi, dword [ecx + edx*4 - 4]
mov edx, edi
xor edx, esi
sub edi, esi
mov ecx, edx
and edx, esi
mov esi, dword [ebp + 0x10]
not ecx
and edi, ecx
mov ecx, 1
sub ecx, eax
or edi, edx
and ecx, dword [ebp - 0x10]
shr edi, 0x1f
and ecx, edi
or eax, edi
mov edi, dword [ebp + 0xc]
or ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [esi], ecx
mov esi, dword [ebp - 4]
sub esi, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
jne 0x4bf4e0
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c0280
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x571860
mov edx, edi
test eax, eax
je 0x4c0301
cmp dword [0x571860], 0
je 0x4c0301
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x4c02f7
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x4c02c2
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4c02c7
add edx, 4
add eax, 4
sub esi, 4
jae 0x4c02b1
cmp esi, 0xfffffffc
je 0x4c030b
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4c02f4
cmp esi, 0xfffffffd
je 0x4c030b
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x4c02f4
cmp esi, 0xfffffffe
je 0x4c030b
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x4c02f4
cmp esi, 0xffffffff
je 0x4c030b
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4c030b
mov eax, dword [ebp + 8]
add edi, 0x14
mov edx, edi
cmp dword [edi], 0
jne 0x4c02a0
pop edi
pop esi
mov eax, 0xffffffd2
pop ebx
pop ebp
ret
test edi, edi
je 0x4c0301
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
pop edi
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4c0420
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x571710
mov edx, edi
test eax, eax
je 0x4c04a1
cmp dword [0x571710], 0
je 0x4c04a1
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x4c0497
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x4c0462
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4c0467
add edx, 4
add eax, 4
sub esi, 4
jae 0x4c0451
cmp esi, 0xfffffffc
je 0x4c04a8
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4c0494
cmp esi, 0xfffffffd
je 0x4c04a8
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x4c0494
cmp esi, 0xfffffffe
je 0x4c04a8
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x4c0494
cmp esi, 0xffffffff
je 0x4c04a8
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4c04a8
mov eax, dword [ebp + 8]
add edi, 0x18
mov edx, edi
cmp dword [edi], 0
jne 0x4c0440
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4c17a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
test esi, esi
je 0x4c1839
mov dword [ebp - 0x5c], esi
cmp esi, 0x40
jb 0x4c1827
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.004c0e50
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4c1966
sub esi, 0x40
add edi, 0x40
cmp esi, 0x40
jae 0x4c1805
test esi, esi
je 0x4c1839
push esi
lea eax, [ebp - 0x44]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x44]
and ecx, 0x3f
mov byte [ebp + ecx - 0x44], 0x80
inc ecx
add edx, ecx
cmp ecx, 0x38
ja 0x4c185c
mov eax, 0x38
sub eax, ecx
push eax
push 0
push edx
jmp 0x4c188d
mov eax, 0x40
sub eax, ecx
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c0e50
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4c1966
push 0x38
push eax
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
lea edx, [eax*8]
mov eax, ecx
shr eax, 0x1d
or edx, eax
shl ecx, 3
mov eax, ecx
mov byte [ebp - 0xc], cl
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 8], dl
lea eax, [ebp - 0x5c]
shr ecx, 0x18
shr edx, 0x18
push eax
mov byte [ebp - 9], cl
mov byte [ebp - 5], dl
call fcn.004c0e50
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4c1966
mov ecx, dword [ebp - 0x60]
movzx eax, byte [ebp - 0x54]
mov byte [ecx], al
movzx eax, byte [ebp - 0x53]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 0x52]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0x51]
mov byte [ecx + 3], al
movzx eax, byte [ebp - 0x50]
mov byte [ecx + 4], al
movzx eax, byte [ebp - 0x4f]
mov byte [ecx + 5], al
movzx eax, byte [ebp - 0x4e]
mov byte [ecx + 6], al
movzx eax, byte [ebp - 0x4d]
mov byte [ecx + 7], al
movzx eax, byte [ebp - 0x4c]
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x4b]
mov byte [ecx + 9], al
movzx eax, byte [ebp - 0x4a]
mov byte [ecx + 0xa], al
movzx eax, byte [ebp - 0x49]
mov byte [ecx + 0xb], al
movzx eax, byte [ebp - 0x48]
mov byte [ecx + 0xc], al
movzx eax, byte [ebp - 0x47]
mov byte [ecx + 0xd], al
movzx eax, byte [ebp - 0x46]
mov byte [ecx + 0xe], al
movzx eax, byte [ebp - 0x45]
mov byte [ecx + 0xf], al
lea eax, [ebp - 0x5c]
push 0x58
push eax
call fcn.004b66d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054f742
mov esp, ebp
pop ebp
ret
Function at 0x4c1b40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
xor eax, eax
pop ebp
ret
Function at 0x4c3c50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp + 0xc]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push esi
push eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
call fcn.004c3fe0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4c3dca
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
lea edx, [eax*8]
mov eax, esi
shr eax, 0x1d
lea ecx, [esi*8]
or edx, eax
mov byte [ebp - 0xc], cl
mov eax, ecx
mov byte [ebp - 8], dl
shr eax, 8
and esi, 0x3f
mov byte [ebp - 0xb], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 6], al
mov eax, 0x38
mov byte [ebp - 9], cl
sub eax, esi
shr edx, 0x18
mov ecx, 0x78
sub ecx, esi
mov byte [ebp - 5], dl
cmp esi, 0x38
cmovae eax, ecx
push eax
lea eax, [ebp - 0x68]
push 0x572aa8
push eax
call fcn.004c3fe0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c3dca
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004c3fe0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c3dca
mov eax, dword [ebp - 0x60]
mov byte [edi], al
mov byte [edi + 1], ah
movzx eax, byte [ebp - 0x5e]
mov byte [edi + 2], al
movzx eax, byte [ebp - 0x5d]
mov byte [edi + 3], al
mov eax, dword [ebp - 0x5c]
mov byte [edi + 4], al
mov byte [edi + 5], ah
movzx eax, byte [ebp - 0x5a]
mov byte [edi + 6], al
movzx eax, byte [ebp - 0x59]
mov byte [edi + 7], al
mov eax, dword [ebp - 0x58]
mov byte [edi + 8], al
mov byte [edi + 9], ah
movzx eax, byte [ebp - 0x56]
mov byte [edi + 0xa], al
movzx eax, byte [ebp - 0x55]
mov byte [edi + 0xb], al
mov eax, dword [ebp - 0x54]
mov byte [edi + 0xc], al
mov byte [edi + 0xd], ah
movzx eax, byte [ebp - 0x52]
mov byte [edi + 0xe], al
movzx eax, byte [ebp - 0x51]
mov byte [edi + 0xf], al
mov eax, dword [ebp - 0x50]
mov byte [edi + 0x10], al
mov byte [edi + 0x11], ah
movzx eax, byte [ebp - 0x4e]
mov byte [edi + 0x12], al
movzx eax, byte [ebp - 0x4d]
mov byte [edi + 0x13], al
lea eax, [ebp - 0x68]
push 0x5c
push eax
call fcn.004b66d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.0054f742
mov esp, ebp
pop ebp
ret

Function at 0x4c3fa0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
xor eax, eax
pop ebp
ret
Function at 0x4c55c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push esi
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x67452301
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
mov dword [ebp - 0x4c], 0x10325476
mov dword [ebp - 0x48], 0xc3d2e1f0
call fcn.004c57b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4c563b
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004c5660
add esp, 8
mov esi, eax
lea eax, [ebp - 0x60]
push 0x5c
push eax
call fcn.004b66d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.0054f742
mov esp, ebp
pop ebp
ret
Function at 0x4c7920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push edi
mov edi, dword [ebp + 0x18]
push eax
call fcn.004af830
push edi
call fcn.004af7c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4c796b
pop edi
mov eax, 0xffffbf80
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004af830
push 0
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.004af850
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4c7abd
push edi
call fcn.004af450
movzx eax, al
push 0x40
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [ebp - 0x48], ebx
test eax, eax
je 0x4c7abd
cmp eax, dword [ebp - 0x58]
mov edi, eax
lea eax, [ebp - 0x54]
cmovae edi, dword [ebp - 0x58]
push eax
call fcn.004afa40
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4c7abd
push dword [ebp + 0x14]
lea eax, [ebp - 0x54]
push dword [ebp - 0x5c]
push eax
call fcn.004afaf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4c7abd
push 4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004afaf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4c7abd
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004af300
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4c7abd
xor ecx, ecx
test edi, edi
je 0x4c7aac
cmp edi, 0x40
jb 0x4c7aa0
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp esi, eax
ja 0x4c7a4b
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x4c7aa0
mov eax, edi
and eax, 0xffffffc0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ebp + ecx - 0x34]
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmm1, xmmword [ebp + ecx - 0x24]
pxor xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movups xmm0, xmmword [esi + 0x30]
movups xmm1, xmmword [ebp + ecx - 0x14]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp ecx, eax
jb 0x4c7a50
cmp ecx, edi
jae 0x4c7aac
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x4c7aa0
mov eax, dword [ebp + 0xc]
inc byte [ebp - 0x45]
sub eax, edi
mov dword [ebp + 0xc], eax
jne 0x4c79b7
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004b66d0
lea eax, [ebp - 0x54]
push eax
call fcn.004af3a0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, ebx
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0054f742
mov esp, ebp
pop ebp
ret
Function at 0x4ca3b0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], 0x61707865
mov dword [esi + 4], 0x3320646e
mov dword [esi + 8], 0x79622d32
mov dword [esi + 0xc], 0x6b206574
movzx ecx, byte [edx + 3]
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [edx + 7]
shl ecx, 8
movzx eax, byte [edx + 6]
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [edx + 0x18]
or ecx, eax
mov dword [esi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [esi + 0x2c], ecx
pop esi
pop ebp
ret
Function at 0x4ca590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
push edi
test ecx, ecx
je 0x4ca5df
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub edi, edx
mov esi, dword [ebx + 0x80]
cmp esi, 0x40
jae 0x4ca5d9
mov al, byte [edi + edx]
xor al, byte [esi + ebx + 0x40]
mov esi, dword [ebp - 4]
mov byte [edx], al
inc esi
inc dword [ebx + 0x80]
inc edx
mov dword [ebp - 4], esi
sub ecx, 1
jne 0x4ca5b0
jmp 0x4ca5dc
mov esi, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov edi, dword [ebp + 0x10]
lea eax, [ebx + 0x40]
mov dword [ebp - 0x14], eax
cmp ecx, 0x40
jb 0x4ca6bd
mov edx, dword [ebp + 0x14]
lea eax, [ebx + 0x41]
mov dword [ebp - 0x10], eax
mov eax, edi
sub eax, edx
shr ecx, 6
inc edx
mov dword [ebp - 0xc], eax
add esi, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edi, 3
mov eax, ecx
add edi, edx
shl eax, 6
add edx, eax
mov dword [ebp - 4], edx
nop dword [eax]
lea eax, [ebx + 0x40]
push eax
push ebx
call fcn.004ca090
mov ecx, dword [ebp - 0x10]
add esp, 8
inc dword [ebx + 0x30]
mov edx, 8
mov ebx, dword [ebp - 0xc]
nop dword [eax + eax]
movzx eax, byte [edi - 3]
lea ecx, [ecx + 8]
xor al, byte [ecx - 9]
mov byte [esi - 1], al
movzx eax, byte [esi + ebx]
xor al, byte [ecx - 8]
mov byte [esi], al
movzx eax, byte [edi - 1]
xor al, byte [ecx - 7]
mov byte [esi + 1], al
movzx eax, byte [ecx - 6]
xor al, byte [edi]
mov byte [esi + 2], al
movzx eax, byte [edi + 1]
xor al, byte [ecx - 5]
mov byte [esi + 3], al
movzx eax, byte [edi + 2]
xor al, byte [ecx - 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 3]
xor al, byte [ecx - 3]
mov byte [esi + 5], al
movzx eax, byte [edi + 4]
add edi, 8
xor al, byte [ecx - 2]
mov byte [esi + 6], al
add esi, 8
sub edx, 1
jne 0x4ca640
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
sub ecx, 0x40
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], ecx
jne 0x4ca620
mov edi, dword [ebp - 0xc]
lea eax, [ebx + 0x40]
mov esi, dword [ebp + 0x14]
jmp 0x4ca6c2
mov esi, dword [ebp + 0x14]
sub edi, esi
test ecx, ecx
je 0x4ca6ff
push eax
push ebx
call fcn.004ca090
inc dword [ebx + 0x30]
add esp, 8
mov ebx, dword [ebp - 4]
xor edx, edx
add ebx, esi
nop word [eax + eax]
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + edx]
mov al, byte [edi + ecx]
xor al, byte [esi + edx]
inc edx
mov esi, dword [ebp + 0xc]
mov byte [ecx], al
cmp edx, esi
jb 0x4ca6e0
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x80], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret