Function at 0x89029c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
lea ebx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x10]
mov esi, edx
add esi, 0xdeadbeef
add esi, dword [ebp - 0xc]
mov dword [eax], esi
mov esi, dword [eax]
mov dword [ebx], esi
mov esi, dword [eax]
mov dword [ecx], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 4], esi
test byte [ebp - 4], 3
jne 0x8904da
cmp edx, 0xc
jle 0x89038d
mov esi, dword [ebp - 4]
mov esi, dword [esi]
add dword [eax], 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 [ecx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 4
mov edi, dword [ecx]
shr edi, 0x1c
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 6
mov edi, dword [eax]
shr edi, 0x1a
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 8
mov edi, dword [ebx]
shr edi, 0x18
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 0x10
mov edi, dword [ecx]
shr edi, 0x10
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 0x13
mov edi, dword [eax]
shr edi, 0xd
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 4
mov edi, dword [ebx]
shr edi, 0x1c
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
sub edx, 0xc
add dword [ebp - 4], 0xc
cmp edx, 0xc
jg 0x8902e2
cmp edx, 0xc
ja 0x8906ca
jmp dword [edx*4 + 0x88f79d]
cmp edx, 0xc
jle 0x8905fd
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 [eax], 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 [ecx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 4
mov edi, dword [ecx]
shr edi, 0x1c
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 6
mov edi, dword [eax]
shr edi, 0x1a
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 8
mov edi, dword [ebx]
shr edi, 0x18
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 0x10
mov edi, dword [ecx]
shr edi, 0x10
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 0x13
mov edi, dword [eax]
shr edi, 0xd
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 4
mov edi, dword [ebx]
shr edi, 0x1c
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
sub edx, 0xc
add dword [ebp - 4], 0xc
cmp edx, 0xc
jg 0x8904e3
cmp edx, 0xc
ja case.default.0x890602
jmp dword [edx*4 + 0x88fa09]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xb]
shl edx, 0x18
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xa]
shl edx, 0x10
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 9]
shl edx, 8
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 8]
add dword [ecx], 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 [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 2]
shl edx, 0x10
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
shl edx, 8
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
add dword [eax], edx
mov edx, dword [ebx]
xor dword [ecx], edx
mov edx, dword [ebx]
shl edx, 0xe
mov esi, dword [ebx]
shr esi, 0x12
or edx, esi
sub dword [ecx], edx
mov edx, dword [ecx]
xor dword [eax], edx
mov edx, dword [ecx]
shl edx, 0xb
mov esi, dword [ecx]
shr esi, 0x15
or edx, esi
sub dword [eax], edx
mov edx, dword [eax]
xor dword [ebx], edx
mov edx, dword [eax]
shl edx, 0x19
mov esi, dword [eax]
shr esi, 7
or edx, esi
sub dword [ebx], edx
mov edx, dword [ebx]
xor dword [ecx], edx
mov edx, dword [ebx]
shl edx, 0x10
mov esi, dword [ebx]
shr esi, 0x10
or edx, esi
sub dword [ecx], edx
mov edx, dword [ecx]
xor dword [eax], edx
mov edx, dword [ecx]
shl edx, 4
mov esi, dword [ecx]
shr esi, 0x1c
or edx, esi
sub dword [eax], edx
mov edx, dword [eax]
xor dword [ebx], edx
mov edx, dword [eax]
shl edx, 0xe
mov eax, dword [eax]
shr eax, 0x12
or edx, eax
sub dword [ebx], edx
mov eax, dword [ebx]
xor dword [ecx], eax
mov eax, dword [ebx]
shl eax, 0x18
mov edx, dword [ebx]
shr edx, 8
or eax, edx
sub dword [ecx], eax
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add byte [ebp + 0x458bec55], cl
clc
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x14]
mov eax, ebx
mov edx, 3
call fcn.005cb904
jmp 0x8b193f
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x8b1958
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x8b1968
mov eax, ebx
mov edx, 0x8b0ef8
call fcn.005cb824
mov eax, esi
test eax, eax
je 0x8b1973
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x8b19a9
inc edi
xor esi, esi
test esi, esi
jle 0x8b198d
mov eax, ebx
mov edx, 0x8b0f08
call fcn.005cb824
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
call dword [ecx - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.005cb824
inc esi
dec edi
jne 0x8b197d
mov eax, dword [ebp - 4]
test eax, eax
je 0x8b19b5
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x8b19c5
mov eax, ebx
mov edx, 0x8b0f1c
call fcn.005cb824
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x18]
test eax, eax
je 0x8b19f7
push dword [ebx]
push 0x8b0f2c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x18]
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call fcn.005cb904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8b0e27
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.005ca86c
lea eax, [ebp - 4]
mov edx, dword [0x8967ec]
call fcn.005ccf48
ret