Function at 0x4d36f0
Capabilities:
Encode data using xor
Encrypt data using sosemanuk

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
xor edx, edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
and dword [eax + 0x54], 0
mov dh, byte [ecx]
push ebx
push esi
movzx esi, byte [ecx + 2]
push edi
mov dl, byte [ecx + 1]
shl edx, 8
or edx, esi
shl edx, 8
movzx esi, byte [ecx + 3]
or edx, esi
mov dword [ebp - 0xc], edx
xor edx, edx
mov dh, byte [ecx + 4]
movzx esi, byte [ecx + 6]
mov dl, byte [ecx + 5]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 7]
shl edx, 8
or edx, esi
mov dword [ebp - 8], edx
xor edx, edx
mov dh, byte [ecx + 8]
movzx esi, byte [ecx + 0xa]
mov dl, byte [ecx + 9]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 0xb]
shl edx, 8
or edx, esi
mov dword [ebp - 4], edx
xor edx, edx
mov dh, byte [ecx + 0xc]
movzx esi, byte [ecx + 0xe]
mov dl, byte [ecx + 0xd]
movzx ecx, byte [ecx + 0xf]
shl edx, 8
or edx, esi
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x14], edx
xor edx, edx
mov dh, byte [ecx]
movzx esi, byte [ecx + 2]
mov dl, byte [ecx + 1]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 3]
shl edx, 8
or edx, esi
mov dword [eax + 0x3c], edx
movzx esi, byte [ecx + 6]
xor edx, edx
mov dh, byte [ecx + 4]
mov dl, byte [ecx + 5]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 7]
shl edx, 8
or edx, esi
mov dword [eax + 0x38], edx
movzx esi, byte [ecx + 0xa]
xor edx, edx
mov dh, byte [ecx + 8]
mov dl, byte [ecx + 9]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 0xb]
shl edx, 8
or edx, esi
mov dword [eax + 0x34], edx
movzx esi, byte [ecx + 0xe]
xor edx, edx
mov dh, byte [ecx + 0xc]
mov dl, byte [ecx + 0xd]
shl edx, 8
or edx, esi
shl edx, 8
cmp dword [ebp + 0x10], 0x10
jne 0x4d3844
movzx ecx, byte [ecx + 0xf]
mov edi, dword [eax + 0x38]
or edx, ecx
mov ecx, dword [eax + 0x3c]
mov dword [eax + 0x30], edx
mov edx, dword [eax + 0x34]
not edx
mov dword [ebp + 0xc], edx
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0x30]
mov ebx, edx
not ebx
mov esi, ecx
not esi
mov dword [ebp + 8], ebx
mov dword [eax + 0x20], ebx
mov ebx, dword [eax + 0x38]
mov dword [eax + 0x2c], esi
mov dword [eax + 0xc], esi
mov esi, dword [ebp + 0xc]
not edi
mov dword [eax + 0x18], ebx
mov ebx, dword [eax + 0x34]
mov dword [eax + 4], esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x28], edi
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], edx
mov dword [eax + 8], edi
jmp 0x4d3902
movzx esi, byte [ecx + 0xf]
or edx, esi
mov dword [eax + 0x30], edx
xor edx, edx
mov dh, byte [ecx + 0x10]
movzx esi, byte [ecx + 0x12]
mov dl, byte [ecx + 0x11]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 0x13]
shl edx, 8
or edx, esi
mov dword [eax + 0x2c], edx
movzx esi, byte [ecx + 0x16]
xor edx, edx
mov dh, byte [ecx + 0x14]
mov dl, byte [ecx + 0x15]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 0x17]
shl edx, 8
or edx, esi
mov dword [eax + 0x28], edx
movzx esi, byte [ecx + 0x1a]
xor edx, edx
mov dh, byte [ecx + 0x18]
mov dl, byte [ecx + 0x19]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 0x1b]
shl edx, 8
or edx, esi
mov dword [eax + 0x24], edx
movzx esi, byte [ecx + 0x1e]
xor edx, edx
mov dh, byte [ecx + 0x1c]
mov dl, byte [ecx + 0x1d]
movzx ecx, byte [ecx + 0x1f]
shl edx, 8
or edx, esi
shl edx, 8
or edx, ecx
mov ecx, dword [eax + 0x3c]
mov dword [eax + 0x20], edx
mov edx, ecx
not edx
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0x38]
not edx
mov dword [eax + 0x18], edx
mov edx, dword [eax + 0x34]
not edx
mov dword [eax + 0x14], edx
mov edx, dword [eax + 0x30]
mov esi, edx
not esi
mov dword [eax + 0x10], esi
mov esi, dword [eax + 0x2c]
not esi
mov dword [eax + 0xc], esi
mov esi, dword [eax + 0x28]
not esi
mov dword [eax + 8], esi
mov esi, dword [eax + 0x24]
not esi
mov dword [eax + 4], esi
mov esi, dword [eax + 0x20]
not esi
xor ecx, dword [ebp + 0x14]
xor edx, dword [ebp - 4]
and dword [ebp + 0xc], 0
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 8]
xor dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0xc]
xor dword [eax + 0x24], ecx
and dword [ebp + 8], 0
push 0xfffffffffffffffb
mov dword [eax], esi
mov dword [eax + 0x30], edx
pop edi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], 0x10
mov ecx, 0xff
mov edx, edi
and edx, 0xf
mov esi, dword [eax + edx*4]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
shr edx, 0x18
lea ebx, [edi + 4]
and ebx, 0xf
mov ebx, dword [eax + ebx*4]
add ebx, dword [ebp + 0xc]
xor ebx, dword [edx*4 + 0x4dfdb8]
lea edx, [edi + 7]
and edx, 0xf
xor ebx, dword [eax + edx*4]
mov edx, esi
and edx, ecx
xor ebx, dword [edx*4 + 0x4e01b8]
mov edx, dword [ebp - 0xc]
shl edx, 8
xor ebx, edx
mov edx, dword [ebp + 0x14]
shr esi, 8
xor ebx, esi
xor ebx, dword [ebp + 8]
add dword [ebp + 0x14], 4
mov dword [edx], ebx
movzx ebx, byte [ebp + 0xd]
lea edx, [edi - 6]
and edx, 0xf
mov esi, dword [eax + edx*4]
movzx edx, byte [ebp + 0xe]
mov edx, dword [edx*4 + 0x4e0db8]
xor edx, dword [ebx*4 + 0x4e09b8]
mov ebx, dword [ebp + 0xc]
add esi, dword [ebp + 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4e11b8]
mov ebx, dword [ebp + 0xc]
and ebx, ecx
xor edx, dword [ebx*4 + 0x4e05b8]
inc edi
dec dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
jne 0x4d3936
push 0xfffffffffffffffb
pop edi
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 0x10
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
mov dword [ebp + 0x10], ebx
lea ebx, [edi + 4]
and ebx, 0xf
mov ebx, dword [eax + ebx*4]
add ebx, esi
mov esi, dword [ebp + 0x10]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x4dfdb8]
mov edx, edi
and edx, 0xf
mov edx, dword [eax + edx*4]
lea esi, [edi + 7]
and esi, 0xf
xor ebx, dword [eax + esi*4]
mov esi, edx
and esi, ecx
xor ebx, dword [esi*4 + 0x4e01b8]
mov esi, dword [ebp + 0x10]
shr edx, 8
shl esi, 8
xor ebx, esi
xor ebx, edx
xor ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [edx], ebx
movzx ebx, byte [ebp + 0xd]
add dword [ebp + 0x14], 4
lea edx, [edi - 6]
and edx, 0xf
mov esi, dword [eax + edx*4]
movzx edx, byte [ebp + 0xe]
mov edx, dword [edx*4 + 0x4e0db8]
xor edx, dword [ebx*4 + 0x4e09b8]
mov ebx, dword [ebp + 0xc]
add esi, dword [ebp + 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4e11b8]
mov ebx, dword [ebp + 0xc]
and ebx, ecx
xor edx, dword [ebx*4 + 0x4e05b8]
inc edi
dec dword [ebp - 4]
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
jne 0x4d39e1
and dword [eax + 0x50], 0
pop edi
mov dword [eax + 0x40], esi
pop esi
mov dword [eax + 0x44], edx
xor eax, eax
pop ebx
leave
ret 0x10