Function at 0x4090b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea ebx, [ebp - 0x18]
mov esi, edx
add esi, esi
add esi, esi
add esi, 0xdeadbeef
add esi, dword [ebp - 0xc]
mov dword [ecx], esi
mov esi, dword [ecx]
mov dword [ebx], esi
mov esi, dword [ecx]
mov dword [eax], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 4], esi
test byte [ebp - 4], 3
jne 0x40936e
cmp edx, 0xc
jle 0x4091fa
mov esi, dword [ebp - 4]
mov esi, dword [esi]
add dword [ecx], esi
mov esi, dword [ebp - 4]
mov esi, dword [esi + 4]
add dword [ebx], esi
mov esi, dword [ebp - 4]
mov esi, dword [esi + 8]
add dword [eax], esi
mov esi, dword [eax]
sub dword [ecx], esi
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x20]
shl esi, 4
mov edi, dword [ebp - 0x20]
shr edi, 0x1c
or esi, edi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x24]
xor dword [ecx], esi
mov esi, dword [ebx]
add dword [eax], esi
mov esi, dword [ecx]
sub dword [ebx], esi
mov esi, dword [ecx]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x28]
shl esi, 6
mov edi, dword [ebp - 0x28]
shr edi, 0x1a
or esi, edi
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x2c]
xor dword [ebx], esi
mov esi, dword [eax]
add dword [ecx], esi
mov esi, dword [ebx]
sub dword [eax], esi
mov esi, dword [ebx]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x30]
shl esi, 8
mov edi, dword [ebp - 0x30]
shr edi, 0x18
or esi, edi
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x34]
xor dword [eax], esi
mov esi, dword [ecx]
add dword [ebx], esi
mov esi, dword [eax]
sub dword [ecx], esi
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x38]
shl esi, 0x10
mov edi, dword [ebp - 0x38]
shr edi, 0x10
or esi, edi
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x3c]
xor dword [ecx], esi
mov esi, dword [ebx]
add dword [eax], esi
mov esi, dword [ecx]
sub dword [ebx], esi
mov esi, dword [ecx]
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x40]
shl esi, 0x13
mov edi, dword [ebp - 0x40]
shr edi, 0xd
or esi, edi
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x44]
xor dword [ebx], esi
mov esi, dword [eax]
add dword [ecx], esi
mov esi, dword [ebx]
sub dword [eax], esi
mov esi, dword [ebx]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x48]
shl esi, 4
mov edi, dword [ebp - 0x48]
shr edi, 0x1c
or esi, edi
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x4c]
xor dword [eax], esi
mov esi, dword [ecx]
add dword [ebx], esi
sub edx, 0xc
add dword [ebp - 4], 0xc
cmp edx, 0xc
jg 0x409101
cmp edx, 0xc
ja case.default.0x409203
jmp dword [edx*4 + 0x40920a]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x4096e0
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xff
add dword [ecx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xffff
add dword [ecx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xffffff
add dword [ecx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
and edx, 0xff
add dword [ebx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
and edx, 0xffff
add dword [ebx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
and edx, 0xffffff
add dword [ebx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
and edx, 0xff
add dword [eax], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
and edx, 0xffff
add dword [eax], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
and edx, 0xffffff
add dword [eax], edx
jmp case.default.0x409203
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
add dword [eax], edx
jmp case.default.0x409203
cmp edx, 0xc
jle 0x4094df
mov esi, dword [ebp - 4]
movzx esi, byte [esi]
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 1]
shl edi, 8
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 2]
shl edi, 0x10
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 3]
shl edi, 0x18
add esi, edi
add dword [ecx], esi
mov esi, dword [ebp - 4]
movzx esi, byte [esi + 4]
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 5]
shl edi, 8
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 6]
shl edi, 0x10
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 7]
shl edi, 0x18
add esi, edi
add dword [ebx], esi
mov esi, dword [ebp - 4]
movzx esi, byte [esi + 8]
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 9]
shl edi, 8
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 0xa]
shl edi, 0x10
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 0xb]
shl edi, 0x18
add esi, edi
add dword [eax], esi
mov esi, dword [eax]
sub dword [ecx], esi
mov esi, dword [eax]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x50]
shl esi, 4
mov edi, dword [ebp - 0x50]
shr edi, 0x1c
or esi, edi
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x54]
xor dword [ecx], esi
mov esi, dword [ebx]
add dword [eax], esi
mov esi, dword [ecx]
sub dword [ebx], esi
mov esi, dword [ecx]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x58]
shl esi, 6
mov edi, dword [ebp - 0x58]
shr edi, 0x1a
or esi, edi
mov dword [ebp - 0x5c], esi
mov esi, dword [ebp - 0x5c]
xor dword [ebx], esi
mov esi, dword [eax]
add dword [ecx], esi
mov esi, dword [ebx]
sub dword [eax], esi
mov esi, dword [ebx]
mov dword [ebp - 0x60], esi
mov esi, dword [ebp - 0x60]
shl esi, 8
mov edi, dword [ebp - 0x60]
shr edi, 0x18
or esi, edi
mov dword [ebp - 0x64], esi
mov esi, dword [ebp - 0x64]
xor dword [eax], esi
mov esi, dword [ecx]
add dword [ebx], esi
mov esi, dword [eax]
sub dword [ecx], esi
mov esi, dword [eax]
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x68]
shl esi, 0x10
mov edi, dword [ebp - 0x68]
shr edi, 0x10
or esi, edi
mov dword [ebp - 0x6c], esi
mov esi, dword [ebp - 0x6c]
xor dword [ecx], esi
mov esi, dword [ebx]
add dword [eax], esi
mov esi, dword [ecx]
sub dword [ebx], esi
mov esi, dword [ecx]
mov dword [ebp - 0x70], esi
mov esi, dword [ebp - 0x70]
shl esi, 0x13
mov edi, dword [ebp - 0x70]
shr edi, 0xd
or esi, edi
mov dword [ebp - 0x74], esi
mov esi, dword [ebp - 0x74]
xor dword [ebx], esi
mov esi, dword [eax]
add dword [ecx], esi
mov esi, dword [ebx]
sub dword [eax], esi
mov esi, dword [ebx]
mov dword [ebp - 0x78], esi
mov esi, dword [ebp - 0x78]
shl esi, 4
mov edi, dword [ebp - 0x78]
shr edi, 0x1c
or esi, edi
mov dword [ebp - 0x7c], esi
mov esi, dword [ebp - 0x7c]
xor dword [eax], esi
mov esi, dword [ecx]
add dword [ebx], esi
sub edx, 0xc
add dword [ebp - 4], 0xc
cmp edx, 0xc
jg 0x409377
cmp edx, 0xc
ja case.0x4094e4.12
jmp dword [edx*4 + 0x4094eb]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x4096e0
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xb]
shl edx, 0x18
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xa]
shl edx, 0x10
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 9]
shl edx, 8
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 8]
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 7]
shl edx, 0x18
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 6]
shl edx, 0x10
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 5]
shl edx, 8
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 3]
shl edx, 0x18
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 2]
shl edx, 0x10
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
shl edx, 8
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
add dword [ecx], edx
mov edx, dword [ebx]
xor dword [eax], edx
mov edx, dword [ebx]
mov esi, edx
shl esi, 0xe
shr edx, 0x12
or esi, edx
mov dword [ebp - 0x80], esi
mov edx, dword [ebp - 0x80]
sub dword [eax], edx
mov edx, dword [eax]
xor dword [ecx], edx
mov edx, dword [eax]
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x84]
shl edx, 0xb
mov esi, dword [ebp - 0x84]
shr esi, 0x15
or edx, esi
mov dword [ebp - 0x88], edx
mov edx, dword [ebp - 0x88]
sub dword [ecx], edx
mov edx, dword [ecx]
xor dword [ebx], edx
mov edx, dword [ecx]
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x8c]
shl edx, 0x19
mov esi, dword [ebp - 0x8c]
shr esi, 7
or edx, esi
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0x90]
sub dword [ebx], edx
mov edx, dword [ebx]
xor dword [eax], edx
mov edx, dword [ebx]
mov dword [ebp - 0x94], edx
mov edx, dword [ebp - 0x94]
shl edx, 0x10
mov esi, dword [ebp - 0x94]
shr esi, 0x10
or edx, esi
mov dword [ebp - 0x98], edx
mov edx, dword [ebp - 0x98]
sub dword [eax], edx
mov edx, dword [eax]
xor dword [ecx], edx
mov edx, dword [eax]
mov dword [ebp - 0x9c], edx
mov edx, dword [ebp - 0x9c]
shl edx, 4
mov esi, dword [ebp - 0x9c]
shr esi, 0x1c
or edx, esi
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0xa0]
sub dword [ecx], edx
mov edx, dword [ecx]
xor dword [ebx], edx
mov edx, dword [ecx]
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xa4]
shl edx, 0xe
mov ecx, dword [ebp - 0xa4]
shr ecx, 0x12
or edx, ecx
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0xa8]
sub dword [ebx], edx
mov edx, dword [ebx]
xor dword [eax], edx
mov edx, dword [ebx]
mov dword [ebp - 0xac], edx
mov edx, dword [ebp - 0xac]
shl edx, 0x18
mov ecx, dword [ebp - 0xac]
shr ecx, 8
or edx, ecx
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp - 0xb0]
sub dword [eax], edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret