joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100064ce
Capabilities:
Authenticate hmac

Disassembly:
jmp 0x1010a1d0
mov eax, 0x9c
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
test edi, edi
je 0x1010a23b
cmp edi, dword [esi]
je 0x1010a22f
test ebp, ebp
je 0x1010a2ae
test ebx, ebx
js 0x1010a2ae
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x1010a241
mov edi, dword [esi]
test edi, edi
je 0x1010a2ae
push edi
call sym.libcrypto_1_1.dll_EVP_MD_meth_get_flags
add esp, 4
test al, 2
jne 0x1010a2ae
test ebp, ebp
je 0x1010a3bb
push edi
mov dword [esp + 0x14], 1
call sym.libcrypto_1_1.dll_EVP_MD_block_size
add esp, 4
cmp eax, 0x90
jg 0x1010a2ae
cmp eax, ebx
jge 0x1010a2c9
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x1010a2ae
push ebx
push ebp
push dword [esi + 4]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x1010a2ae
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call sym.libcrypto_1_1.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
jne 0x1010a2e5
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x1010a2ae
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call fcn.101aa710
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x1010a308
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call fcn.101aad60
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov edi, edi
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x1010a310
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x1010a3c8
push edi
call sym.libcrypto_1_1.dll_EVP_MD_block_size
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0x10
test eax, eax
je 0x1010a3c8
xor ecx, ecx
lea esp, [esp]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x1010a360
push ebp
push edi
push dword [esi + 0xc]
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x1010a3c8
push edi
call sym.libcrypto_1_1.dll_EVP_MD_block_size
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0x10
test eax, eax
je 0x1010a3c8
push dword [esi + 8]
push dword [esi + 4]
call sym.libcrypto_1_1.dll_EVP_MD_CTX_copy_ex
xor ebp, ebp
add esp, 8
mov ecx, 1
test eax, eax
cmovne ebp, ecx
jmp 0x1010a3ca
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1010a39f
jmp 0x1010a30c
xor ebp, ebp
test ebx, ebx
je 0x1010a3e0
lea eax, [esp + 0x18]
push 0x90
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
add esp, 8
mov eax, ebp
jmp 0x1010a2b0
Function at 0x100065b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100614c0
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x100614d2
xor eax, eax
pop edi
ret
push ebp
push esi
push dword [edi]
call sym.libcrypto_1_1.dll_EVP_CIPHER_CTX_block_size
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x10061575
mov ecx, dword [edi + 0x84]
push ebx
cmp ecx, esi
jne 0x1006151a
test esi, esi
jle 0x10061553
mov edx, ebp
lea ecx, [edi + 4]
mov ebx, esi
mov al, byte [ecx + 0x60]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x10061508
jmp 0x10061553
sub eax, ecx
mov byte [ecx + edi + 0x64], 0x80
cmp eax, 1
jle 0x10061538
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call fcn.101aad60
add esp, 0xc
test esi, esi
jle 0x10061553
mov edx, ebp
lea ecx, [edi + 0x24]
mov ebx, esi
mov al, byte [ecx + 0x40]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x10061543
push esi
push ebp
push ebp
push dword [edi]
call sym.libcrypto_1_1.dll_EVP_Cipher
add esp, 0x10
pop ebx
test eax, eax
jne 0x10061575
push esi
push ebp
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret

Function at 0x1000660e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x101188c0
mov eax, 0x10
call fcn.101aa6d0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x34]
push edi
mov esi, dword [esi]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x101188fd
mov ecx, dword [esp + 0x34]
test edi, edi
je 0x101188fd
mov al, byte [esi + ecx]
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebx
inc ebp
dec edi
and esi, 0xf
jne 0x101188e8
mov edx, dword [esp + 0x3c]
cmp edi, 0x10
jb 0x10118991
mov ecx, dword [esp + 0x34]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x10118944
mov ecx, dword [esp + 0x34]
push dword [esp + 0x30]
push ecx
push ecx
call edx
add esp, 0xc
cmp esi, 0x10
jae 0x10118974
mov eax, dword [esp + 0x34]
mov edx, 0xf
sub edx, esi
shr edx, 2
add eax, esi
inc edx
mov ecx, dword [eax + ebp]
xor ecx, dword [eax]
lea eax, [eax + 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x10118965
mov edx, dword [esp + 0x3c]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x2c]
jne 0x10118940
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x101189c0
push dword [esp + 0x30]
mov eax, dword [esp + 0x38]
push eax
push eax
call edx
mov eax, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esi + eax]
sub ebp, eax
sub ebx, eax
add esi, edi
mov al, byte [ecx + ebp]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x101189b1
mov eax, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x100067ee
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1010f480
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
test edi, edi
je 0x1010f4d9
mov al, byte [edi]
test al, al
je 0x1010f4d9
push ebx
mov ebx, pe_nt_image_headers32
jmp 0x1010f4a0
movsx eax, al
push eax
call fcn.10002a81
or eax, ebx
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol esi, cl
lea edi, [edi + 1]
add esp, 4
add ebx, 0x100
xor esi, eax
mov al, byte [edi]
test al, al
jne 0x1010f4a0
mov eax, esi
pop ebx
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x100069b5
Capabilities:
Hash data using sha224

Disassembly:
jmp 0x10157f50
mov eax, 0x74
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x7c]
push edi
test eax, eax
mov edi, 0x102790e0
push 0x70
cmovne edi, eax
lea eax, [esp + 0xc]
push 0
push eax
call fcn.101aad60
push dword [esp + 0x90]
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x20], 0xc1059ed8
mov dword [esp + 0x24], 0x367cd507
mov dword [esp + 0x28], 0x3070dd17
mov dword [esp + 0x2c], 0xf70e5939
mov dword [esp + 0x30], 0xffc00b31
mov dword [esp + 0x34], 0x68581511
mov dword [esp + 0x38], 0x64f98fa7
mov dword [esp + 0x3c], 0xbefa4fa4
mov dword [esp + 0x8c], 0x1c
call sym.libcrypto_1_1.dll_SHA256_Update
lea eax, [esp + 0x20]
push eax
push edi
call sym.libcrypto_1_1.dll_SHA256_Final
lea eax, [esp + 0x28]
push 0x70
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov ecx, dword [esp + 0xa0]
add esp, 0x28
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.101aa6fb
add esp, 0x74
ret

Function at 0x100069d8
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x101580e0
mov eax, 0x74
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x7c]
push edi
test eax, eax
mov edi, 0x102790fc
push 0x70
cmovne edi, eax
lea eax, [esp + 0xc]
push 0
push eax
call fcn.101aad60
push dword [esp + 0x90]
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x20], 0x6a09e667
mov dword [esp + 0x24], 0xbb67ae85
mov dword [esp + 0x28], 0x3c6ef372
mov dword [esp + 0x2c], 0xa54ff53a
mov dword [esp + 0x30], 0x510e527f
mov dword [esp + 0x34], 0x9b05688c
mov dword [esp + 0x38], 0x1f83d9ab
mov dword [esp + 0x3c], 0x5be0cd19
mov dword [esp + 0x8c], 0x20
call sym.libcrypto_1_1.dll_SHA256_Update
lea eax, [esp + 0x20]
push eax
push edi
call sym.libcrypto_1_1.dll_SHA256_Final
lea eax, [esp + 0x28]
push 0x70
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov ecx, dword [esp + 0xa0]
add esp, 0x28
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.101aa6fb
add esp, 0x74
ret
Function at 0x10006ae1
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1004e9b0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
cmp ebp, ebx
je 0x1004ea48
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 4]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebx + 4]
xor eax, ecx
dec edx
and eax, edx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
and eax, edx
xor ecx, eax
mov dword [ebp + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, edx
and eax, 4
xor ecx, eax
mov dword [ebp + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
mov dword [esp + 0x10], edx
cmp dword [esp + 0x18], eax
jle 0x1004ea48
push esi
push edi
jmp 0x1004ea20
mov ecx, dword [ebp]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
inc eax
mov edi, dword [ecx + eax*4 - 4]
xor edi, edx
and edi, dword [esp + 0x18]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
xor dword [ecx + eax*4 - 4], edi
cmp eax, dword [esp + 0x20]
jl 0x1004ea20
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10006ce9
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1014d2f0
mov eax, 8
call fcn.101aa6d0
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
mov eax, ebp
shr eax, 3
mov dword [esp + 8], eax
cmp esi, ebp
jb 0x1014d3fd
push ebx
mov ebx, dword [esp + 0x1c]
push edi
jmp 0x1014d320
mov dword [esp + 0x14], 0
test eax, eax
je 0x1014d3dc
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
movzx eax, byte [ebx + 7]
cdq
mov edi, eax
movzx eax, byte [ebx + 6]
mov ecx, edx
shld ecx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ebx + 5]
or ecx, edx
shld ecx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ebx + 4]
or ecx, edx
shld ecx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ebx + 3]
or ecx, edx
shld ecx, edi, 8
shl edi, 8
cdq
or edi, eax
movzx eax, byte [ebx + 2]
or ecx, edx
shld ecx, edi, 8
cdq
shl edi, 8
or edi, eax
movzx eax, byte [ebx + 1]
or ecx, edx
shld ecx, edi, 8
cdq
shl edi, 8
or edi, eax
movzx eax, byte [ebx]
or ecx, edx
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
push ecx
push edi
add ebx, 8
call fcn.1014c610
mov ecx, dword [esp + 0x24]
inc esi
xor dword [ecx + esi*8 - 8], eax
xor dword [ecx + esi*8 - 4], edx
add esp, 8
cmp esi, ebp
jb 0x1014d338
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x1014d3e0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1014c760
mov eax, dword [esp + 0x14]
sub esi, ebp
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebp
jae 0x1014d320
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 8
ret
Function at 0x10006d98
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x10139980
push ebx
push edi
mov edi, dword [esp + 0xc]
push 1
push edi
call fcn.10006f91
mov ebx, eax
push ebx
push edi
call fcn.10005dd0
add esp, 0x10
test eax, eax
je 0x101399cd
push esi
push 2
push ebx
push eax
xor esi, esi
push esi
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
cmove esi, ebx
lea eax, [esi*8]
push eax
push esi
push edi
call fcn.100057f9
push edi
call fcn.100047d2
add esp, 0x10
pop esi
test eax, eax
jne 0x101399d6
push edi
call fcn.100047d2
add esp, 4
pop edi
pop ebx
ret

Function at 0x10006ded
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10115420
mov eax, 0x14
call fcn.101aa6d0
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edx, dword [esi + 0x160]
mov edi, dword [esp + 0x28]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 8], edx
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x10115496
mov eax, dword [esp + 0x24]
mov edi, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1000000
jmp 0x1011559a
push ebx
mov ebx, dword [esp + 0x28]
push ebp
lea ebp, [esi + 0x40]
mov dword [esp + 0x20], edi
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
cmp edi, 0x10
jb 0x1011553a
lea eax, [esi + 0x60]
mov dword [esp + 0x18], eax
mov eax, edi
lea ecx, [esi + 0x41]
shr eax, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov esi, ebp
lea ecx, [ecx]
mov eax, ecx
lea edx, [ebx + 1]
mov ebp, 4
lea ebx, [ebx]
movzx ecx, byte [edx - 1]
xor byte [eax - 1], cl
movzx ecx, byte [edx]
xor byte [eax], cl
movzx ecx, byte [edx + 1]
xor byte [eax + 1], cl
movzx ecx, byte [edx + 2]
xor byte [eax + 2], cl
lea edx, [edx + 4]
lea eax, [eax + 4]
dec ebp
jne 0x101154f0
push dword [esp + 0x18]
push esi
call dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add esp, 8
add ebx, 0x10
sub edi, 0x10
dec dword [esp + 0x30]
jne 0x101154e0
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea ebp, [esi + 0x40]
test edi, edi
je 0x10115559
xor ecx, ecx
test edi, edi
je 0x1011554f
mov al, byte [ecx + ebx]
xor byte [ecx + ebp], al
inc ecx
cmp ecx, edi
jb 0x10115544
lea eax, [esi + 0x60]
push eax
push ebp
call edx
add esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0x4c], eax
lea eax, [esi + 0x60]
bswap ecx
xor dword [esi + 0x48], ecx
push eax
push ebp
call dword [esp + 0x18]
mov eax, dword [ebp]
mov edi, dword [esi + 0x4c]
mov dword [esi], eax
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x48]
bswap edi
add esp, 8
mov dword [esi + 8], eax
mov eax, dword [esi + 0x4c]
pop ebp
mov dword [esi + 0xc], eax
pop ebx
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10006f14
Capabilities:
Set socket configuration

Disassembly:
jmp 0x100336c0
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x10033700
push 0xc3
push str...crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
test esi, esi
sete al
pop esi
ret
Function at 0x1000f4a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f4be
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x1000f500
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f51e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x1000f560
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f582
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x1000f5e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f602
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x1000f660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f68a
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret
Function at 0x1000f6f0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f71a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x1000f780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x1000f7df

Function at 0x1000f7ee
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f7d0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x1000f860
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x1000f8bf

Function at 0x1000f8ce
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1000f8b0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
ret
Function at 0x10011f40
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x10012460
test edx, edx
je 0x10012460
call fcn.10011f57
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x100124a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.10011f40
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x10012511
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x100124d6
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x10017db0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
xor dl, dl
test edi, edi
je 0x10017e1a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10017e1a
movzx esi, byte [edi]
cmp dword [esp + 0x18], ecx
jne 0x10017ddf
cmp esi, 0x7f
jbe 0x10017e15
mov ecx, 1
lea ebp, [ecx + eax]
jmp 0x10017e21
or dl, 0xff
cmp esi, 0x80
jbe 0x10017df4
mov ecx, 1
lea ebp, [ecx + eax]
jmp 0x10017e21
jne 0x10017e15
xor edx, edx
lea esi, [edx + 1]
cmp eax, esi
jbe 0x10017e0b
nop
movzx ecx, byte [esi + edi]
inc esi
or edx, ecx
cmp esi, eax
jb 0x10017e00
neg edx
sbb dl, dl
movzx ecx, dl
and ecx, 1
lea ebp, [ecx + eax]
jmp 0x10017e21
mov ebp, 1
xor eax, eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10017e6b
mov esi, dword [esi]
test esi, esi
je 0x10017e6b
mov byte [esi], dl
movzx edx, dl
push ebx
lea ebx, [esi + ecx]
mov dword [esp + 0x14], edx
and edx, 1
add ebx, eax
lea esi, [edi + eax]
test eax, eax
je 0x10017e64
mov edi, dword [esp + 0x14]
sub ebx, esi
mov edi, edi
movzx ecx, byte [esi - 1]
lea esi, [esi - 1]
xor ecx, edi
add edx, ecx
mov byte [ebx + esi], dl
shr edx, 8
dec eax
jne 0x10017e50
mov eax, dword [esp + 0x20]
pop ebx
add dword [eax], ebp
pop edi
pop esi
mov eax, ebp
pop ebp
ret

Function at 0x10017f40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push ebx
movzx ebx, byte [esp + 0x14]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
and eax, 1
add esi, edx
add edi, edx
test edx, edx
je 0x10017f77
movzx ecx, byte [edi - 1]
lea edi, [edi - 1]
xor ecx, ebx
add eax, ecx
lea esi, [esi - 1]
mov byte [esi], al
shr eax, 8
dec edx
jne 0x10017f61
pop edi
pop esi
pop ebx
ret