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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
push edi
mov eax, dword [eax + 0xc]
mov edi, eax
imul edi, edx
add edi, dword [ebx + 0x14]
sub edx, dword [ebx + 0xc]
cmp dword [ebx + 8], 0xfe
mov dword [ebp - 4], eax
jge 0x45ec71
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 4]
mov ecx, edx
mov eax, dword [eax + 0xc]
imul eax, ecx
add eax, dword [ebx + 0x18]
inc edx
mov dword [ebp + 8], edx
mov ecx, dword [eax]
mov edx, dword [ebx + 8]
mov esi, ecx
mov eax, ecx
shr eax, 8
and eax, 0xffff00ff
inc edx
imul eax, edx
and esi, 0xff00ff
imul esi, edx
shr ecx, 8
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
movzx ecx, byte [edi + 2]
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
mov edx, dword [ebp + 8]
and eax, 0xff00
shr ecx, 8
add eax, esi
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45ebcb
jmp 0x45ecfb
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
imul esi, edx
add esi, dword [ebx + 0x18]
cmp dword [eax + 0xc], 3
mov dword [ebp + 8], ecx
jne 0x45ec9f
cmp dword [ebp - 4], 3
jne 0x45ec9f
imul ecx, ecx, 3
push ecx
push esi
push edi
call fcn.004a40e0
add esp, 0xc
jmp 0x45ecfb
mov eax, dword [esi]
movzx ecx, byte [edi + 2]
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, dword [esi]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov eax, ecx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ecx
shr eax, 8
mov byte [edi + 1], al
mov byte [edi], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebx + 4]
add esi, dword [eax + 0xc]
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
test eax, eax
jg 0x45ec9f
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45ed02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [ebx + 8]
imul edi, esi
imul eax, dword [ebp + 0x10]
add edi, dword [ebx + 0x14]
sub esi, dword [ebx + 0xc]
sar eax, 8
cmp eax, 0xfe
jge 0x45ede4
inc eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebx + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
inc esi
mov dword [ebp + 8], esi
imul ecx, edx
add ecx, dword [ebx + 0x18]
mov edx, dword [ebp + 0x10]
movzx esi, byte [ecx + 2]
movzx eax, byte [ecx]
shl esi, 0x10
or esi, eax
movzx eax, byte [ecx + 1]
imul esi, edx
or eax, 0xffff0000
imul eax, edx
shr esi, 8
xor esi, eax
movzx eax, byte [ecx + 1]
movzx ecx, byte [edi + 2]
or eax, 0xff0000
imul eax, edx
and esi, 0xff00ff
xor esi, eax
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45ed3a
jmp 0x45ee1b
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebx + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
add edx, dword [ebx + 0x18]
inc esi
mov al, byte [edx]
mov byte [edi], al
mov al, byte [edx + 1]
mov byte [edi + 1], al
mov al, byte [edx + 2]
mov byte [edi + 2], al
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
test eax, eax
jg 0x45edea
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x45ee22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
imul ebx, esi
add ebx, dword [edi + 0x14]
sub esi, dword [edi + 0xc]
cmp dword [edi + 8], 0xfe
jge 0x45ef00
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
inc esi
mov dword [ebp + 8], esi
mov esi, dword [ecx + 0xc]
mov ecx, dword [edi + 8]
imul esi, edx
add esi, dword [edi + 0x18]
inc ecx
mov edx, 0x100
movzx edi, byte [esi + 2]
movzx eax, byte [esi]
shl edi, 0x10
or edi, eax
movzx eax, byte [esi + 1]
imul edi, ecx
or eax, 0xffff0000
imul eax, ecx
shr edi, 8
xor edi, eax
movzx eax, byte [esi + 1]
or eax, 0xff0000
imul eax, ecx
movzx ecx, byte [ebx + 2]
and edi, 0xff00ff
xor edi, eax
mov eax, edi
shr eax, 0x18
sub edx, eax
movzx eax, byte [ebx]
shl ecx, 0x10
or ecx, eax
movzx eax, byte [ebx + 1]
imul ecx, edx
imul eax, edx
mov esi, dword [ebp + 8]
and eax, 0xff00
add eax, edi
mov edi, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [ebx], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [ebx + 1], al
mov byte [ebx + 2], cl
mov eax, dword [edi]
add ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45ee52
jmp 0x45ef34
mov dword [ebp + 8], eax
mov ecx, dword [edi + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
add edx, dword [edi + 0x18]
inc esi
mov al, byte [edx]
mov byte [ebx], al
mov al, byte [edx + 1]
mov byte [ebx + 1], al
mov al, byte [edx + 2]
mov byte [ebx + 2], al
mov eax, dword [edi]
add ebx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
test eax, eax
jg 0x45ef03
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45ef3b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push edi
mov edi, eax
mov dword [ebp - 4], eax
imul edi, esi
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x10]
add edi, dword [ebx + 0x14]
sub esi, dword [ebx + 0xc]
sar eax, 8
cmp eax, 0xfe
jge 0x45f01f
inc eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 4]
mov ecx, esi
mov edx, dword [eax + 0xc]
imul edx, ecx
add edx, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x10]
inc esi
movzx eax, byte [edx]
mov dword [ebp + 8], esi
movzx esi, byte [edx + 2]
shl esi, 0x10
or esi, eax
movzx eax, byte [edx + 1]
imul esi, ecx
or eax, 0xffff0000
imul eax, ecx
shr esi, 8
xor esi, eax
movzx eax, byte [edx + 1]
or eax, 0xff0000
imul eax, ecx
movzx ecx, byte [edi + 2]
and esi, 0xff00ff
xor esi, eax
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45ef79
jmp 0x45f06a
mov eax, dword [ebx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
imul ecx, esi
add ecx, dword [ebx + 0x18]
cmp dword [eax + 0xc], 3
jne 0x45f04a
cmp dword [ebp - 4], 3
jne 0x45f04a
imul edx, edx, 3
push edx
push ecx
push edi
call fcn.004a40e0
add esp, 0xc
jmp 0x45f06a
mov al, byte [ecx]
mov byte [edi], al
mov al, byte [ecx + 1]
mov byte [edi + 1], al
mov al, byte [ecx + 2]
mov byte [edi + 2], al
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebx + 4]
add ecx, dword [eax + 0xc]
dec edx
test edx, edx
jg 0x45f04a
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45f071
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push edi
mov edi, eax
imul edi, esi
add edi, dword [ebx + 0x14]
sub esi, dword [ebx + 0xc]
cmp dword [ebx + 8], 0xfe
mov dword [ebp - 4], eax
jge 0x45f14a
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 4]
mov ecx, esi
mov edx, dword [eax + 0xc]
imul edx, ecx
add edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 8]
inc esi
movzx eax, byte [edx]
mov dword [ebp + 8], esi
movzx esi, byte [edx + 2]
shl esi, 0x10
or esi, eax
movzx eax, byte [edx + 1]
or eax, 0xffff0000
inc ecx
imul eax, ecx
imul esi, ecx
shr esi, 8
xor esi, eax
movzx eax, byte [edx + 1]
or eax, 0xff0000
imul eax, ecx
movzx ecx, byte [edi + 2]
and esi, 0xff00ff
xor esi, eax
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f0a3
jmp 0x45f195
mov eax, dword [ebx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
imul ecx, esi
add ecx, dword [ebx + 0x18]
cmp dword [eax + 0xc], 3
jne 0x45f175
cmp dword [ebp - 4], 3
jne 0x45f175
imul edx, edx, 3
push edx
push ecx
push edi
call fcn.004a40e0
add esp, 0xc
jmp 0x45f195
mov al, byte [ecx]
mov byte [edi], al
mov al, byte [ecx + 1]
mov byte [edi + 1], al
mov al, byte [ecx + 2]
mov byte [edi + 2], al
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebx + 4]
add ecx, dword [eax + 0xc]
dec edx
test edx, edx
jg 0x45f175
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45f19c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [ebx + 8]
imul edi, esi
imul eax, dword [ebp + 0x10]
sub esi, dword [ebx + 0xc]
add edi, dword [ebx + 0x14]
sar eax, 8
mov dword [ebp + 8], esi
cmp eax, 0xfe
jge 0x45f26a
inc eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebx + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
inc esi
mov dword [ebp + 8], esi
imul eax, edx
add eax, dword [ebx + 0x18]
mov edx, 0x100
movzx eax, byte [eax]
mov ecx, eax
shl ecx, 0x10
or ecx, eax
imul ecx, dword [ebp + 0x10]
mov esi, ecx
shr esi, 8
xor esi, ecx
and esi, 0xff00ff
xor esi, ecx
movzx ecx, byte [edi + 2]
mov eax, esi
shr eax, 0x18
sub edx, eax
movzx eax, byte [edi]
shl ecx, 0x10
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f1d7
jmp 0x45f2f5
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebx + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
add edx, dword [ebx + 0x18]
movzx ecx, byte [edi + 2]
movzx eax, byte [edx]
mov esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov eax, ecx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ecx
shr eax, 8
mov byte [edi + 1], al
mov byte [edi], cl
mov eax, dword [ebx]
inc esi
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f270
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x45f2fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
imul edi, esi
sub esi, dword [ebx + 0xc]
add edi, dword [ebx + 0x14]
cmp dword [ebx + 8], 0xfe
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
jge 0x45f3c1
mov ecx, dword [ebx + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebx + 8]
inc esi
mov dword [ebp + 8], esi
imul eax, edx
add eax, dword [ebx + 0x18]
inc ecx
movzx eax, byte [eax]
mov edx, eax
shl edx, 0x10
or edx, eax
imul edx, ecx
movzx ecx, byte [edi + 2]
mov esi, edx
shr esi, 8
xor esi, edx
and esi, 0xff00ff
xor esi, edx
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f32b
jmp 0x45f446
mov ecx, dword [ebx + 4]
mov eax, esi
cdq
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
add edx, dword [ebx + 0x18]
movzx ecx, byte [edi + 2]
movzx eax, byte [edx]
mov esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov eax, ecx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ecx
shr eax, 8
mov byte [edi + 1], al
mov byte [edi], cl
mov eax, dword [ebx]
inc esi
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f3c1
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45f44d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push edi
mov edi, eax
mov dword [ebp - 4], eax
imul edi, esi
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x10]
add edi, dword [ebx + 0x14]
sub esi, dword [ebx + 0xc]
sar eax, 8
cmp eax, 0xfe
jge 0x45f51e
lea edx, [eax + 1]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 4]
mov ecx, esi
mov eax, dword [eax + 0xc]
imul eax, ecx
add eax, dword [ebx + 0x18]
inc esi
mov dword [ebp + 8], esi
movzx eax, byte [eax]
mov ecx, eax
shl ecx, 0x10
or ecx, eax
imul ecx, edx
mov esi, ecx
shr esi, 8
xor esi, ecx
and esi, 0xff00ff
xor esi, ecx
movzx ecx, byte [edi + 2]
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
mov edx, dword [ebp + 0x10]
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f48d
jmp 0x45f5c5
mov eax, dword [ebx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
imul ecx, esi
add ecx, dword [ebx + 0x18]
cmp dword [eax + 0xc], 3
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], ecx
jne 0x45f54f
cmp dword [ebp - 4], 3
jne 0x45f54f
imul edx, edx, 3
push edx
push ecx
push edi
call fcn.004a40e0
add esp, 0xc
jmp 0x45f5c5
movzx eax, byte [ecx]
movzx ecx, byte [edi + 2]
mov esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
shl ecx, 0x10
mov eax, esi
shr eax, 0x18
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov eax, ecx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ecx
shr eax, 8
mov byte [edi + 1], al
mov byte [edi], cl
mov eax, dword [ebx]
mov ecx, dword [ebp + 8]
add edi, dword [eax + 0xc]
mov eax, dword [ebx + 4]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f54f
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45f5cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push edi
mov edi, eax
imul edi, esi
add edi, dword [ebx + 0x14]
sub esi, dword [ebx + 0xc]
cmp dword [ebx + 8], 0xfe
mov dword [ebp - 4], eax
jge 0x45f690
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 4]
mov ecx, esi
mov eax, dword [eax + 0xc]
imul eax, ecx
add eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 8]
inc esi
movzx eax, byte [eax]
mov edx, eax
inc ecx
shl edx, 0x10
or edx, eax
imul edx, ecx
movzx ecx, byte [edi + 2]
mov dword [ebp + 8], esi
mov esi, edx
shr esi, 8
xor esi, edx
and esi, 0xff00ff
xor esi, edx
mov eax, esi
shr eax, 0x18
shl ecx, 0x10
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov byte [edi], cl
mov eax, ecx
shr eax, 8
shr ecx, 0x10
mov byte [edi + 1], al
mov byte [edi + 2], cl
mov eax, dword [ebx]
add edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f5fe
jmp 0x45f737
mov eax, dword [ebx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
imul ecx, esi
add ecx, dword [ebx + 0x18]
cmp dword [eax + 0xc], 3
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], ecx
jne 0x45f6c1
cmp dword [ebp - 4], 3
jne 0x45f6c1
imul edx, edx, 3
push edx
push ecx
push edi
call fcn.004a40e0
add esp, 0xc
jmp 0x45f737
movzx eax, byte [ecx]
movzx ecx, byte [edi + 2]
mov esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
shl esi, 8
or esi, eax
shl ecx, 0x10
mov eax, esi
shr eax, 0x18
mov edx, 0x100
sub edx, eax
movzx eax, byte [edi]
or ecx, eax
movzx eax, byte [edi + 1]
imul ecx, edx
imul eax, edx
and eax, 0xff00
add eax, esi
shr ecx, 8
and ecx, 0xff00ff
add ecx, eax
mov eax, ecx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ecx
shr eax, 8
mov byte [edi + 1], al
mov byte [edi], cl
mov eax, dword [ebx]
mov ecx, dword [ebp + 8]
add edi, dword [eax + 0xc]
mov eax, dword [ebx + 4]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f6c1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45f73e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov eax, dword [edi + 8]
imul esi, ebx
imul eax, dword [ebp + 0x10]
add esi, dword [edi + 0x14]
sub ebx, dword [edi + 0xc]
sar eax, 8
cmp eax, 0xfe
jge 0x45f7b7
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi + 0x18]
inc ebx
imul ecx, edx
movzx edx, byte [ecx + eax + 3]
imul edx, dword [ebp + 8]
movzx eax, byte [esi]
shr edx, 8
mov ecx, 0x100
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
mov eax, dword [edi]
add esi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f772
jmp 0x45f7f7
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
movzx eax, byte [esi]
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
mov eax, dword [edi]
inc ebx
add esi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f7bd
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x45f7fe
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
imul esi, ebx
add esi, dword [edi + 0x14]
sub ebx, dword [edi + 0xc]
cmp dword [edi + 8], 0xfe
mov dword [ebp + 0xc], eax
jge 0x45f86e
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi + 0x18]
inc ebx
imul ecx, edx
movzx edx, byte [ecx + eax + 3]
mov eax, dword [edi + 8]
inc eax
imul edx, eax
movzx eax, byte [esi]
shr edx, 8
mov ecx, 0x100
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
mov eax, dword [edi]
add esi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f826
jmp 0x45f8a8
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
movzx eax, byte [esi]
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
mov eax, dword [edi]
inc ebx
add esi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x45f86e
pop edi
pop esi
pop ebx
pop ebp
ret 8