joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51b410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [eax]
movzx ebx, byte [ecx]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x1c], edx
mov edx, edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x18]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 5], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 8], dl
test eax, eax
je 0x51b5a8
mov ecx, dword [ebp - 0x20]
sub dword [ebp - 0x1c], ecx
xor edi, edi
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
test esi, esi
jne 0x51b550
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
call fcn.00402c60
mov ebx, dword [ebp - 0x14]
add esp, 0x10
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp - 0x20]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc edi
mov dword [ebp - 0x18], edx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + esi - 0xc]
inc esi
mov edx, dword [ebp - 0x1c]
and esi, 7
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
test eax, eax
jne 0x51b4f0
test edi, edi
mov edi, dword [ebp - 0x34]
je 0x51b5a8
mov eax, dword [ebp - 0x38]
mov byte [edi + 3], dl
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr eax, 8
mov byte [edi + 4], al
mov eax, edx
shr ebx, 0x18
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 2], bl
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
Function at 0x51ba40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.00626ba0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
push edi
mov edi, edx
mov eax, dword [esi + 0x160]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], eax
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp ebx, 0xc
jne 0x51bab5
movq xmm0, qword [edi]
movq qword [esi], xmm0
mov eax, dword [edi + 8]
lea edi, [ebx - 0xb]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1000000
jmp 0x51bba9
mov dword [esi + 0x40], 0
lea edx, [esi + 0x40]
mov dword [edx + 4], 0
lea eax, [esi + 0x60]
mov dword [esi + 0x48], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], edx
mov dword [esi + 0x4c], 0
mov dword [ebp - 0xc], eax
cmp ebx, 0x10
jb 0x51bb48
mov eax, ebx
lea ecx, [esi + 0x41]
shr eax, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
lea edx, [edi + 2]
mov eax, ecx
mov esi, 4
nop dword [eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 5]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 2], cl
sub esi, 1
jne 0x51bb00
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
add esp, 8
add edi, 0x10
sub ebx, 0x10
sub dword [ebp + 8], 1
jne 0x51baf3
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
test ebx, ebx
je 0x51bb6a
mov ecx, edx
nop
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebx, 1
jne 0x51bb50
lea eax, [esi + 0x60]
push eax
push edx
call dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x18]
lea ebx, [esi + 0x40]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0x4c], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 0x48], ecx
push ebx
call dword [ebp - 4]
mov edi, dword [esi + 0x4c]
add esp, 8
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 8], eax
bswap edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x40], 0
lea eax, [esi + 0x20]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
push dword [esi + 0x174]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51bbf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.00626ba0
mov eax, dword [ecx + 0x160]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x164]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x38]
or eax, dword [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x14], ecx
je 0x51bc2b
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, esi
add eax, dword [ecx + 0x30]
adc edx, dword [ecx + 0x34]
cmp edx, 0x20000000
ja 0x51bcec
jb 0x51bc4e
test eax, eax
jne 0x51bcec
mov dword [ecx + 0x34], edx
mov edx, dword [ecx + 0x16c]
mov dword [ecx + 0x30], eax
mov dword [ebp - 4], edx
test edx, edx
je 0x51bca1
test esi, esi
je 0x51bc92
mov al, byte [edi]
dec esi
xor byte [edx + ecx + 0x40], al
inc edi
inc edx
and edx, 0xf
mov dword [ebp - 4], edx
jne 0x51bc61
lea eax, [ecx + 0x60]
lea ebx, [ecx + 0x40]
mov dword [ebp - 0xc], eax
push eax
push ebx
call dword [ebp - 8]
mov eax, dword [ebp - 4]
add esp, 8
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x51bca7
mov dword [ecx + 0x16c], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ecx + 0x60]
lea ebx, [ecx + 0x40]
mov eax, esi
and eax, 0xfffffff0
mov dword [ebp - 0xc], eax
je 0x51bcc1
push eax
push edi
push edx
push ebx
call dword [ebp - 0x10]
add edi, dword [ebp - 0xc]
add esp, 0x10
sub esi, dword [ebp - 0xc]
test esi, esi
je 0x51bcd7
mov dword [ebp - 4], esi
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ebx], al
lea ebx, [ebx + 1]
sub esi, 1
jne 0x51bcc8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x16c], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51d4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x48
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], eax
mov dl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x1d], dl
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
push edi
lea edi, [esi + 0x10]
test dl, 0x40
jne 0x51d515
push eax
push edi
push esi
call ecx
mov dl, byte [ebp - 0x1d]
add esp, 0xc
movzx eax, dl
xor ecx, ecx
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [esi], al
mov dword [ebp - 0x44], edx
cmp edx, 0xf
jae 0x51d543
nop
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x51d530
movzx eax, byte [esi + 0xf]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x51d565
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
mov eax, ebx
shr eax, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x51d5a1
push edi
push esi
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
add esp, 0x18
shl eax, 4
add dword [ebp - 0x24], eax
add dword [ebp - 0x28], eax
sub ebx, eax
je 0x51d602
shr eax, 4
mov ecx, esi
mov edx, eax
call fcn.0051d170
jmp 0x51d5b3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, ebx
test eax, eax
je 0x51d602
push dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [ebp - 0x30]
add esp, 0xc
test ebx, ebx
je 0x51d5ef
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub esi, eax
sub edx, eax
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edi, [edi + 1]
mov byte [edx + ecx - 1], al
xor byte [edi - 1], al
sub ebx, 1
jne 0x51d5d4
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x2c]
lea eax, [esi + 0x10]
mov edi, dword [ebp - 0x30]
push ebx
push eax
push eax
call edi
add esp, 0xc
jmp 0x51d608
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jae 0x51d626
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.00629cd0
add esp, 0xc
push ebx
lea eax, [ebp - 0x1c]
push eax
push esi
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 8]
pop edi
mov byte [esi], al
xor ecx, ebp
pop esi
xor eax, eax
pop ebx
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
Function at 0x51efe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.00626ba0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x14], ebx
xor ecx, ecx
test esi, esi
je 0x51f0e5
mov edx, dword [ebp + 0xc]
cmp esi, 0x40
jb 0x51f0ca
lea eax, [esi - 1]
add eax, ebx
cmp edx, eax
ja 0x51f026
lea eax, [edx - 1]
add eax, esi
cmp eax, ebx
jae 0x51f0ca
lea eax, [esi - 1]
add eax, edi
cmp edx, eax
ja 0x51f03c
lea eax, [edx - 1]
add eax, esi
cmp eax, edi
jae 0x51f0ca
mov eax, esi
mov esi, edi
sub esi, ebx
and eax, 0xffffffc0
mov dword [ebp - 4], esi
mov esi, edx
sub esi, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 8], esi
mov ebx, edi
lea esi, [edx + 0x20]
sub ebx, edx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
movups xmm0, xmmword [eax - 0x10]
mov edx, dword [ebp - 8]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + edi]
lea esi, [esi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [esi - 0x60], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edx + eax - 0x40], xmm1
mov edx, dword [ebp - 0xc]
movups xmm1, xmmword [edx + esi - 0x40]
mov edx, dword [ebp + 0xc]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [ecx + edi + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi - 0x30], xmm1
cmp ecx, dword [ebp - 0x10]
jb 0x51f062
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, esi
jae 0x51f0e5
sub edi, ebx
lea eax, [ecx + ebx]
sub edx, ebx
sub esi, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + edx - 1], cl
sub esi, 1
jne 0x51f0d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51f0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov ebx, dword [esi + 0x14]
cmp edi, ebx
jbe 0x51f1c9
mov ecx, dword [esi + 0x18]
cmp edi, ecx
jb 0x51f17c
mov eax, edi
sub eax, ecx
add eax, 4
and eax, 0xfffffffc
add eax, ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x18], eax
shl eax, 4
test ecx, ecx
jne 0x51f14e
test eax, eax
je 0x51f16e
push eax
mov dword [0x70b32c], 0
call fcn.00630d7d
add esp, 4
jmp 0x51f16e
test eax, eax
jne 0x51f164
push ecx
call fcn.0062d677
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push ecx
call fcn.0062d692
add esp, 8
test eax, eax
jne 0x51f179
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], eax
mov ecx, ebx
mov eax, edi
shl ecx, 4
mov edi, esi
sub eax, ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
nop dword [eax]
add ecx, dword [edi + 0x40]
mov edx, 1
mov bl, byte [ecx]
lea esi, [ecx + 0x10]
shr bl, 7
neg bl
push esi
and bl, 0x87
call fcn.0051ef30
mov ecx, dword [ebp - 4]
add esp, 4
xor byte [esi + 0xf], bl
add ecx, 0x10
sub dword [ebp - 8], 1
mov dword [ebp - 4], ecx
jne 0x51f190
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x14], edi
shl edi, 4
add edi, dword [esi + 0x40]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x520200
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0051fd00
add esp, 4
test eax, eax
js 0x520412
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x520289
mov eax, dword [ebp + 8]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x520240
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x52040e
lea edi, [esi + 4]
nop dword [eax]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x6bc950]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bd250]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bce50]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6be280]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6bce50]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bc950]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bd250]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6be280]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6bce50]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bc950]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bd250]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6be280]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + str.cc]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6bce50]
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bc950]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6bd250]
movzx eax, dl
movzx eax, byte [eax*4 + str.cc]
xor ecx, dword [eax*4 + 0x6be280]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x5202a0
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x527450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [eax]
movzx ebx, byte [ecx]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x1c], edx
mov edx, edi
shl ebx, 0x18
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edi
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 0x18]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov byte [ebp - 6], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x5275d6
mov ecx, dword [ebp - 0x20]
sub dword [ebp - 0x1c], ecx
xor edi, edi
dec eax
mov dword [ebp + 8], eax
test esi, esi
jne 0x52757a
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.0043f980
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
mov ecx, dword [ebp - 0x20]
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc edi
mov byte [ebp - 9], bl
mov dword [ebp - 0x18], edx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov edx, dword [ebp - 0x1c]
and esi, 7
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
test eax, eax
jne 0x527520
test edi, edi
mov edi, dword [ebp - 0x2c]
je 0x5275d6
mov ecx, dword [ebp - 0x30]
mov eax, ebx
shr eax, 0x18
mov byte [edi + 2], bl
mov byte [edi + 6], dl
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [edi], al
mov eax, ebx
shr eax, 8
mov byte [edi + 1], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 4], al
mov eax, edx
shr eax, 8
mov byte [edi + 5], al
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
Function at 0x52acb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c
call fcn.00626ba0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
shr ecx, 3
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], ecx
cmp esi, dword [ebp + 0xc]
jb 0x52aea1
nop dword [eax]
mov dword [ebp - 8], 0
test ecx, ecx
je 0x52ae88
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + 7]
cdq
mov edi, eax
mov ebx, edx
movzx eax, byte [ecx + 6]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 5]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 4]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 3]
cdq
shld ebx, edi, 8
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 2]
cdq
shld ebx, edi, 8
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 1]
cdq
shld ebx, edi, 8
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx]
cdq
add ecx, 8
mov dword [ebp - 4], ecx
shld ebx, edi, 8
shl edi, 8
or ebx, edx
or edi, eax
mov eax, edi
and eax, 0x55555555
mov ecx, eax
shr ecx, 1
or ecx, eax
and ecx, 0x33333333
mov eax, ecx
shr eax, 2
or eax, ecx
and eax, 0xf0f0f0f
mov ecx, eax
shr ecx, 4
or ecx, eax
mov eax, ebx
and ecx, 0xff00ff
and eax, 0x55555555
mov dword [ebp - 0x14], ecx
mov ecx, eax
shr ecx, 1
or ecx, eax
and ecx, 0x33333333
mov eax, ecx
shr eax, 2
or eax, ecx
and eax, 0xf0f0f0f
mov ecx, eax
shr ecx, 4
or ecx, eax
and ecx, 0xff00ff
and edi, 0xaaaaaaaa
mov dword [ebp - 0x10], ecx
lea eax, [edi + edi]
or eax, edi
and ebx, 0xaaaaaaaa
and eax, 0xcccccccc
lea ecx, [eax*4]
or ecx, eax
lea eax, [ebx + ebx]
or eax, ebx
and ecx, 0xf0f0f0f0
and eax, 0xcccccccc
mov edi, ecx
shl edi, 4
or edi, ecx
and edi, 0xff00ff00
lea ecx, [eax*4]
mov ebx, edi
or ecx, eax
shr ebx, 8
and ecx, 0xf0f0f0f0
and edi, 0xffff00
mov edx, ecx
or ebx, edi
shl edx, 4
or edx, ecx
mov edi, dword [ebp - 0x18]
and edx, 0xff00ff00
shr ebx, 8
mov eax, edx
shl eax, 8
or eax, edx
xor edx, edx
and eax, 0xffff0000
or ebx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
shl eax, 8
and ecx, 0xffffff00
or ecx, eax
mov eax, dword [ebp - 0x14]
shr eax, 8
or eax, dword [ebp - 0x14]
movzx eax, ax
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 8]
or edx, ecx
xor dword [edi + eax*8], edx
xor dword [edi + eax*8 + 4], ebx
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jb 0x52acf2
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.0052ab90
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], esi
cmp esi, dword [ebp + 0xc]
jae 0x52ace0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x537740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [edx + 4]
push edi
cmp esi, dword [ebx + 4]
mov edi, ecx
mov ecx, edx
cmovge ecx, ebx
cmovge ebx, edx
mov dword [ebp + 8], ecx
mov edx, dword [ebx + 4]
cmp edx, dword [edi + 8]
jg 0x537768
mov eax, edi
jmp 0x537772
mov ecx, edi
call fcn.0046e200
mov ecx, dword [ebp + 8]
test eax, eax
jne 0x53777b
pop edi
pop esi
pop ebx
pop ebp
ret
xor esi, esi
cmp dword [ecx + 4], esi
jle 0x53779a
mov eax, dword [ecx]
mov ecx, dword [ebx]
mov edx, dword [eax + esi*4]
xor edx, dword [ecx + esi*4]
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ecx + 4]
jl 0x537782
mov eax, dword [ebx + 4]
cmp esi, eax
jge 0x5377b3
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebx + 4]
cmp esi, eax
jl 0x5377a1
mov dword [edi + 4], eax
test eax, eax
jle 0x5377d3
mov ecx, dword [edi]
lea ecx, [ecx + eax*4]
nop
cmp dword [ecx - 4], 0
lea ecx, [ecx - 4]
jne 0x5377ce
dec eax
test eax, eax
jg 0x5377c0
mov dword [edi + 4], eax
test eax, eax
jne 0x5377dc
mov dword [edi + 0xc], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret