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

Disassembly:
mov eax, 0x10
call fcn.00525ec0
mov eax, dword [esi + 0x174]
mov edx, dword [esi + 0x160]
push ebx
push ebp
push edi
mov edi, ecx
mov ecx, dword [esi + 0x164]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], eax
xor eax, eax
add ecx, dword [esi + 0x38]
mov dword [esp + 0x10], edx
adc eax, dword [esi + 0x3c]
cmp eax, 0xf
ja 0x4a8f27
jb 0x4a8d9d
cmp ecx, 0xffffffe0
ja 0x4a8f27
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
je 0x4a8dc3
lea eax, [esi + 0x60]
push eax
lea ecx, [esi + 0x40]
push ecx
call edx
add esp, 8
mov dword [esi + 0x16c], 0
mov ebx, dword [esi + 0x168]
mov ebp, dword [esi + 0xc]
bswap ebp
test ebx, ebx
je 0x4a8e12
cmp dword [esp + 0x24], 0
je 0x4a8dfb
mov al, byte [ebx + esi + 0x10]
mov ecx, dword [esp + 0x20]
xor al, byte [ecx]
dec dword [esp + 0x24]
mov byte [edi], al
xor byte [ebx + esi + 0x40], al
inc ecx
inc ebx
inc edi
and ebx, 0xf
mov dword [esp + 0x20], ecx
jne 0x4a8dd2
jmp 0x4a8e03
test ebx, ebx
jne 0x4a8f18
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0x24]
cmp ecx, 0xc00
jb 0x4a8e81
mov eax, 0xaaaaaaab
mul ecx
shr edx, 0xb
mov dword [esp + 0x10], edx
lea esp, [esp]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
push esi
push ecx
push 0xc0
push edi
push edx
call dword [esp + 0x3c]
add ebp, 0xc0
mov eax, ebp
bswap eax
push 0xc00
mov dword [esi + 0xc], eax
push edi
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x38]
mov eax, 0xc00
add dword [esp + 0x44], eax
sub dword [esp + 0x48], eax
add esp, 0x24
add edi, eax
sub dword [esp + 0x10], 1
jne 0x4a8e30
mov ecx, dword [esp + 0x24]
mov eax, ecx
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x4a8ed4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
push esi
push ecx
shr eax, 4
push eax
push edi
push edx
mov dword [esp + 0x2c], eax
call dword [esp + 0x3c]
add ebp, dword [esp + 0x2c]
lea ecx, [esi + 0x60]
mov eax, ebp
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x34], eax
sub dword [esp + 0x38], eax
push eax
push edi
push ecx
lea edx, [esi + 0x40]
push edx
call dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
add esp, 0x24
add edi, dword [esp + 0x10]
test ecx, ecx
je 0x4a8f18
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x170]
push eax
lea ecx, [esi + 0x10]
push ecx
push esi
call edx
mov edx, dword [esp + 0x2c]
inc ebp
bswap ebp
add esp, 0xc
mov dword [esi + 0xc], ebp
lea ecx, [ebx + edi]
sub edx, edi
mov al, byte [esi + ebx + 0x10]
xor al, byte [edx + ecx]
mov edi, dword [esp + 0x24]
mov byte [ecx], al
xor byte [esi + ebx + 0x40], al
dec edi
inc ebx
inc ecx
mov dword [esp + 0x24], edi
test edi, edi
jne 0x4a8efc
mov dword [esi + 0x168], ebx
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
Function at 0x4a8f40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.00525ec0
mov ecx, dword [esi + 0x164]
mov eax, dword [esi + 0x174]
mov edx, dword [esi + 0x160]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], eax
xor eax, eax
add ecx, dword [esi + 0x38]
push ebx
adc eax, dword [esi + 0x3c]
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov dword [esp + 0x14], edx
cmp eax, 0xf
ja 0x4a912d
jb 0x4a8f93
cmp ecx, 0xffffffe0
ja 0x4a912d
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
je 0x4a8fb9
lea eax, [esi + 0x60]
push eax
lea ecx, [esi + 0x40]
push ecx
call edx
add esp, 8
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x168]
bswap eax
mov dword [esp + 0xc], eax
test edi, edi
je 0x4a9007
cmp dword [esp + 0x2c], 0
je 0x4a8ff0
mov al, byte [ebx]
mov dl, byte [edi + esi + 0x10]
dec dword [esp + 0x2c]
xor dl, al
mov byte [ebp], dl
xor byte [edi + esi + 0x40], al
inc edi
inc ebx
inc ebp
and edi, 0xf
jne 0x4a8fcc
jmp 0x4a8ff8
test edi, edi
jne 0x4a911e
lea eax, [esi + 0x60]
push eax
lea ecx, [esi + 0x40]
push ecx
call dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x2c]
cmp edx, 0xc00
jb 0x4a9078
mov eax, 0xaaaaaaab
mul edx
shr edx, 0xb
mov dword [esp + 0x14], edx
push 0xc00
push ebx
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
push edx
push 0xc0
push ebp
push ebx
call dword [esp + 0x54]
mov eax, dword [esp + 0x30]
sub dword [esp + 0x50], 0xc00
add eax, 0xc0
mov dword [esp + 0x30], eax
add esp, 0x24
bswap eax
add ebp, 0xc00
add ebx, 0xc00
sub dword [esp + 0x14], 1
mov dword [esi + 0xc], eax
jne 0x4a9021
mov edx, dword [esp + 0x2c]
mov ecx, edx
and ecx, 0xfffffff0
mov dword [esp + 0x1c], ecx
je 0x4a90cf
mov eax, ecx
push ecx
shr eax, 4
mov dword [esp + 0x18], eax
push ebx
lea eax, [esi + 0x60]
push eax
lea ecx, [esi + 0x40]
push ecx
call dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push esi
push edx
push eax
push ebp
push ebx
call dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
add esp, 0x24
mov dword [esp + 0xc], eax
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
add ebp, eax
add ebx, eax
sub dword [esp + 0x2c], eax
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4a911e
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x170]
push ecx
lea edx, [esi + 0x10]
push edx
push esi
call eax
mov eax, dword [esp + 0x18]
inc eax
bswap eax
add esp, 0xc
mov dword [esi + 0xc], eax
lea eax, [edi + ebp]
sub ebx, ebp
jmp 0x4a9100
mov cl, byte [ebx + eax]
mov dl, byte [esi + edi + 0x10]
mov ebp, dword [esp + 0x2c]
xor byte [esi + edi + 0x40], cl
xor dl, cl
dec ebp
mov byte [eax], dl
inc edi
inc eax
mov dword [esp + 0x2c], ebp
test ebp, ebp
jne 0x4a9100
mov dword [esi + 0x168], edi
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
Function at 0x4a94c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x34
call fcn.00525ec0
mov eax, dword [0x5af1b4]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x48]
cmp esi, 0x80
push edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov edi, edx
jg 0x4a9679
mov edx, dword [edi]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
push ebp
mov dword [esp + 0x20], edx
mov edx, dword [edi + 8]
push eax
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0xc]
push edi
push edi
mov dword [esp + 0x34], edx
call ecx
lea eax, [esi + 7]
cdq
and edx, 7
add eax, edx
mov esi, eax
add esp, 0xc
sar esi, 3
cmp dword [esp + 0x58], 0
je 0x4a9567
test esi, esi
jle 0x4a95ae
mov eax, dword [esp + 0x14]
mov edx, edi
lea ebp, [esp + 0x2c]
sub edx, ebx
sub ebp, ebx
sub eax, ebx
mov ecx, ebx
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov ebx, dword [esp + 0x14]
mov byte [ecx + ebp], al
mov byte [ebx + ecx], al
inc ecx
sub esi, 1
jne 0x4a9550
jmp 0x4a95ae
xor ebp, ebp
test esi, esi
jle 0x4a95ae
lea eax, [esp + 0x2c]
mov ecx, eax
sub ebx, eax
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jmp 0x4a9594
mov edx, dword [esp + 0x18]
lea ecx, [esp + ebp + 0x2c]
mov al, byte [ebx + ecx]
mov dl, byte [edx + ecx]
xor dl, al
mov byte [ecx], al
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, esi
mov byte [eax + ecx], dl
jl 0x4a9590
mov eax, dword [esp + 0x50]
mov ecx, eax
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x4a95c1
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4a9602
mov ecx, dword [esp + eax + 0x1c]
mov edx, dword [esp + eax + 0x20]
lea eax, [esp + eax + 0x1c]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 4], edx
mov edx, dword [eax + 0xc]
pop ebp
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00511c1b
add esp, 0x34
ret
mov dl, 8
sub dl, cl
mov byte [esp + 0x13], dl
inc edi
lea esi, [esp + eax + 0x1d]
mov ebp, 4
movzx edx, byte [esi - 1]
mov al, byte [esi]
shl dl, cl
movzx ecx, byte [esp + 0x13]
mov bl, al
shr bl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi - 1], dl
mov dl, byte [esi + 1]
mov bl, dl
shr bl, cl
mov ecx, dword [esp + 0x14]
shl dl, cl
movzx ecx, byte [esp + 0x13]
or al, bl
mov byte [edi], al
mov al, byte [esi + 2]
mov bl, al
shr bl, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi + 1], dl
movzx edx, byte [esi + 3]
shr dl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
add esi, 4
add edi, 4
or dl, al
sub ebp, 1
mov byte [edi - 2], dl
jne 0x4a9614
pop ebp
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00511c1b
add esp, 0x34
ret
Function at 0x4a9ba0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00525ec0
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [eax]
test esi, esi
je 0x4a9be5
jmp 0x4a9bc0
test ebx, ebx
je 0x4a9be5
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x14]
xor cl, byte [ebp]
mov eax, dword [esp + 0x18]
mov byte [eax], cl
inc eax
inc ebp
inc esi
dec ebx
and esi, 0xf
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
jne 0x4a9bc0
cmp ebx, 0x10
jb 0x4a9c79
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, edx
sub eax, edi
mov dword [esp + 0x1c], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0xc], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
lea ebx, [ebx]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push edi
push eax
call dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add esp, 0xc
call fcn.004a9b80
cmp esi, 0x10
jae 0x4a9c65
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edi, edi
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [eax + ebp - 4], edx
jne 0x4a9c50
add dword [esp + 0x1c], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0xc], 1
jne 0x4a9c20
test ebx, ebx
je 0x4a9cc0
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
push eax
push edi
push ebp
call dword [esp + 0x38]
add esp, 0xc
mov edx, ebp
call fcn.004a9b80
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
mov dl, byte [eax + ebp]
xor dl, byte [eax]
dec ebx
mov byte [eax + ecx], dl
inc eax
test ebx, ebx
jne 0x4a9ca7
mov eax, dword [esp + 0x28]
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x28]
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4a9cd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x24], eax
test eax, eax
je 0x4a9d1c
lea ebx, [ebx]
test ebp, ebp
je 0x4a9d1c
mov ecx, dword [esp + 0x28]
mov dl, byte [eax + ecx]
mov edi, dword [esp + 0x14]
xor dl, byte [edi]
mov esi, dword [esp + 0x18]
mov byte [esi], dl
inc esi
inc edi
inc eax
dec ebp
and eax, 0xf
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
jne 0x4a9cf0
mov esi, dword [ebx + 0xc]
bswap esi
cmp ebp, 0x10
jb 0x4a9d86
mov edi, ebp
shr edi, 4
add esi, edi
cmp esi, edi
jae 0x4a9d35
sub edi, esi
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push eax
push edi
push ecx
push edx
call dword [esp + 0x44]
mov eax, esi
add esp, 0x14
bswap eax
mov dword [ebx + 0xc], eax
test esi, esi
jne 0x4a9d70
mov ecx, 0xc
lea ecx, [ecx]
mov al, byte [ecx + ebx - 1]
dec ecx
add al, 1
mov byte [ecx + ebx], al
jne 0x4a9d70
test ecx, ecx
jne 0x4a9d60
shl edi, 4
add dword [esp + 0x18], edi
add dword [esp + 0x14], edi
sub ebp, edi
cmp ebp, 0x10
jae 0x4a9d26
mov eax, dword [esp + 0x24]
test ebp, ebp
je 0x4a9dfe
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push ebx
push ecx
xor eax, eax
mov dword [edi], eax
push 1
mov dword [edi + 4], eax
push edi
mov dword [edi + 8], eax
push edi
mov dword [edi + 0xc], eax
call dword [esp + 0x44]
add esp, 0x14
add esi, 1
bswap esi
mov dword [ebx + 0xc], esi
jne 0x4a9dd0
mov ecx, 0xc
jmp 0x4a9dc0
mov al, byte [ecx + ebx - 1]
dec ecx
add al, 1
mov byte [ecx + ebx], al
jne 0x4a9dd0
test ecx, ecx
jne 0x4a9dc0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea eax, [edx + edi]
sub ecx, edi
sub esi, edi
add edx, ebp
mov bl, byte [ecx + eax]
xor bl, byte [eax]
dec ebp
mov byte [esi + eax], bl
inc eax
test ebp, ebp
jne 0x4a9de5
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
ret
Function at 0x4a9e10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00525ec0
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [eax]
test esi, esi
je 0x4a9e55
jmp 0x4a9e30
test ebx, ebx
je 0x4a9e55
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x14]
xor cl, byte [ebp]
mov eax, dword [esp + 0x18]
mov byte [eax], cl
inc eax
inc ebp
inc esi
dec ebx
and esi, 0xf
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
jne 0x4a9e30
cmp ebx, 0x10
jb 0x4a9ed0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, edx
sub eax, edi
mov dword [esp + 0x1c], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0xc], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
push edx
push edi
push edi
call dword [esp + 0x34]
add esp, 0xc
cmp esi, 0x10
jae 0x4a9ebc
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [eax + ebp - 4], edx
jne 0x4a9ea7
add dword [esp + 0x1c], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0xc], 1
jne 0x4a9e86
test ebx, ebx
je 0x4a9f0c
mov eax, dword [esp + 0x20]
push eax
push edi
push edi
call dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
mov dl, byte [eax + ebp]
xor dl, byte [eax]
dec ebx
mov byte [eax + ecx], dl
inc eax
test ebx, ebx
jne 0x4a9ef3
mov eax, dword [esp + 0x24]
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x24]
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4ab020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.00525ec0
mov eax, dword [0x5af1b4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x44]
movzx edx, byte [edi + 1]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
mov esi, dword [eax]
lea eax, [edi + 1]
movzx edx, byte [eax + 1]
mov dword [esp + 0x24], eax
inc eax
inc eax
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax + 1]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
inc eax
inc eax
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x2d], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x2c], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
test ebp, ebp
je 0x4ab1f1
mov ebp, 1
sub dword [esp + 0x10], ebp
test esi, esi
jne 0x4ab157
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004ab9e0
mov ebx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x28]
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x38], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 8
add dword [esp + 0xc], ebp
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov ebp, dword [esp + 0x3c]
xor cl, byte [ebp]
mov eax, dword [esp + 0x18]
inc esi
mov byte [eax], cl
inc eax
inc ebp
and esi, 7
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ebp
jne 0x4ab0f0
cmp dword [esp + 0xc], 0
je 0x4ab1d9
mov eax, dword [esp + 0x24]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
inc eax
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
inc eax
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00511c1b
add esp, 0x2c
ret
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00511c1b
add esp, 0x2c
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00511c1b
add esp, 0x2c
ret
Function at 0x4ab400
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x80
push esi
mov esi, edx
push edi
mov byte [esi], 0
jle 0x4ab417
mov eax, 0x80
test ecx, ecx
jle 0x4ab423
cmp ecx, 0x400
jle 0x4ab428
mov ecx, 0x400
push ebx
test eax, eax
jle 0x4ab442
mov edi, dword [esp + 0x14]
push ebp
sub edi, esi
mov ebp, eax
mov bl, byte [edi + edx]
mov byte [edx], bl
inc edx
sub ebp, 1
jne 0x4ab436
pop ebp
cmp eax, 0x80
movzx edx, byte [esi + eax - 1]
jge 0x4ab470
mov edi, esi
sub edi, eax
movzx ebx, byte [edi + eax]
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + 0x55f9e0]
mov byte [eax + esi], dl
inc eax
cmp eax, 0x80
jl 0x4ab452
lea edx, [ecx + 7]
neg ecx
sar edx, 3
mov eax, 0x80
and ecx, 7
sub eax, edx
lea edi, [eax + esi]
mov ebx, 0xff
sar ebx, cl
movzx ecx, byte [edi]
and ebx, ecx
movzx ecx, byte [ebx + 0x55f9e0]
mov byte [edi], cl
test eax, eax
je 0x4ab4b6
mov edi, edi
movzx ebx, byte [edi + edx - 1]
dec edi
xor ebx, ecx
movzx ecx, byte [ebx + 0x55f9e0]
dec eax
mov byte [edi], cl
test eax, eax
jne 0x4ab4a0
lea ecx, [esi + 0xfc]
lea eax, [esi + 0x7e]
mov edx, 0x40
pop ebx
movzx esi, byte [eax + 1]
movzx edi, byte [eax]
shl esi, 8
or esi, edi
and esi, 0xffff
mov dword [ecx], esi
sub ecx, 4
sub eax, 2
sub edx, 1
jne 0x4ab4c5
pop edi
pop esi
ret
Function at 0x4ac3d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.00525ec0
mov eax, dword [0x5af1b4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x44]
movzx edx, byte [edi + 1]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
mov esi, dword [eax]
lea eax, [edi + 1]
movzx edx, byte [eax + 1]
mov dword [esp + 0x24], eax
inc eax
inc eax
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax + 1]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
inc eax
inc eax
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x2d], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x2c], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
test ebp, ebp
je 0x4ac5a2
mov ebp, 1
sub dword [esp + 0x10], ebp
test esi, esi
jne 0x4ac508
mov ecx, dword [esp + 0x28]
push ebp
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.004dc040
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 0xc
add dword [esp + 0xc], ebp
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov ebp, dword [esp + 0x3c]
xor cl, byte [ebp]
mov eax, dword [esp + 0x18]
inc esi
mov byte [eax], cl
inc eax
inc ebp
and esi, 7
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ebp
jne 0x4ac4a0
cmp dword [esp + 0xc], 0
je 0x4ac58a
mov eax, dword [esp + 0x24]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
inc eax
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
inc eax
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00511c1b
add esp, 0x2c
ret
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00511c1b
add esp, 0x2c
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00511c1b
add esp, 0x2c
ret