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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x639034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
mov dword [ebp - 0x28], ecx
mov edx, esi
mov dword [ebp - 0x24], esi
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
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 - 0x1c], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
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
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
je 0x4d5589
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x4d5536
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.004d5123
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, dword [ebp - 0x18]
shr eax, 8
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
pop ecx
shr eax, 0x18
inc dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x4d54de
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x4d5589
mov eax, dword [ebp - 0x28]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [esi], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [esi + 2], bl
shr eax, 8
mov byte [esi + 3], dl
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.00546623
leave
ret
Function at 0x4d559d
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1048
push 0x5f5418
push edi
call fcn.0055f020
mov ebx, dword [ebp + 0x10]
add esp, 0xc
push 0x48
pop edx
cmp dword [ebp + 0xc], edx
cmovle edx, dword [ebp + 0xc]
add edx, ebx
xor esi, esi
movzx ecx, byte [ebx]
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
xor dword [edi + esi*4], ecx
inc esi
cmp esi, 0x12
jl 0x4d55cc
xor esi, esi
mov dword [ebp - 8], esi
mov ebx, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 8]
push edi
push eax
call fcn.004d5fc2
mov eax, dword [ebp - 8]
mov dword [edi + ebx*4], eax
mov eax, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
pop ecx
pop ecx
cmp ebx, 0x12
jl 0x4d5616
lea eax, [ebp - 8]
push edi
push eax
call fcn.004d5fc2
mov eax, dword [ebp - 8]
mov dword [edi + esi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [edi + esi*4 + 0x4c], eax
add esi, 2
pop ecx
pop ecx
cmp esi, 0x400
jl 0x4d5637
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d6546
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x639034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
shl ebx, 0x18
mov edx, esi
mov dword [ebp - 0x28], ecx
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
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
mov dword [ebp - 0x24], esi
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x1c], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
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
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
je 0x4d66c3
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x4d666c
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.004d5fc2
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, dword [ebp - 0x18]
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
pop ecx
shr eax, 8
inc dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x4d6614
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x4d66c3
mov ecx, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
mov eax, ebx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 2], bl
mov byte [esi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.00546623
leave
ret
Function at 0x4d8b19
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x639034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
shl ebx, 0x18
mov edx, esi
mov dword [ebp - 0x28], ecx
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
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
mov dword [ebp - 0x24], esi
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x1c], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
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
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
je 0x4d8c96
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x4d8c3f
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.004d8511
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, dword [ebp - 0x18]
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
pop ecx
shr eax, 8
inc dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x4d8be7
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x4d8c96
mov ecx, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
mov eax, ebx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 2], bl
mov byte [esi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.00546623
leave
ret
Function at 0x4d8cec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x639034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
test esi, esi
je 0x4d8e60
push 0x10
pop ebx
cmp edi, ecx
je 0x4d8d93
mov eax, edx
mov dword [ebp - 0x30], eax
cmp esi, ebx
jb 0x4d8d83
mov eax, esi
shr eax, 4
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x28]
push ecx
push edi
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov esi, ecx
sub edx, ecx
push 4
pop edi
mov eax, dword [edx + esi]
xor dword [esi], eax
lea esi, [esi + 4]
sub edi, 1
jne 0x4d8d58
mov edi, dword [ebp - 0x20]
add ecx, ebx
sub dword [ebp + 0x10], ebx
mov eax, edi
add edi, ebx
mov dword [ebp - 0x30], eax
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ecx
jne 0x4d8d40
mov edx, dword [ebp - 0x24]
mov esi, eax
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0x20]
jmp 0x4d8dec
cmp esi, ebx
jb 0x4d8def
mov eax, esi
mov dword [ebp - 0x20], ecx
shr eax, 4
mov dword [ebp - 0x1c], eax
shl eax, 4
add ecx, eax
mov dword [ebp - 0x18], ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov esi, dword [ebp - 0x20]
xor ebx, ebx
mov eax, dword [ebp + ebx*4 - 0x14]
xor eax, dword [edx + ebx*4]
mov ecx, dword [edi + ebx*4]
mov dword [esi + ebx*4], eax
mov dword [edx + ebx*4], ecx
inc ebx
cmp ebx, 4
jb 0x4d8dc0
mov esi, dword [ebp + 0x10]
push 0x10
pop ebx
add dword [ebp - 0x20], ebx
sub esi, ebx
add edi, ebx
mov dword [ebp + 0x10], esi
sub dword [ebp - 0x1c], 1
jne 0x4d8daa
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x4d8e60
lea ecx, [ebp - 0x14]
sub dword [ebp - 0x18], ecx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp eax, esi
jae 0x4d8e38
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebp + eax - 0x14]
mov dl, byte [edi + eax]
push 0x10
xor cl, byte [ebx + eax]
add eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x14], cl
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
pop ebx
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jb 0x4d8e0d
cmp esi, ebx
jbe 0x4d8e4a
add dword [ebp - 0x18], ebx
add edi, ebx
mov eax, dword [ebp - 0x28]
sub esi, ebx
jne 0x4d8df9
jmp 0x4d8e60
cmp eax, ebx
jae 0x4d8e60
sub edi, dword [ebp - 0x24]
add ecx, eax
sub ebx, eax
mov al, byte [edi + ecx]
mov byte [ecx], al
inc ecx
sub ebx, 1
jne 0x4d8e55
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00546623
leave
ret
Function at 0x4d8e6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
test edi, edi
je 0x4d8f77
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], ebx
push esi
mov esi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x4d8f65
mov eax, edi
shr eax, 4
mov dword [ebp - 0xc], eax
sub ecx, ebx
mov eax, esi
sub eax, ebx
mov edx, ebx
push 4
mov dword [ebp - 8], eax
mov edi, eax
pop ebx
mov eax, dword [ecx + edx]
xor eax, dword [edx]
mov dword [edi + edx], eax
lea edx, [edx + 4]
sub ebx, 1
jne 0x4d8eb3
push dword [ebp + 0x14]
push esi
push esi
call dword [ebp + 0x1c]
mov edi, dword [ebp + 0x10]
mov ecx, esi
mov ebx, dword [ebp - 4]
sub edi, 0x10
add ebx, 0x10
mov dword [ebp + 0x10], edi
add esp, 0xc
mov dword [ebp - 4], ebx
add esi, 0x10
sub dword [ebp - 0xc], 1
jne 0x4d8ea3
mov dword [ebp - 8], ecx
jmp 0x4d8f65
sub ecx, ebx
mov dword [ebp - 0x10], ebx
xor edx, edx
mov dword [ebp - 0x14], ecx
sub esi, ebx
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x18]
cmp edx, edi
jae 0x4d8f17
mov al, byte [esi + ebx]
xor al, byte [ebx]
inc edx
mov byte [ecx + ebx], al
inc ebx
cmp edx, 0x10
jb 0x4d8f04
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp edx, 0x10
jae 0x4d8f42
push 0x10
pop eax
sub ecx, esi
lea edi, [edx + esi]
sub eax, edx
mov dword [ebp - 0x18], eax
mov edx, eax
mov al, byte [ecx + edi]
mov byte [edi], al
inc edi
sub edx, 1
jne 0x4d8f34
mov edi, dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push esi
call dword [ebp + 0x1c]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 8], ecx
push 0x10
pop eax
cmp edi, eax
jbe 0x4d8f6c
sub edi, eax
add esi, eax
add ebx, eax
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], esi
test edi, edi
jne 0x4d8ef0
mov edi, dword [ebp + 0x18]
mov esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x4d8f7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x14
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov edi, dword [edi]
test edi, edi
mov dword [ebp + 0x10], ecx
je 0x4d8faf
test esi, esi
je 0x4d8faf
mov al, byte [edi + edx]
xor al, byte [ecx]
mov byte [ebx], al
inc ebx
inc ecx
dec esi
inc edi
and edi, 0xf
jmp 0x4d8f96
cmp esi, 0x10
jb 0x4d902d
xor edi, edi
mov eax, ebx
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0x1c]
sub eax, edi
mov dword [ebp - 4], eax
mov eax, ecx
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, esi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
push dword [ebp + 0x14]
push edi
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.004d91c1
mov edx, dword [ebp - 4]
add esp, 0x10
mov ecx, edi
push 4
pop edi
mov eax, dword [ebx + ecx]
xor eax, dword [ecx]
mov dword [edx + ecx], eax
lea ecx, [ecx + 4]
sub edi, 1
jne 0x4d8fff
mov edi, dword [ebp + 0x1c]
add edx, 0x10
sub esi, 0x10
mov dword [ebp - 4], edx
add ebx, 0x10
sub dword [ebp - 8], 1
jne 0x4d8fe2
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x4d9063
push dword [ebp + 0x14]
push edx
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.004d91c1
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov ecx, dword [ebp + 0x10]
sub ebx, eax
sub ecx, eax
lea edx, [edi + eax]
add edi, esi
mov al, byte [edx + ecx]
xor al, byte [edx]
mov byte [edx + ebx], al
inc edx
sub esi, 1
jne 0x4d9055
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d906d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 8]
push ebx
push esi
mov ecx, dword [ecx]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp + 0x10], edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
test ecx, ecx
je 0x4d90b0
mov ebx, dword [ebp + 0x1c]
test esi, esi
je 0x4d90b0
mov al, byte [ecx + ebx]
xor al, byte [edx]
mov byte [edi], al
inc edi
inc edx
mov dword [ebp - 4], edi
dec esi
mov dword [ebp + 0x10], edx
inc ecx
and ecx, 0xf
mov dword [ebp - 8], ecx
jne 0x4d9093
mov eax, dword [ebp + 0x18]
movzx ebx, byte [eax + 0xc]
movzx eax, byte [eax + 0xd]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp + 0x18]
shl ebx, 8
movzx eax, byte [eax + 0xe]
or ebx, eax
mov eax, dword [ebp + 0x18]
shl ebx, 8
movzx eax, byte [eax + 0xf]
or ebx, eax
cmp esi, 0x10
jb 0x4d914d
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
shr ecx, 4
lea eax, [ecx + ebx]
neg ebx
cmp eax, ecx
cmovae ebx, ecx
mov dword [ebp - 4], ebx
xor ebx, ebx
push dword [ebp - 4]
cmp eax, ecx
push edi
push edx
cmovae ebx, eax
call dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
mov eax, ebx
shr eax, 0x18
add esp, 0x14
mov byte [ecx + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], bl
test ebx, ebx
jne 0x4d9130
push ecx
call fcn.004d91e2
pop ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
shl eax, 4
sub esi, eax
add edx, eax
add edi, eax
mov dword [ebp + 0x10], edx
cmp esi, 0x10
jae 0x4d90dd
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edi
test esi, esi
je 0x4d91b7
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x18]
push edi
push dword [ebp + 0x14]
push 1
push ecx
push ecx
call dword [ebp + 0x24]
add esp, 0x14
inc ebx
mov eax, ebx
mov byte [edi + 0xf], bl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [edi + 0xe], al
test ebx, ebx
jne 0x4d9194
push edi
call fcn.004d91e2
pop ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
sub edi, eax
sub edx, eax
lea ebx, [ecx + eax]
add ecx, esi
mov al, byte [edi + ebx]
xor al, byte [ebx]
mov byte [edx + ebx], al
inc ebx
sub esi, 1
jne 0x4d91a9
mov eax, dword [ebp + 0x20]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
leave
ret
Function at 0x4d9203
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [esi]
test esi, esi
mov dword [ebp + 0x10], ecx
je 0x4d9238
test edi, edi
je 0x4d9238
mov al, byte [esi + edx]
xor al, byte [ecx]
mov byte [ebx], al
inc ebx
inc ecx
dec edi
inc esi
and esi, 0xf
jmp 0x4d921f
cmp edi, 0x10
jb 0x4d92b1
mov eax, ebx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 8], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 0xc], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
push dword [ebp + 0x14]
push ebx
push ebx
call dword [ebp + 0x20]
add esp, 0xc
cmp esi, 0x10
jae 0x4d9298
push 0xf
pop ecx
sub ecx, esi
lea edx, [esi + ebx]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
shr ecx, 2
inc ecx
mov eax, dword [ebx + edx]
xor eax, dword [edx]
mov dword [esi + edx], eax
lea edx, [edx + 4]
sub ecx, 1
jne 0x4d9285
mov ebx, dword [ebp + 0x18]
add dword [ebp - 4], 0x10
sub edi, 0x10
add dword [ebp - 8], 0x10
xor esi, esi
sub dword [ebp - 0xc], 1
jne 0x4d9263
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
test edi, edi
je 0x4d92dd
push dword [ebp + 0x14]
push edx
push edx
call dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
sub ebx, eax
sub ecx, eax
lea edx, [esi + eax]
add esi, edi
mov al, byte [edx + ecx]
xor al, byte [edx]
mov byte [edx + ebx], al
inc edx
sub edi, 1
jne 0x4d92cf
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret
Function at 0x4d95b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x639034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp - 0x30], ecx
push ebx
mov ebx, dword [ebp + 0xc]
cmp eax, 0x7f
ja 0x4d96c8
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x28]
push edx
push ecx
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
xor esi, esi
add eax, 7
add esp, 0xc
cdq
and edx, 7
lea edi, [edx + eax]
sar edi, 3
cmp dword [ebp + 0x1c], esi
je 0x4d9634
test edi, edi
jle 0x4d9671
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x30]
sub eax, ecx
sub edx, ecx
mov esi, eax
sub ebx, ecx
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
mov byte [ebx + ecx], al
inc ecx
sub edi, 1
jne 0x4d9621
jmp 0x4d966f
test edi, edi
jle 0x4d9671
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov ecx, edx
sub ebx, ecx
lea edx, [ebp - 0x18]
add edx, esi
mov cl, byte [eax + edx]
mov eax, dword [ebp - 0x38]
mov byte [edx], cl
mov al, byte [eax + edx]
xor al, cl
inc esi
mov byte [ebx + edx], al
mov eax, dword [ebp - 0x34]
cmp esi, edi
jl 0x4d9652
xor esi, esi
mov eax, dword [ebp + 0x10]
mov ebx, eax
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d9683
dec ebx
or ebx, 0xfffffff8
inc ebx
cdq
lea edi, [ebp - 0x28]
and edx, 7
add eax, edx
sar eax, 3
add edi, eax
test ebx, ebx
jne 0x4d96a0
mov esi, edi
mov edi, dword [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x4d96c6
push 8
pop eax
sub eax, ebx
mov dword [ebp - 0x34], eax
mov dl, byte [edi + esi]
mov ecx, ebx
mov al, byte [edi + esi + 1]
shl dl, cl
mov cl, byte [ebp - 0x34]
shr al, cl
or dl, al
mov eax, dword [ebp - 0x30]
mov byte [eax + esi], dl
inc esi
cmp esi, 0x10
jl 0x4d96a8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00546623
leave
ret