joyce8/EMBER2024-capa huggingface dataset:
Function at 0x598420
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x5984a4
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x598439
cmp al, 0x6b
jne 0x5984a4
inc ecx
cmp al, 0x6b
jne 0x59847b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x598459
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x598459
cmp dl, 0xbb
jne 0x59846d
inc eax
cmp eax, esi
jl 0x598447
sub esi, eax
test eax, eax
jne 0x59847e
push 0x50
push str.....crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x5984b0
push 0x48
push str.....crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x5984b0
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x598492
push 0x59
push str.....crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x5984b0
push esi
push ecx
push dword [ebp + 8]
call fcn.005e0280
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
push 0x3d
push str.....crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.005288a0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x59e2e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0x10
test esi, esi
jle 0x59e390
push edi
mov edi, dword [ebp + 0x10]
cmp esi, 0x20
jb 0x59e374
lea eax, [edi - 1]
lea edx, [ebx - 1]
add eax, esi
add edx, esi
cmp ebx, eax
ja 0x59e31a
cmp edx, edi
jae 0x59e374
mov eax, esi
and eax, 0x8000001f
jns 0x59e328
dec eax
or eax, 0xffffffe0
inc eax
mov edx, esi
mov esi, edi
sub edx, eax
sub esi, ebx
mov dword [ebp - 8], esi
mov eax, ebx
lea esi, [edi + 0x10]
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ecx]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x59e344
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
cmp ecx, esi
jge 0x59e38f
mov edx, esi
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x59e381
pop edi
push esi
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax + 8]
call fcn.00533e20
add esp, 0x14
test eax, eax
je 0x59e3b9
cmp dword [ebp - 4], esi
jne 0x59e3b9
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59e5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x59e613
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x59e613
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x14]
cmp edx, ebx
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x59e5e1
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x18], al
inc ecx
cmp ecx, ebx
jb 0x59e5d5
mov eax, dword [edi + 0x14]
cmp edx, eax
jbe 0x59e611
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor eax, eax
test edx, edx
je 0x59e611
nop word [eax + eax]
mov ecx, dword [edi + 0x14]
add ecx, eax
mov cl, byte [ecx + esi]
xor byte [edi + eax + 0x38], cl
inc eax
cmp eax, edx
jb 0x59e600
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x5a40d0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x6ba00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
push esi
mov esi, dword [ebp + 8]
push ecx
push 0x20
push eax
call fcn.005519d0
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.005a71e0
lea eax, [ebp - 0xe4]
push eax
push esi
call fcn.005a7490
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00537800
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop esi
call fcn.0049a6f7
mov esp, ebp
pop ebp
ret

Function at 0x5a4140
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x6ba00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x19c]
push edi
mov edi, dword [ebp + 0x14]
push eax
call fcn.00552270
push 0x20
lea eax, [ebp - 0x19c]
push esi
push eax
call fcn.00552340
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00551a50
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x19c]
push eax
call fcn.00552270
push 0x20
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00552340
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x19c]
push esi
push ebx
push eax
call fcn.00552340
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00551a50
lea eax, [ebp - 0x84]
push eax
call fcn.005aa5b0
add esp, 0x40
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.005a71e0
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call fcn.005a7490
lea eax, [ebp - 0x19c]
push eax
call fcn.00552270
push 0x20
push dword [ebp - 0x240]
lea eax, [ebp - 0x19c]
push eax
call fcn.00552340
push 0x20
lea eax, [ebp - 0x19c]
push edi
push eax
call fcn.00552340
push esi
lea eax, [ebp - 0x19c]
push ebx
push eax
call fcn.00552340
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00551a50
add esp, 0x40
lea eax, [ebp - 0xc4]
push eax
call fcn.005aa5b0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x240]
add eax, 0x20
push eax
call fcn.005a7590
lea eax, [ebp - 0x19c]
push 0xd8
push eax
call fcn.00537800
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.00537800
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00537800
mov ecx, dword [ebp - 4]
add esp, 0x2c
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0049a6f7
mov esp, ebp
pop ebp
ret
Function at 0x5a44c0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x6ba00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.005a71e0
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005a4630
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.005a6480
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.005a4ac0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.005a4d60
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.005a64f0
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00537800
mov ecx, dword [ebp - 4]
add esp, 0x44
xor ecx, ebp
pop esi
call fcn.0049a6f7
mov esp, ebp
pop ebp
ret
Function at 0x5ace60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
movd xmm0, ebx
lea edi, [eax + 0x3c]
pshufd xmm3, xmm0, 0
lea ecx, [esi + 0x3c]
cmp eax, ecx
ja 0x5aceb0
cmp edi, esi
jb 0x5aceb0
sub esi, eax
lea edi, [edx + 0x10]
nop dword [eax]
mov edx, dword [eax + esi]
lea eax, [eax + 4]
mov ecx, dword [eax - 4]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [eax + esi - 4], edx
xor dword [eax - 4], ecx
sub edi, 1
jne 0x5ace90
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, esi
lea ecx, [eax + 0x10]
sub edi, eax
nop word [eax + eax]
movups xmm1, xmmword [esi + edx*4]
lea ecx, [ecx + 0x20]
movups xmm2, xmmword [ecx - 0x30]
pxor xmm2, xmm1
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [esi + edx*4], xmm0
add edx, 8
movups xmm0, xmmword [ecx - 0x30]
pxor xmm2, xmm0
movups xmmword [ecx - 0x30], xmm2
movups xmm1, xmmword [edi + ecx - 0x20]
movups xmm2, xmmword [ecx - 0x20]
pxor xmm2, xmm1
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + ecx - 0x20], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
movups xmmword [ecx - 0x20], xmm0
cmp edx, 0x10
jb 0x5acec0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5b22c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
je 0x5b22d6
mov dword [ebp + 0x1c], fcn.005c94d0
pop ebp
jmp fcn.00581fc0
mov dword [ebp + 0x1c], fcn.005c88f0
pop ebp
jmp fcn.00581d40
Function at 0x5c36c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [edx + 4]
mov esi, edx
push edi
mov edi, dword [ebp + 0x10]
cmp ecx, dword [edi + 4]
cmovge esi, edi
cmovge edi, edx
mov dword [ebp + 0xc], esi
push dword [edi + 4]
push ebx
call fcn.0051d9d0
add esp, 8
test eax, eax
jne 0x5c36f5
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
cmp dword [esi + 4], eax
jle 0x5c3718
nop dword [eax]
mov ecx, dword [edi]
mov edx, dword [esi]
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], esi
inc eax
mov esi, dword [ebp + 0xc]
cmp eax, dword [esi + 4]
jl 0x5c3700
cmp eax, dword [edi + 4]
jge 0x5c3730
nop dword [eax]
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x5c3720
mov eax, dword [edi + 4]
push ebx
mov dword [ebx + 4], eax
call fcn.0051d730
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5c4690
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
push edi
push esi
xor edi, edi
call fcn.005583b0
push esi
call fcn.005582d0
mov esi, eax
add esp, 8
test esi, esi
je 0x5c4873
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
add eax, eax
push eax
push esi
call fcn.0051d9d0
add esp, 8
test eax, eax
je 0x5c4872
mov eax, dword [ebx + 4]
sub eax, 1
js 0x5c484b
mov edi, eax
nop dword [eax]
mov eax, dword [ebx]
mov edx, dword [eax + edi*4]
mov ecx, edx
shr ecx, 1
mov eax, edx
and eax, 0x20000
and ecx, 0x8000
or ecx, eax
mov eax, edx
and eax, 0x40000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x80000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x100000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x200000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x400000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x800000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x1000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x2000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x4000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x8000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x10000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x20000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x40000000
shr ecx, 1
or ecx, eax
and edx, 0x80000001
mov eax, dword [esi]
shr ecx, 1
or ecx, edx
shr ecx, 1
mov dword [eax + edi*8 + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
mov edx, ecx
and edx, 0x8000
mov eax, ecx
add edx, edx
and eax, 0x4000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x2000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x1000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x800
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x400
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x200
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x100
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x80
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x40
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x20
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x10
or edx, eax
mov eax, ecx
add edx, edx
and eax, 8
or edx, eax
mov eax, ecx
add edx, edx
and eax, 4
or edx, eax
mov eax, ecx
add edx, edx
and eax, 2
or edx, eax
and ecx, 1
mov eax, dword [esi]
add edx, edx
or edx, ecx
mov dword [eax + edi*8], edx
sub edi, 1
jns 0x5c46e0
xor edi, edi
mov eax, dword [ebx + 4]
add eax, eax
push esi
mov dword [esi + 4], eax
call fcn.0051d730
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.005c37d0
add esp, 0x10
mov ecx, 1
test eax, eax
cmovne edi, ecx
pop ebx
push dword [ebp + 0x14]
call fcn.00558250
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5c5150
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x67e8e0
push esi
call fcn.005e0280
mov ebx, dword [ebp + 0x10]
mov edi, 0x48
add esp, 0xc
mov dword [ebp + 8], 0
cmp dword [ebp + 0xc], edi
mov eax, ebx
cmovle edi, dword [ebp + 0xc]
add edi, ebx
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
mov ecx, dword [ebp + 8]
cmp eax, edi
cmovae eax, ebx
xor dword [esi + ecx*4], edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, 0x12
jl 0x5c5190
mov dword [ebp - 8], 0
xor edi, edi
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push esi
push eax
call fcn.005c5b90
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x5c51e2
xor edi, edi
lea eax, [ebp - 8]
push esi
push eax
call fcn.005c5b90
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x5c5206
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c6150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6ba00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xd], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 0xa], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 9], dl
test eax, eax
je 0x5c62d9
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x5c626c
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.005c5b90
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x18]
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xa], al
mov byte [ebp - 9], dl
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x5c6216
test ecx, ecx
je 0x5c62c3
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a6f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0049a6f7
mov esp, ebp
pop ebp
ret
Function at 0x5c8750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6ba00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xd], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 0xa], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 9], dl
test eax, eax
je 0x5c88d9
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x5c886c
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.005c8110
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x18]
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xa], al
mov byte [ebp - 9], dl
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x5c8816
test ecx, ecx
je 0x5c88c3
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a6f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0049a6f7
mov esp, ebp
pop ebp
ret
Function at 0x5d0d70
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xe8
push 0
push esi
call fcn.005e1780
add esp, 0xc
mov dword [esi], 0xf3bcc908
mov dword [esi + 4], 0x6a09e667
mov dword [esi + 8], 0x84caa73b
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0xfe94f82b
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0x5f1d36f1
mov dword [esi + 0x1c], 0xa54ff53a
mov dword [esi + 0x20], 0xade682d1
mov dword [esi + 0x24], 0x510e527f
mov dword [esi + 0x28], 0x2b3e6c1f
mov dword [esi + 0x2c], 0x9b05688c
mov dword [esi + 0x30], 0xfb41bd6b
mov dword [esi + 0x34], 0x1f83d9ab
mov dword [esi + 0x38], 0x137e2179
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
ret
Function at 0x5d2a40
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x74
push 0
push esi
call fcn.005e1780
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov eax, dword [ecx]
xor eax, 0x6a09e667
mov dword [esi], eax
mov eax, dword [ecx + 4]
xor eax, 0xbb67ae85
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
xor eax, 0x3c6ef372
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
xor eax, 0xa54ff53a
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
xor eax, 0x510e527f
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
xor eax, 0x9b05688c
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
xor eax, 0x1f83d9ab
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
xor eax, 0x5be0cd19
mov dword [esi + 0x1c], eax
pop esi
pop ebp
ret

Function at 0x5d35c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
shr ecx, 3
mov dword [ebp - 8], ecx
cmp esi, dword [ebp + 0x14]
jb 0x5d36c0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
nop dword [eax + eax]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x5d36a3
mov esi, dword [ebp - 8]
movzx eax, byte [ebx + 7]
cdq
mov edi, eax
mov ecx, edx
movzx eax, byte [ebx + 6]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 5]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 4]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 3]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 2]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx + 1]
shld ecx, edi, 8
cdq
shl edi, 8
or ecx, edx
or edi, eax
movzx eax, byte [ebx]
shld ecx, edi, 8
cdq
add ebx, 8
or ecx, edx
shl edi, 8
or edi, eax
push ecx
push edi
call fcn.005d2c00
mov ecx, dword [ebp - 4]
add esp, 8
mov edi, dword [ebp + 8]
xor dword [edi + ecx*8], eax
xor dword [edi + ecx*8 + 4], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, esi
jb 0x5d3602
mov esi, dword [ebp + 0x10]
push edi
call fcn.005d2d10
sub esi, dword [ebp + 0x14]
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x10], esi
cmp esi, dword [ebp + 0x14]
jae 0x5d35f0
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret