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

Disassembly:
mov eax, 0x28
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
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
movzx eax, byte [edx + 5]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov edi, dword [esp + 0x50]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
test eax, eax
je 0x480fd3
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x480f67
push 1
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.0047f240
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, edx
shr eax, 0x18
add esp, 0xc
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x33], al
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x480f00
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x480fba
mov eax, dword [esp + 0x24]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
shr ebx, 0x18
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 8
mov byte [ebp + 3], dl
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c22ab
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x28
ret
Function at 0x481b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
push ebx
movzx ebx, byte [eax]
push ebp
push esi
push edi
lea edi, [eax + 1]
mov edx, edi
mov ebp, dword [esp + 0x60]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
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
movzx eax, byte [edx + 5]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x34]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov esi, dword [ebp]
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
test eax, eax
je 0x481cdd
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
sub ecx, ebp
mov dword [esp + 0x10], ecx
xor edi, edi
lea ebx, [ebx]
dec eax
mov dword [esp + 0x4c], eax
test esi, esi
jne 0x481c6d
push dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push dword [esp + 0x24]
push dword [esp + 0x30]
push eax
call fcn.0047f3a0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x45], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x49], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x4a], al
mov eax, edx
shr eax, 0x18
add esp, 0x10
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3b], al
inc edi
mov al, byte [esp + esi + 0x34]
xor al, byte [ebp]
inc esi
mov byte [ecx + ebp], al
mov eax, dword [esp + 0x4c]
inc ebp
and esi, 7
test eax, eax
jne 0x481c00
test edi, edi
mov edi, dword [esp + 0x24]
je 0x481cc4
mov eax, dword [esp + 0x30]
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
shr ebx, 0x18
mov byte [edi + 2], bl
mov eax, edx
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c22ab
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x30
ret
Function at 0x4833d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
movzx eax, byte [edx]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ecx
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov edi, dword [esp + 0x50]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2f], bl
mov byte [esp + 0x33], dl
test eax, eax
je 0x483595
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x483525
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.00482a00
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
add esp, 8
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x4834c0
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x48357c
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 0x18
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c22ab
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x28
ret
Function at 0x4835b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, 0x80
cmp eax, edi
cmovg eax, edi
mov byte [ebx], 0
test ebp, ebp
jg 0x4835d8
mov ebp, 0x400
jmp 0x4835e2
mov ecx, 0x400
cmp ebp, ecx
cmovg ebp, ecx
test eax, eax
jle 0x483601
sub dword [esp + 0x1c], ebx
mov edx, ebx
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov cl, byte [ebx + edx]
mov byte [edx], cl
lea edx, [edx + 1]
dec esi
jne 0x4835f2
mov ebx, dword [esp + 0x14]
movzx edx, byte [ebx + eax - 1]
cmp eax, 0x80
jge 0x483630
mov esi, ebx
sub esi, eax
movzx ecx, byte [esi + eax]
add ecx, edx
and ecx, 0xff
inc eax
movzx edx, byte [ecx + 0x50a288]
mov byte [eax + ebx - 1], dl
cmp eax, 0x80
jl 0x483611
lea eax, [ebp + 7]
sar eax, 3
sub edi, eax
neg ebp
and ebp, 7
lea esi, [edi + ebx]
mov ecx, ebp
mov edx, 0xff
sar edx, cl
mov dword [esp + 0x14], eax
movzx eax, byte [esi]
and edx, eax
movzx ecx, byte [edx + 0x50a288]
mov byte [esi], cl
test edi, edi
je 0x483679
mov edx, dword [esp + 0x14]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x50a288]
mov byte [esi], cl
dec edi
jne 0x483663
lea esi, [ebx + 0xfc]
lea edx, [ebx + 0x7e]
mov edi, 0x40
jmp 0x483690
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
and ecx, 0xffff
mov dword [esi], ecx
lea esi, [esi - 4]
lea edx, [edx - 2]
dec edi
jne 0x483690
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x484150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
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
movzx eax, byte [edx + 5]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov edi, dword [esp + 0x50]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
test eax, eax
je 0x484311
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x4842a5
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.00483de0
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
add esp, 8
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x33], al
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x484240
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x4842f8
mov eax, dword [esp + 0x24]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
shr ebx, 0x18
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 8
mov byte [ebp + 3], dl
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c22ab
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x28
ret
Function at 0x4848e0
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x484900
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x487f30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.004c72a0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x38]
push edi
mov esi, dword [esi]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x487f6d
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x487f6d
mov al, byte [esi + ecx]
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebx
inc ebp
dec edi
and esi, 0xf
jne 0x487f58
mov edx, dword [esp + 0x34]
cmp edi, 0x10
jb 0x48800d
mov ecx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x487fb4
mov ecx, dword [esp + 0x38]
push dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.004881a0
add esp, 0x10
cmp esi, 0x10
jae 0x487ff0
mov eax, dword [esp + 0x38]
mov edx, 0xf
sub edx, esi
shr edx, 2
add eax, esi
inc edx
mov ecx, dword [eax + ebp]
xor ecx, dword [eax]
lea eax, [eax + 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x487fe1
mov edx, dword [esp + 0x34]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x2c]
jne 0x487fb0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x488047
push dword [esp + 0x30]
push dword [esp + 0x3c]
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.004881a0
mov eax, dword [esp + 0x48]
add esp, 0x10
lea ecx, [esi + eax]
sub ebp, eax
sub ebx, eax
add esi, edi
mov al, byte [ecx + ebp]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x488038
mov eax, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x488060
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.004c72a0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x30]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
je 0x4880a9
mov edx, dword [esp + 0x2c]
lea esp, [esp]
test esi, esi
je 0x4880a9
mov al, byte [edi + edx]
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebx
inc ebp
dec esi
and edi, 0xf
mov dword [esp + 0x10], edi
jne 0x488090
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
bswap ecx
mov dword [esp + 0x20], ecx
cmp esi, 0x10
jb 0x488120
jmp 0x4880c0
mov edi, esi
shr edi, 4
add ecx, edi
mov dword [esp + 0x20], ecx
cmp ecx, edi
jae 0x4880d7
sub edi, ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
push edx
push dword [esp + 0x28]
push edi
push ebx
push ebp
call dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, ecx
bswap eax
add esp, 0x14
mov dword [edx + 0xc], eax
test ecx, ecx
jne 0x48810e
mov ecx, 0xc
mov edi, edi
dec ecx
inc byte [ecx + edx]
jne 0x48810a
test ecx, ecx
jne 0x488100
mov ecx, dword [esp + 0x20]
shl edi, 4
sub esi, edi
add ebx, edi
add ebp, edi
cmp esi, 0x10
jae 0x4880c0
mov edi, dword [esp + 0x10]
test esi, esi
je 0x488186
mov eax, dword [esp + 0x2c]
push edx
push dword [esp + 0x28]
xorps xmm0, xmm0
push 1
push eax
movq qword [eax], xmm0
push eax
movq qword [eax + 8], xmm0
call dword [esp + 0x48]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
add esp, 0x14
inc eax
bswap eax
mov dword [edx + 0xc], eax
jne 0x48816a
mov ecx, 0xc
lea esp, [esp]
dec ecx
inc byte [ecx + edx]
jne 0x48816a
test ecx, ecx
jne 0x488160
mov edx, dword [esp + 0x2c]
sub ebp, edx
lea ecx, [edi + edx]
sub ebx, edx
add edi, esi
mov al, byte [ecx + ebp]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
dec esi
jne 0x488177
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4881c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.004c72a0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x34]
push edi
mov esi, dword [esi]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x4881fd
mov ecx, dword [esp + 0x34]
test edi, edi
je 0x4881fd
mov al, byte [esi + ecx]
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebx
inc ebp
dec edi
and esi, 0xf
jne 0x4881e8
mov edx, dword [esp + 0x3c]
cmp edi, 0x10
jb 0x488291
mov ecx, dword [esp + 0x34]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x488244
mov ecx, dword [esp + 0x34]
push dword [esp + 0x30]
push ecx
push ecx
call edx
add esp, 0xc
cmp esi, 0x10
jae 0x488274
mov eax, dword [esp + 0x34]
mov edx, 0xf
sub edx, esi
shr edx, 2
add eax, esi
inc edx
mov ecx, dword [eax + ebp]
xor ecx, dword [eax]
lea eax, [eax + 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x488265
mov edx, dword [esp + 0x3c]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x2c]
jne 0x488240
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x4882c0
push dword [esp + 0x30]
mov eax, dword [esp + 0x38]
push eax
push eax
call edx
mov eax, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esi + eax]
sub ebp, eax
sub ebx, eax
add esi, edi
mov al, byte [ecx + ebp]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x4882b1
mov eax, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret