Function at 0x100ae410
Capabilities:
Encrypt data using sosemanuk

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xff
movzx ecx, byte [ebp - 0x20]
xor edx, edx
cmp ecx, 0xff
setne dl
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], edx
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
shl edx, 0x18
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 1]
shl ecx, 0x10
or edx, ecx
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 2]
shl ecx, 8
or edx, ecx
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 3]
or edx, ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 4]
shl eax, 0x18
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx + 5]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx + 6]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx + 7]
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 8]
shl ecx, 0x18
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 9]
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0xa]
shl eax, 8
or ecx, eax
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0xb]
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx + 0xc]
shl edx, 0x18
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0xd]
shl ecx, 0x10
or edx, ecx
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0xe]
shl ecx, 8
or edx, ecx
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0xf]
or edx, ecx
mov dword [ebp - 4], edx
cmp dword [ebp + 0x10], 0x10
jne 0x100ae671
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 1]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 3]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 4]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 5]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 6]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 8]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 9]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xa]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xb]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xc]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xd]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xe]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xf]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3c]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3c]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x100ae867
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 1]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 3]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 4]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 5]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 6]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 8]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 9]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xa]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xb]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xc]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xd]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xe]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xf]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x10]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x11]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x12]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x13]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x14]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x15]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x16]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x17]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x18]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x19]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1a]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1b]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x1c]
shl eax, 0x18
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1d]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1e]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1f]
or eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3c]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2c]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
not eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3c]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
xor eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
xor eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
jmp 0x100ae8c3
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x10
jae 0x100ae9ba
mov eax, dword [ebp - 0x20]
sub eax, 1
and eax, 0xf
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + eax*4]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4]
shl edx, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
shr eax, 0x18
xor edx, dword [eax*4 + 0x10141ff0]
mov ecx, dword [ebp - 0x20]
add ecx, 2
and ecx, 0xf
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x20]
add ecx, 0xb
and ecx, 0xf
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + ecx*4]
shr ecx, 8
mov eax, dword [ebp - 0x20]
add eax, 0xb
and eax, 0xf
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + eax*4]
and eax, 0xff
xor ecx, dword [eax*4 + 0x101423f0]
xor edx, ecx
xor edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0x20]
add ecx, 5
and ecx, 0xf
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0xff
mov eax, dword [ecx*4 + 0x101427f0]
xor eax, dword [edx*4 + 0x10142bf0]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10142ff0]
mov edx, dword [ebp - 0x18]
shr edx, 0x18
and edx, 0xff
xor eax, dword [edx*4 + 0x101433f0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x100ae8ba
mov dword [ebp - 0x20], 0
jmp 0x100ae9cc
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x10
jae 0x100aeac2
mov edx, dword [ebp - 0x20]
sub edx, 1
and edx, 0xf
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
shl ecx, 8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + edx*4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10141ff0]
mov eax, dword [ebp - 0x20]
add eax, 2
and eax, 0xf
mov edx, dword [ebp - 0x14]
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp - 0x20]
add eax, 0xb
and eax, 0xf
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4]
shr eax, 8
mov edx, dword [ebp - 0x20]
add edx, 0xb
and edx, 0xf
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + edx*4]
and edx, 0xff
xor eax, dword [edx*4 + 0x101423f0]
xor ecx, eax
xor ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x20]
add eax, 5
and eax, 0xf
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x18]
and eax, 0xff
mov ecx, dword [ebp - 0x18]
shr ecx, 8
and ecx, 0xff
mov edx, dword [eax*4 + 0x101427f0]
xor edx, dword [ecx*4 + 0x10142bf0]
mov eax, dword [ebp - 0x18]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x10142ff0]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x101433f0]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
jmp 0x100ae9c3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x44], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret