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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, ecx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x8c]
lea ebx, [eax + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.0049fc50
mov edi, dword [ebp + 8]
mov esi, edi
mov ecx, dword [ebp + 0xc]
xor esi, ecx
mov dword [esp + 0x20], eax
and esi, 1
mov eax, dword [esp + 0x14]
shl esi, 8
cmp byte [eax + 0x9c], 2
je 0x4a3024
movd xmm0, ecx
lea eax, [esp + 0x28]
cvtdq2ps xmm0, xmm0
push eax
sub esp, 8
addss xmm0, dword [0x5e2e50]
movss dword [esp + 4], xmm0
movss dword [esp + 0x30], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5e2e50]
movss dword [esp], xmm0
push ebx
call dword [esp + 0x28]
movss xmm0, dword [esp + 0x38]
add esp, 0x10
movss xmm2, dword [0x5e3054]
mov edx, dword [esp + 0x14]
mulss xmm0, xmm2
cmp byte [edx + 0x9c], 1
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm2
mov dword [esp + 0xc], eax
cvttss2si ecx, xmm0
mov dword [esp + 0x10], ecx
jne 0x4a2fb0
movss xmm1, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0049ee20
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
jmp 0x4a2fcd
movss xmm0, dword [ebx]
mulss xmm0, xmm2
cvttss2si edx, xmm0
movss xmm0, dword [ebx + 0xc]
mulss xmm0, xmm2
mov dword [esp + 0x14], edx
cvttss2si edx, xmm0
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x18], edx
test edi, edi
jle 0x4a30db
mov ebx, dword [ebp + 0x10]
nop
mov edx, eax
call fcn.004a2c50
mov ecx, dword [esp + 0x20]
lea ebx, [ebx + 2]
add eax, esi
dec edi
xor esi, 0x100
mov ax, word [ecx + eax*2]
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x18]
mov word [ebx - 2], ax
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
test edi, edi
jg 0x4a2fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [esp + 0x24], eax
cmp edi, eax
jge 0x4a30db
movss xmm1, dword [0x5e2e50]
mov eax, dword [ebp + 0x10]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x14], eax
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
lea eax, [esp + 0x28]
push eax
sub esp, 8
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [esp], xmm0
push ebx
call dword [esp + 0x28]
movss xmm0, dword [esp + 0x38]
add esp, 0x10
mulss xmm0, dword [0x5e3054]
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [0x5e3054]
cvttss2si ecx, xmm0
call fcn.004a2c50
mov ecx, dword [esp + 0x20]
add eax, esi
movss xmm0, dword [esp + 0x10]
inc edi
movss xmm1, dword [0x5e2e50]
xor esi, 0x100
mov ax, word [ecx + eax*2]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
add ecx, 2
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0x24]
jl 0x4a3055
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4aa500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x4aa57b
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4aa524
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a9a00
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 0xc], eax
movzx esi, byte [eax + edi + 3]
lea edi, [edi + 4]
mov ecx, dword [edi - 4]
inc esi
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
and ecx, 0xff00ff
imul ecx, esi
shr edx, 8
xor edx, eax
mov eax, dword [ebp + 0xc]
and edx, 0xff00ff
xor edx, ecx
mov dword [edi - 4], edx
sub ebx, 1
jne 0x4aa531
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4aa600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x4aa681
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4aa624
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a9a00
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 0xc], eax
movzx eax, byte [eax + edi + 3]
lea edi, [edi + 4]
mov ecx, dword [edi - 4]
mov esi, 0x100
sub esi, eax
mov edx, ecx
and edx, 0xff00ff
mov eax, ecx
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
and ecx, 0xff00ff
imul ecx, esi
shr edx, 8
xor edx, eax
mov eax, dword [ebp + 0xc]
and edx, 0xff00ff
xor edx, ecx
mov dword [edi - 4], edx
sub ebx, 1
jne 0x4aa631
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4b62b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, ecx
movzx eax, byte [edi + 0x62]
push eax
push dword [edi + 0x5c]
push dword [edi + 0x58]
push str.BitmapShader:___d__d__d
push dword [ebp + 8]
call fcn.004b6700
mov eax, dword [edi + 0x3c]
add esp, 0x14
test eax, eax
je 0x4b6302
mov eax, dword [eax + 0x1c]
xor edx, edx
cmp word [eax], dx
lea ecx, [eax + 4]
cmove ecx, edx
test ecx, ecx
je 0x4b6302
push ecx
push str.___s_
push dword [ebp + 8]
call fcn.004b6780
add esp, 0xc
mov eax, dword [edi + 8]
test eax, eax
je 0x4b63f9
movq xmm0, qword [eax + 0x20]
sub esp, 0x48
movups xmm1, xmmword [eax + 0x10]
mov dword [esp + 0x54], 0x5c5284
movq qword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x78]
cvtps2pd xmm0, xmm0
movups xmm2, xmmword [eax]
lea eax, [esp + 0x54]
movsd qword [esp + 0x40], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
cvtss2sd xmm0, xmm0
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp], xmm0
push str.__8.4f__8.4f__8.4f___8.4f__8.4f__8.4f___8.4f__8.4f__8.4f_
push eax
call fcn.004b6700
mov esi, dword [esp + 0x5c]
lea eax, [esi + 4]
push eax
push 0x5d55ec
push dword [ebp + 8]
call fcn.004b6780
add esp, 0x5c
cmp word [esi], 0
je 0x4b63f9
mov eax, 0xffff
add word [esi + 2], ax
jne 0x4b63f9
push esi
call fcn.005725ba
add esp, 4
movzx eax, byte [edi + 0xa8]
push dword [eax*4 + 0x5c5278]
movzx eax, byte [edi + 0xa7]
push dword [eax*4 + 0x5c5278]
push str.___s__s__
push dword [ebp + 8]
call fcn.004b6780
add esp, 0x10
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c16b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6c20
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x30]
mov dword [edi], vtable.SkPicturePlayback.0
test eax, eax
je 0x4c16ec
push eax
call fcn.005725ba
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x4c1723
push 0x4940f0
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0x2c
push eax
call fcn.005501a5
imul eax, dword [esi], 0x2c
add eax, 4
push eax
push esi
call fcn.00550167
add esp, 8
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0x10]
call fcn.0055056e
mov eax, dword [edi + 0x18]
add esp, 4
test eax, eax
je 0x4c176d
push fcn.00495e40
lea esi, [eax - 4]
mov dword [ebp - 4], 2
push dword [esi]
push 0x3c
push eax
call fcn.005501a5
mov ecx, dword [esi]
shl ecx, 4
sub ecx, dword [esi]
lea eax, [ecx*4 + 4]
push eax
push esi
call fcn.00550167
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c17aa
push 0x4acda0
lea esi, [eax - 4]
mov dword [ebp - 4], 3
push dword [esi]
push 0x14
push eax
call fcn.005501a5
mov eax, dword [esi]
lea eax, [eax + eax*4]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.00550167
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c17ca
lea edx, [ecx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
inc eax
cmp eax, 1
jne 0x4c17ca
mov dword [edx], eax
mov eax, dword [ecx]
push 1
call dword [eax]
xor esi, esi
cmp dword [edi + 0x54], esi
jle 0x4c17f6
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + esi*4]
or eax, 0xffffffff
lea edx, [ecx + 4]
lock xadd dword [edx], eax
dec eax
inc eax
cmp eax, 1
jne 0x4c17f0
mov dword [edx], eax
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [edi + 0x54]
jl 0x4c17d1
push dword [edi + 0x50]
call fcn.0055056e
mov esi, dword [edi + 0x70]
add esp, 4
test esi, esi
je 0x4c181b
push dword [esi + 4]
call fcn.0055056e
push 8
push esi
call fcn.0055053d
add esp, 0xc
lea ecx, [edi + 0x64]
mov dword [ebp - 4], 4
push 0
mov dword [ecx], vtable.SkRefCntPlayback.0
call fcn.004d1860
lea ecx, [edi + 0x58]
mov dword [ebp - 4], 5
push 0
mov dword [ecx], vtable.SkRefCntPlayback.0
call fcn.004d1860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c9800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x1c]
imul ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
movsx ebx, word [edi]
mov dword [ebp + 8], ebx
lea esi, [ecx + eax*4]
mov dword [ebp + 0xc], esi
test ebx, ebx
jle 0x4c98d1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4c98af
cmp eax, 0xff
jne 0x4c9851
push ebx
push 0xff000000
push esi
call dword [0x60ffa4]
add esp, 0xc
jmp 0x4c98af
mov ecx, eax
mov edi, 0x100
shl ecx, 0x18
sub edi, eax
mov eax, ebx
mov dword [ebp - 4], ecx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + eax*4 - 4]
dec eax
mov esi, edx
mov ecx, edx
and esi, 0xff00ff
shr ecx, 8
imul esi, edi
and ecx, 0xffff00ff
shr edx, 8
imul ecx, edi
and edx, 0xff00ff
imul edx, edi
shr esi, 8
xor esi, ecx
and esi, 0xff00ff
xor esi, edx
add esi, dword [ebp - 4]
mov dword [ebx + eax*4], esi
test eax, eax
jg 0x4c9865
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
lea edi, [edi + ebx*2]
add eax, ebx
mov dword [ebp + 0x14], edi
lea esi, [esi + ebx*4]
mov dword [ebp + 0x10], eax
movsx ebx, word [edi]
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
test ebx, ebx
jg 0x4c9831
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4cb2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, eax
mov ebx, edx
mov edx, dword [ebp + 0xc]
mov esi, ecx
sar edi, 1
sub edi, 1
js 0x4cb340
nop dword [eax]
movzx eax, word [esi]
mov ecx, eax
and eax, 0xf0f
and ecx, 0xfffff0f0
shl ecx, 0xc
or ecx, eax
imul ecx, edx
add ecx, ebx
shr ecx, 4
mov eax, ecx
shr eax, 0xc
xor eax, ecx
shr ecx, 0xc
and eax, 0xf0f
xor eax, ecx
mov word [esi], ax
movzx eax, word [esi + 2]
mov ecx, eax
and eax, 0xf0f
and ecx, 0xfffff0f0
shl ecx, 0xc
or ecx, eax
imul ecx, edx
add ecx, dword [ebp + 8]
shr ecx, 4
mov eax, ecx
shr eax, 0xc
xor eax, ecx
shr ecx, 0xc
and eax, 0xf0f
xor eax, ecx
mov word [esi + 2], ax
add esi, 4
sub edi, 1
jns 0x4cb2d0
mov eax, dword [ebp + 0x10]
test al, 1
je 0x4cb375
movzx eax, word [esi]
mov ecx, eax
and eax, 0xf0f
and ecx, 0xfffff0f0
shl ecx, 0xc
or ecx, eax
imul ecx, edx
add ecx, ebx
shr ecx, 4
mov eax, ecx
shr eax, 0xc
xor eax, ecx
shr ecx, 0xc
and eax, 0xf0f
xor eax, ecx
mov word [esi], ax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4cb440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [ebp + 0x14], 0
push esi
mov esi, ecx
je 0x4cb59d
mov al, byte [esi + 0x10]
mov byte [ebp - 1], al
test al, al
je 0x4cb59d
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
mov edi, dword [ebp + 8]
imul ecx, edx
add ecx, dword [eax + 0x10]
lea eax, [ecx + edi*2]
movzx ecx, word [esi + 8]
movzx esi, word [esi + 0xa]
xor edi, edx
and edi, 1
mov dword [ebp + 0xc], ecx
movzx ecx, cx
movzx edx, si
cmove edx, ecx
mov dword [ebp - 8], esi
cmp byte [ebp - 1], 0x10
mov dword [ebp + 8], edi
movzx ecx, dx
jne 0x4cb4eb
cmp byte [ebp + 0x14], 0xff
jne 0x4cb4eb
mov edi, dword [ebp + 0x10]
sub edi, 1
js 0x4cb59b
cmp dword [ebp + 8], 0
mov esi, ecx
mov ecx, dword [ebp + 0xc]
movzx edx, cx
mov ecx, dword [ebp - 8]
movzx ecx, cx
cmove edx, ecx
movzx edx, dx
nop dword [eax]
mov word [eax], si
add eax, ebx
sub edi, 1
movzx ecx, si
movzx esi, dx
mov edx, ecx
jns 0x4cb4d0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edx, ecx
mov edi, 0x10
and edx, 0xfffff0f0
and ecx, 0xf0f
shl edx, 0xc
or edx, ecx
movzx ecx, byte [ebp + 0x14]
inc ecx
shr ecx, 4
imul edx, ecx
shr edx, 4
mov esi, edx
and edx, 0xf0f
shr esi, 0xc
and esi, 0xff0f0
or esi, edx
mov edx, esi
and edx, 0xf
mov ecx, edx
shr ecx, 3
sub edi, ecx
mov ecx, esi
and ecx, 0xfffff0f0
and esi, 0xf0f
shl ecx, 0xc
sub edi, edx
or ecx, esi
mov esi, dword [ebp + 0x10]
mov edx, ecx
shl edx, 4
or edx, ecx
sub esi, 1
mov dword [ebp + 0x14], edx
js 0x4cb59b
nop word [eax + eax]
movzx ecx, word [eax]
mov edx, ecx
and ecx, 0xf0f
and edx, 0xfffff0f0
shl edx, 0xc
or edx, ecx
imul edx, edi
add edx, dword [ebp + 0x14]
shr edx, 4
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
shr edx, 0xc
and ecx, 0xf0f
xor ecx, edx
mov word [eax], cx
add eax, ebx
sub esi, 1
jns 0x4cb560
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cb5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov al, byte [ecx + 0x10]
mov dword [ebp - 8], ecx
mov byte [ebp - 1], al
test al, al
je 0x4cb72d
mov eax, dword [ecx + 4]
add ecx, 8
push ebx
push esi
push edi
mov edx, dword [eax + 0x1c]
imul edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
add edx, dword [eax + 0x10]
mov eax, ecx
lea ebx, [edx + edi*2]
xor edi, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
add edx, 0xa
and edi, 1
cmove eax, edx
test edi, edi
cmove edx, ecx
movzx eax, word [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
movzx ecx, word [edx]
lea esi, [eax - 1]
mov al, byte [ebp - 1]
mov dword [ebp - 0xc], esi
cmp al, 0x10
jne 0x4cb6b4
test esi, esi
js 0x4cb72a
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
movzx edi, ax
movzx edx, di
mov eax, ecx
mov dword [ebp - 0x10], edx
movzx edx, si
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], ebx
test ecx, ecx
jle 0x4cb690
test bl, 2
je 0x4cb65d
lea eax, [ebx + 2]
movzx edx, di
mov dword [ebp + 0xc], eax
lea eax, [ecx - 1]
mov word [ebx], si
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], edx
movzx ecx, si
jmp 0x4cb660
mov ecx, dword [ebp - 0x10]
sar eax, 1
push eax
movzx ecx, cx
shl ecx, 0x10
movzx eax, dx
or ecx, eax
push ecx
push dword [ebp + 0xc]
call dword [0x60ffa4]
mov eax, dword [ebp + 8]
add esp, 0xc
test al, 1
je 0x4cb68d
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov word [edx + eax*2 - 2], cx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
add ebx, dword [eax + 0x1c]
sub dword [ebp - 0xc], 1
movzx eax, si
movzx esi, di
mov edi, eax
jns 0x4cb626
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx eax, al
mov edx, 0x10
sub edx, eax
mov eax, ecx
and ecx, 0xfffff0f0
mov dword [ebp + 8], edx
and eax, 0xf0f
shl ecx, 0xc
or ecx, eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
movzx eax, ax
shl edi, 4
or edi, ecx
mov ecx, eax
and ecx, 0xfffff0f0
and eax, 0xf0f
shl ecx, 0xc
or ecx, eax
mov eax, ecx
shl eax, 4
or eax, ecx
mov dword [ebp + 0xc], eax
test esi, esi
js 0x4cb72a
push dword [ebp + 0x10]
mov ecx, ebx
push edx
push eax
mov edx, edi
call fcn.004cb2b0
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
add ebx, dword [eax + 0x1c]
sub esi, 1
mov eax, edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
jns 0x4cb700
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cc710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov al, byte [esi + 0x10]
test al, al
je 0x4cc859
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 0
jne 0x4cc774
movzx edx, word [esi + 8]
mov esi, dword [esi + 4]
cmp al, 0x10
jne 0x4cc751
push edx
push dword [ebp + 0xc]
mov edx, edi
mov ecx, esi
call fcn.004cb9a0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
movzx eax, al
mov ecx, 0x10
sub ecx, eax
push ecx
push edx
push dword [ebp + 0xc]
mov edx, edi
mov ecx, esi
call fcn.004cbc70
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push ebx
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
sub ecx, edx
mov eax, dword [eax + 0xc]
sub eax, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp + 0xc], eax
imul eax, ebx
sub ebx, dword [edi + 8]
add eax, dword [ecx + 0x10]
mov ecx, dword [edi + 0x14]
imul ebx, ecx
mov dword [ebp + 8], ecx
lea eax, [eax + edx*2]
sub ebx, dword [edi + 4]
add ebx, dword [edi]
mov edi, dword [ebp - 0x10]
add ebx, edx
movzx edx, word [esi + 8]
sub dword [ebp + 8], edi
lea ecx, [edi + edi]
sub dword [ebp + 0xc], ecx
mov ecx, edx
and edx, 0xfffff0f0
mov esi, ecx
and esi, 0xf
shl edx, 0xc
and ecx, 0xf0f
mov dword [ebp - 0xc], esi
or edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edi
movzx edi, byte [ebx]
mov ecx, esi
mov edx, 0xf
inc ebx
lea edi, [edi + 1]
shr edi, 4
imul ecx, edi
shr ecx, 4
sub edx, ecx
movzx ecx, word [eax]
mov esi, ecx
and ecx, 0xf0f
and esi, 0xfffff0f0
shl esi, 0xc
or esi, ecx
mov ecx, edx
shr ecx, 3
add ecx, edx
imul esi, ecx
mov ecx, dword [ebp - 0x14]
imul ecx, edi
add esi, ecx
shr esi, 4
mov ecx, esi
shr ecx, 0xc
xor ecx, esi
shr esi, 0xc
and ecx, 0xf0f
xor ecx, esi
mov esi, dword [ebp - 0xc]
mov word [eax], cx
add eax, 2
sub dword [ebp - 4], 1
jne 0x4cc7e3
add eax, dword [ebp + 0xc]
add ebx, dword [ebp + 8]
sub dword [ebp - 8], 1
mov edi, dword [ebp - 0x10]
jne 0x4cc7e0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4ccaf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
sar dword [ebp + 8], 3
mov eax, ecx
push ebx
mov ebx, dword [ebp + 0xc]
sub eax, edx
push esi
push edi
mov dword [ebp - 4], eax
movzx ecx, word [eax + edx]
lea edx, [edx + 2]
movzx eax, word [edx - 2]
mov edi, ecx
mov esi, eax
and edi, 0x7e0
shl edi, 0x10
and esi, 0x7e0
or edi, ecx
shl esi, 0x10
or esi, eax
and edi, 0xfffff81f
and esi, 0xfffff81f
dec ebx
sub edi, esi
imul edi, dword [ebp + 8]
shr edi, 5
add edi, esi
mov eax, edi
shr eax, 0x10
xor eax, edi
and eax, 0x7e0
xor eax, edi
mov word [edx - 2], ax
mov eax, dword [ebp - 4]
test ebx, ebx
jg 0x4ccb05
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ccf10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
cmp dword [ebx + 0x18], 0
jne 0x4ccf3b
push dword [ebp + 0xc]
mov edx, ebx
mov ecx, edi
call fcn.004ccc00
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x1c]
mov dword [ebp + 8], eax
push esi
mov esi, dword [edx + 4]
mov eax, esi
imul eax, dword [ebp + 8]
mov ecx, dword [edx]
lea eax, [eax + ecx*2]
add eax, dword [edi + 0x10]
mov edi, dword [ebx + 0x14]
mov dword [ebp + 0xc], edi
mov edi, esi
sub edi, dword [ebx + 8]
imul edi, dword [ebp + 0xc]
sub edi, dword [ebx + 4]
add edi, dword [ebx]
mov ebx, dword [edx + 8]
add edi, ecx
sub ebx, ecx
mov ecx, dword [edx + 0xc]
sub ecx, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
lea ecx, [ebx + ebx]
sub dword [ebp + 8], ecx
sub dword [ebp + 0xc], ebx
movzx ecx, word [eax]
movzx edx, byte [edi]
mov esi, ecx
and esi, 0x7e0
inc edi
shl esi, 0x10
or esi, ecx
mov ecx, 0x100
sub ecx, edx
and esi, 0xfffff81f
shr ecx, 3
imul esi, ecx
shr esi, 5
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
and ecx, 0x7e0
xor ecx, esi
mov word [eax], cx
add eax, 2
sub ebx, 1
jne 0x4ccf85
add eax, dword [ebp + 8]
add edi, dword [ebp + 0xc]
sub dword [ebp - 4], 1
mov ebx, dword [ebp - 8]
jne 0x4ccf85
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ccff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov ecx, dword [eax + 0x1c]
imul ecx, dword [ebp + 0xc]
movsx edx, word [ebx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
lea esi, [ecx + eax*2]
test edx, edx
jle 0x4cd048
push edi
mov ecx, dword [ebp + 0x10]
lea ebx, [ebx + edx*2]
lea edi, [edx + edx]
movzx eax, byte [ecx]
add ecx, edx
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x4cd03e
cmp eax, 0xff
jne 0x4cd04e
lea eax, [edx + edx]
push eax
push 0
push esi
call fcn.0056f6e0
add esp, 0xc
add esi, edi
movsx edx, word [ebx]
test edx, edx
jg 0x4cd013
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
mov edi, 0x100
sub edi, eax
shr edi, 3
nop dword [eax + eax]
movzx eax, word [esi]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, edi
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [esi], ax
add esi, 2
sub edx, 1
jne 0x4cd060
jmp 0x4cd040
Function at 0x4cd110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ecx + 0xc]
push esi
mov edx, dword [eax + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
imul edx, edi
mov dword [ebp - 0x18], ebx
mov bl, byte [ecx + 0x1a]
mov byte [ebp + 0xf], bl
mov dword [ebp - 8], 0
add edx, dword [eax + 0x10]
test bl, bl
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
setne bl
mov dword [ebp - 8], ebx
lea esi, [edx + eax*2]
movzx edx, word [ecx + 0x16]
movzx ecx, word [ecx + 0x18]
xor eax, edi
and eax, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
movsx ebx, word [eax]
mov dword [ebp - 0xc], ebx
test ebx, ebx
jle 0x4cd215
mov edi, dword [ebp + 8]
test edi, edi
movzx ecx, cx
movzx eax, dx
cmove ecx, eax
mov eax, dword [ebp - 0x10]
movzx edx, cx
movzx ecx, ax
mov eax, dword [ebp - 0x14]
movzx eax, ax
cmove ecx, eax
mov dword [ebp - 4], edx
movzx eax, cx
mov dword [ebp + 8], eax
nop dword [eax + eax]
mov ecx, dword [ebp + 0x10]
lea edi, [ebx + ebx]
add dword [ebp + 0x14], edi
movzx eax, byte [ecx]
add ecx, ebx
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x4cd1d0
cmp eax, 0xff
jne 0x4cd22b
cmp byte [ebp + 0xf], 0
push ebx
je 0x4cd21e
push dword [ebp + 8]
mov ecx, esi
call fcn.004ccb70
add esp, 8
add esi, edi
mov eax, dword [ebp - 4]
mov edi, ebx
and edi, dword [ebp - 8]
movzx ecx, ax
mov eax, dword [ebp + 8]
movzx eax, ax
cmove ecx, eax
mov eax, dword [ebp + 0x14]
movzx edx, cx
test edi, edi
movsx ebx, word [eax]
mov eax, dword [ebp + 8]
movzx ecx, ax
mov eax, dword [ebp - 4]
movzx eax, ax
cmove ecx, eax
mov dword [ebp - 0xc], ebx
movzx eax, cx
mov dword [ebp - 4], eax
mov eax, edx
mov edx, dword [ebp - 4]
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x4cd1a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edx
push esi
call dword [0x60ffa8]
add esp, 0xc
jmp 0x4cd1d0
inc eax
mov ecx, 0x20
shr eax, 3
mov edx, ebx
mov edi, eax
imul edi, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov ebx, ecx
movzx eax, word [esi]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, ebx
add ecx, edi
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [esi], ax
add esi, 2
sub edx, 1
jne 0x4cd243
mov ebx, dword [ebp - 0xc]
jmp 0x4cd1d2