joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c4f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x49c537
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14
push esi
push 0x4e28
mov dword [edi + 0x54], 0x67452301
mov dword [edi + 0x58], 0xefcdab89
mov dword [edi + 0x5c], 0x98badcfe
mov dword [edi + 0x60], 0x10325476
mov dword [edi + 0x50], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0040f690
mov esi, eax
add esp, 4
test esi, esi
jne 0x49c591
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], 0
mov byte [ebp - 9], 1
call fcn.004a9cf0
test al, al
jne 0x49c626
nop dword [eax + eax]
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push ebx
push eax
push 0x4e20
push esi
call fcn.004a9f50
mov byte [ebp - 9], al
test al, al
je 0x49c626
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x49c607
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49c5e7
push ecx
push esi
mov ecx, eax
call fcn.00412010
mov ecx, dword [ebp - 8]
push ecx
push esi
mov ecx, edi
call fcn.0049c7b0
test ebx, ebx
je 0x49c607
push dword [ebp - 0x14]
mov ecx, ebx
push 0
push dword [ebp - 8]
call fcn.00480a20
test al, al
jne 0x49c615
mov ecx, dword [ebp - 0x10]
call fcn.004a9cf0
test al, al
je 0x49c5b0
jmp 0x49c626
mov ecx, dword [ebp - 0x14]
push str.RIPEMD128_aborted_by_application
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [ebp - 9], 0
push esi
call sub.mfc140.dll_Ordinal_266
add esp, 4
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0049c650
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 9]
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14

Function at 0x49c880
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x50], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0049c7b0
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0049c650
pop esi
pop ebp
ret 0xc
Function at 0x49dc20
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
push 0x4e28
mov dword [ebp - 0x18], eax
mov dword [edi + 0x54], 0x67452301
mov dword [edi + 0x58], 0xefcdab89
mov dword [edi + 0x5c], 0x98badcfe
mov dword [edi + 0x60], 0x10325476
mov dword [edi + 0x64], 0xc3d2e1f0
mov dword [edi + 0x50], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0040f690
mov esi, eax
add esp, 4
test esi, esi
jne 0x49dcb0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], 0
mov byte [ebp - 9], 1
call fcn.004a9cf0
test al, al
jne 0x49dd3d
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push ebx
push eax
push 0x4e20
push esi
call fcn.004a9f50
mov byte [ebp - 9], al
test al, al
je 0x49dd3d
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x49dd1e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49dcfe
push ecx
push esi
mov ecx, eax
call fcn.00412010
mov ecx, dword [ebp - 8]
push ecx
push esi
mov ecx, edi
call fcn.0049def0
test ebx, ebx
je 0x49dd1e
push dword [ebp - 0x14]
mov ecx, ebx
push 0
push dword [ebp - 8]
call fcn.00480a20
test al, al
jne 0x49dd2c
mov ecx, dword [ebp - 0x10]
call fcn.004a9cf0
test al, al
je 0x49dcc7
jmp 0x49dd3d
mov ecx, dword [ebp - 0x14]
push str.RIPEMD128_aborted_by_application
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [ebp - 9], 0
push esi
call sub.mfc140.dll_Ordinal_266
add esp, 4
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0049dd70
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14

Function at 0x49dfc0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
mov dword [esi + 0x50], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0049def0
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0049dd70
pop esi
pop ebp
ret 0xc
Function at 0x49ece0
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x49ed27
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14
push edi
push 0x4e28
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0x76543210
mov dword [esi + 0x68], 0xfedcba98
mov dword [esi + 0x6c], 0x89abcdef
mov dword [esi + 0x70], 0x1234567
mov dword [esi + 0x50], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040f690
mov edi, eax
add esp, 4
test edi, edi
jne 0x49ed9d
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], 0
mov byte [ebp - 9], 1
call fcn.004a9cf0
test al, al
jne 0x49ee2a
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push ebx
push eax
push 0x4e20
push edi
call fcn.004a9f50
mov byte [ebp - 9], al
test al, al
je 0x49ee2a
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x49ee0b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49edeb
push ecx
push edi
mov ecx, eax
call fcn.00412010
mov ecx, dword [ebp - 8]
push ecx
push edi
mov ecx, esi
call fcn.0049f030
test ebx, ebx
je 0x49ee0b
push dword [ebp - 0x14]
mov ecx, ebx
push 0
push dword [ebp - 8]
call fcn.00480a20
test al, al
jne 0x49ee19
mov ecx, dword [ebp - 0x10]
call fcn.004a9cf0
test al, al
je 0x49edb4
jmp 0x49ee2a
mov ecx, dword [ebp - 0x14]
push str.RIPEMD256_aborted_by_application
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [ebp - 9], 0
push edi
call sub.mfc140.dll_Ordinal_266
add esp, 4
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0049ee60
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x14

Function at 0x49f100
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0x76543210
mov dword [esi + 0x68], 0xfedcba98
mov dword [esi + 0x6c], 0x89abcdef
mov dword [esi + 0x70], 0x1234567
mov dword [esi + 0x50], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0049f030
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0049ee60
pop esi
pop ebp
ret 0xc
Function at 0x4a0880
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
mov dword [ecx + 0x54], 0x67452301
mov dword [ecx + 0x58], 0xefcdab89
mov dword [ecx + 0x5c], 0x98badcfe
mov dword [ecx + 0x60], 0x10325476
mov dword [ecx + 0x64], 0xc3d2e1f0
mov dword [ecx + 0x68], 0x76543210
mov dword [ecx + 0x6c], 0xfedcba98
mov dword [ecx + 0x70], 0x89abcdef
mov dword [ecx + 0x74], 0x1234567
mov dword [ecx + 0x78], 0x3c2d1e0f
mov dword [ecx + 0x50], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
ret

Function at 0x4a09b0
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
mov dword [esi + 0x68], 0x76543210
mov dword [esi + 0x6c], 0xfedcba98
mov dword [esi + 0x70], 0x89abcdef
mov dword [esi + 0x74], 0x1234567
mov dword [esi + 0x78], 0x3c2d1e0f
mov dword [esi + 0x50], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004a08e0
push dword [ebp + 0x10]
mov ecx, esi
call fcn.004a0680
pop esi
pop ebp
ret 0xc
Function at 0x4a3550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5dd3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6baac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004a39f0
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.00420a70
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [edi], vtable.AsyncProgressEvent.0
mov dword [edi + 0x10], vtable.AsyncProgressEvent.1.0
call fcn.00440c10
mov dword [edi + 0x4c], 0
mov eax, edi
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [edi + 0x48], 1
mov byte [edi + 0xc], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a4c90
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 8], 0x6119a407
je 0x4a4cb0
push 0
call fcn.0040c4e0
add esp, 4
xor eax, eax
pop edi
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push esi
call fcn.00414900
mov edx, eax
mov eax, 0x1505
movsx esi, byte [edx]
test esi, esi
je 0x4a4cda
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x4a4cc7
xor edx, edx
div dword [edi + 0xc]
pop esi
mov eax, edx
pop edi
pop ebp
ret 4

Function at 0x4a7a50
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2c58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
jge 0x4a7a8a
xor al, al
jmp 0x4a7aed
test esi, esi
je 0x4a7a86
push str.getEntropy
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00430cc0
mov dword [ebp - 4], 0
xor bl, bl
call fcn.00430090
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a7ae3
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 0x20]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x1c]
call fcn.00430db0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
Function at 0x4d2620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
lea ecx, [ebx + 0x30]
call fcn.00401c90
test eax, eax
jne 0x4d2648
push 0x10
push eax
lea ecx, [ebx + 0x30]
call fcn.00412300
mov dword [ebx + 0x2c], 0xc
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x524], 0
je 0x4d266c
mov ecx, dword [ebp + 0x14]
push str.Not_in_IV_mode.
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x528]
cmp edx, 0x10
jge 0x4d285a
test edx, edx
js 0x4d285a
mov eax, dword [ebx + 0x2c]
add eax, edx
cmp eax, 0xc
jbe 0x4d2694
or dword [esi + 0x520], 1
lea ecx, [ebx + 0x30]
call fcn.00414910
xor edi, edi
mov edx, eax
mov dword [ebp + 0xc], edx
cmp dword [esi + 0x528], edi
jne 0x4d2719
test dword [ebx + 0x2c], 0xfffffff0
jbe 0x4d2717
lea ecx, [edx + 8]
lea ebx, [esi + 0x4e0]
mov dword [ebp - 4], ecx
mov eax, dword [ecx + edi - 8]
xor dword [ebx], eax
mov eax, dword [ecx + edi - 4]
push dword [ebp + 0x14]
xor dword [ebx + 4], eax
mov eax, dword [ecx + edi]
xor dword [esi + 0x4e8], eax
mov eax, dword [ecx + edi + 4]
xor dword [esi + 0x4ec], eax
push ebx
push esi
call fcn.004d4f30
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [esi + 0x530], 0x80
mov ecx, dword [ebp - 4]
adc dword [esi + 0x534], 0
add edi, 0x10
mov eax, dword [eax + 0x2c]
and eax, 0xfffffff0
cmp edi, eax
jb 0x4d26c0
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
add edx, edi
cmp edi, dword [ebx + 0x2c]
jae 0x4d284f
mov ecx, dword [esi + 0x528]
mov al, byte [edx]
inc edx
mov dword [ebp + 0xc], edx
mov byte [ecx + esi + 0x510], al
inc dword [esi + 0x528]
cmp dword [esi + 0x528], 0x10
jne 0x4d2845
movzx eax, byte [esi + 0x510]
lea ecx, [esi + 0x4e0]
xor byte [ecx], al
movzx eax, byte [esi + 0x511]
xor byte [esi + 0x4e1], al
movzx eax, byte [esi + 0x512]
xor byte [esi + 0x4e2], al
movzx eax, byte [esi + 0x513]
xor byte [esi + 0x4e3], al
movzx eax, byte [esi + 0x514]
xor byte [esi + 0x4e4], al
movzx eax, byte [esi + 0x515]
xor byte [esi + 0x4e5], al
movzx eax, byte [esi + 0x516]
xor byte [esi + 0x4e6], al
movzx eax, byte [esi + 0x517]
xor byte [esi + 0x4e7], al
movzx eax, byte [esi + 0x518]
xor byte [esi + 0x4e8], al
movzx eax, byte [esi + 0x519]
xor byte [esi + 0x4e9], al
movzx eax, byte [esi + 0x51a]
xor byte [esi + 0x4ea], al
movzx eax, byte [esi + 0x51b]
xor byte [esi + 0x4eb], al
movzx eax, byte [esi + 0x51c]
xor byte [esi + 0x4ec], al
movzx eax, byte [esi + 0x51d]
xor byte [esi + 0x4ed], al
movzx eax, byte [esi + 0x51e]
push dword [ebp + 0x14]
xor byte [esi + 0x4ee], al
movzx eax, byte [esi + 0x51f]
xor byte [esi + 0x4ef], al
push ecx
push esi
call fcn.004d4f30
mov edx, dword [ebp + 0xc]
add esp, 0xc
add dword [esi + 0x530], 0x80
mov dword [esi + 0x528], 0
adc dword [esi + 0x534], 0
inc edi
cmp edi, dword [ebx + 0x2c]
jb 0x4d2722
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
push str.buflen_error.
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d4d80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov dword [ebp - 0x18], esi
movups xmmword [ebp - 0x14], xmm0
lea edi, [esi + 0x4d0]
push edi
push edx
call dword [eax + 0x10]
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [esi + 0x510], xmm0
movups xmmword [esi + 0x4e0], xmm0
mov dword [esi + 0x524], 0
mov dword [esi + 0x520], 0
mov dword [esi + 0x528], 0
mov dword [esi + 0x530], 0
mov dword [esi + 0x534], 0
mov dword [esi + 0x538], 0
mov dword [esi + 0x53c], 0
add esi, 0x540
movups xmmword [ebp - 0x14], xmm0
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], bl
push eax
push edi
call fcn.004d2f00
inc ebx
add esp, 0xc
add esi, 0x10
cmp ebx, 0x100
jl 0x4d4e13
mov eax, dword [ebp - 0x18]
mov edi, 0xf
add eax, 0x54e
nop dword [eax]
mov esi, 0x100
nop word [eax + eax]
movzx ecx, byte [eax]
mov byte [eax + 0x1001], cl
movzx ecx, byte [eax - 1]
mov byte [eax + 0x1000], cl
movzx ecx, byte [eax - 2]
mov byte [eax + 0xfff], cl
movzx ecx, byte [eax - 3]
mov byte [eax + 0xffe], cl
movzx ecx, byte [eax - 4]
mov byte [eax + 0xffd], cl
movzx ecx, byte [eax - 5]
movzx edx, byte [eax + 1]
mov byte [eax + 0xffc], cl
movzx ecx, byte [eax - 6]
mov byte [eax + 0xffb], cl
movzx ecx, byte [eax - 7]
mov byte [eax + 0xffa], cl
movzx ecx, byte [eax - 8]
mov byte [eax + 0xff9], cl
movzx ecx, byte [eax - 9]
mov byte [eax + 0xff8], cl
movzx ecx, byte [eax - 0xa]
mov byte [eax + 0xff7], cl
movzx ecx, byte [eax - 0xb]
mov byte [eax + 0xff6], cl
movzx ecx, byte [eax - 0xc]
mov byte [eax + 0xff5], cl
movzx ecx, byte [eax - 0xd]
mov byte [eax + 0xff4], cl
movzx ecx, byte [edx*2 + 0x64eb60]
mov byte [eax + 0xff2], cl
movzx ecx, byte [edx*2 + 0x64eb61]
xor cl, byte [eax - 0xe]
mov byte [eax + 0xff3], cl
add eax, 0x10
sub esi, 1
jne 0x4d4e50
sub edi, 1
jne 0x4d4e40
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d9ce0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
sub eax, 2
je 0x4d9db8
sub eax, 1
je 0x4d9d68
sub eax, 1
jne 0x4d9d54
movzx eax, byte [ebp - 8]
mov cl, byte [esi + edx*4 + 0x18]
xor cl, byte [eax + 0x64f448]
movzx eax, byte [ebp - 7]
mov bl, byte [eax + 0x64f348]
movzx eax, byte [ebp - 6]
xor bl, byte [esi + edx*4 + 0x19]
mov ch, byte [eax + 0x64f348]
movzx eax, byte [ebp - 5]
xor ch, byte [esi + edx*4 + 0x1a]
mov bh, byte [eax + 0x64f448]
xor bh, byte [esi + edx*4 + 0x1b]
jmp 0x4d9d74
mov cl, byte [ebp - 8]
mov al, byte [ebp - 5]
mov bl, byte [ebp - 6]
mov bh, byte [ebp - 7]
mov byte [ebp - 9], cl
jmp 0x4d9e64
mov bh, byte [ebp - 5]
mov ch, byte [ebp - 6]
mov bl, byte [ebp - 7]
mov cl, byte [ebp - 8]
movzx eax, cl
mov cl, byte [esi + edx*4 + 0x10]
xor cl, byte [eax + 0x64f448]
movzx eax, bl
mov byte [ebp - 9], cl
mov bl, byte [eax + 0x64f448]
xor bl, byte [esi + edx*4 + 0x11]
movzx eax, ch
mov al, byte [eax + 0x64f348]
xor al, byte [esi + edx*4 + 0x12]
mov byte [ebp - 0xa], al
movzx eax, bh
mov bh, byte [ebp - 0xa]
mov al, byte [eax + 0x64f348]
xor al, byte [esi + edx*4 + 0x13]
mov byte [ebp - 0xb], al
mov al, cl
jmp 0x4d9dc7
mov al, byte [ebp - 5]
mov bh, byte [ebp - 6]
mov bl, byte [ebp - 7]
mov byte [ebp - 0xb], al
mov al, byte [ebp - 8]
movzx ecx, byte [esi + edx*4 + 8]
movzx eax, al
movzx eax, byte [eax + 0x64f348]
xor ecx, eax
movzx eax, byte [esi + edx*4]
movzx ecx, byte [ecx + 0x64f348]
xor ecx, eax
mov al, byte [ecx + 0x64f448]
mov byte [ebp - 9], al
movzx eax, bl
movzx ecx, byte [eax + 0x64f448]
movzx eax, byte [esi + edx*4 + 9]
xor ecx, eax
movzx eax, byte [esi + edx*4 + 1]
movzx ecx, byte [ecx + 0x64f348]
xor ecx, eax
mov al, byte [ecx + 0x64f348]
mov byte [ebp - 0xa], al
movzx eax, bh
mov bh, byte [ebp - 0xa]
movzx ecx, byte [eax + 0x64f348]
movzx eax, byte [esi + edx*4 + 0xa]
xor ecx, eax
movzx eax, byte [esi + edx*4 + 2]
movzx ecx, byte [ecx + 0x64f448]
xor ecx, eax
movzx eax, byte [ebp - 0xb]
mov bl, byte [ecx + 0x64f448]
movzx ecx, byte [eax + 0x64f448]
movzx eax, byte [esi + edx*4 + 0xb]
xor ecx, eax
movzx eax, byte [esi + edx*4 + 3]
movzx ecx, byte [ecx + 0x64f448]
xor ecx, eax
mov al, byte [ecx + 0x64f348]
movzx eax, al
movzx ecx, bl
mov edx, dword [eax*4 + 0x650148]
xor edx, dword [ecx*4 + 0x64fd48]
mov ecx, dword [ebp - 4]
movzx eax, bh
xor ecx, ebp
xor edx, dword [eax*4 + 0x64f948]
movzx eax, byte [ebp - 9]
xor edx, dword [eax*4 + 0x64f548]
mov eax, edx
mov byte [edi], dl
shr eax, 0x18
mov byte [edi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr eax, 8
mov byte [edi + 1], al
pop edi
pop esi
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
Function at 0x4dcfc0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], ebx
cmp esi, 0x80
jbe 0x4dcfe0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov ecx, 0x400
push edi
push esi
push dword [ebp + 8]
test eax, eax
lea edi, [ebx + 0x88]
push edi
cmovne ecx, eax
mov dword [ebp + 0xc], ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x80
jae 0x4dd035
mov al, byte [esi + ebx + 0x87]
mov edx, edi
movzx ecx, byte [edx]
lea edx, [edx + 1]
movzx eax, al
add ecx, eax
movzx eax, cl
mov al, byte [eax + 0x652e98]
mov byte [edi + esi], al
inc esi
cmp esi, 0x80
jb 0x4dd015
mov eax, dword [ebp + 0xc]
mov edi, 0x80
mov esi, dword [ebp - 4]
mov edx, 0xff
add esi, 0x88
lea ebx, [eax + 7]
neg eax
shr ebx, 3
and eax, 7
sub edi, ebx
mov ecx, eax
add esi, edi
sar edx, cl
movzx eax, byte [esi]
and edx, eax
mov al, byte [edx + 0x652e98]
mov byte [esi], al
test edi, edi
je 0x4dd08a
nop
movzx ecx, byte [esi + ebx - 1]
lea esi, [esi - 1]
movzx eax, al
xor ecx, eax
mov al, byte [ecx + 0x652e98]
mov byte [esi], al
sub edi, 1
jne 0x4dd070
mov edx, dword [ebp - 4]
mov esi, 0x3f
add edx, 0x106
mov edi, 0x100
nop dword [eax]
movzx ecx, byte [edx + 1]
lea edx, [edx - 2]
movzx eax, byte [edx + 2]
imul ecx, edi
add cx, ax
mov eax, esi
dec esi
mov word [edx + 2], cx
test eax, eax
jne 0x4dd0a0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4dde40
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]
push edi
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
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 + 0x454], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
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 + 0x458], 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 + 0x45c], 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
cmp dword [ebp + 0x10], 0x100
mov dword [esi + 0x460], ecx
jne 0x4ddef1
add edx, 0x10
mov edi, 0x652f98
jmp 0x4ddef6
mov edi, str.expand_16_byte_k
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 + 0x464], 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 + 0x468], 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 + 0x46c], 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 + 0x470], ecx
movsx ecx, byte [edi + 3]
movsx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x444], ecx
movsx ecx, byte [edi + 7]
movsx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x448], ecx
movsx ecx, byte [edi + 0xb]
movsx eax, byte [edi + 0xa]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 9]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x44c], ecx
movsx ecx, byte [edi + 0xf]
movsx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 0xc]
shl ecx, 8
or ecx, eax
pop edi
mov dword [esi + 0x450], ecx
pop esi
pop ebp
ret 0x10