Function at 0x42138a
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
xor ebx, ebx
mov dword [ebp - 8], 0x465840
dec dword [ebp - 8]
lea ecx, [esi + 0x1000]
inc ebx
sub ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 8]
movsx edi, word [ebp + 0xc]
add ebx, ecx
mov eax, dword [ebx + eax]
mov dword [ecx], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp + 8]
add dword [ebp - 4], 4
movzx edi, byte [edx + eax]
mov eax, ebx
movsx ebx, word [ebp + 0xc]
cdq
idiv ebx
mov eax, dword [ebp + 8]
shl edi, 0x18
xor edi, dword [ebp - 0x1c]
mov dword [ecx], edi
movzx ebx, byte [edx + eax]
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx + 1]
cdq
shl ebx, 0x10
xor ebx, edi
movsx edi, word [ebp + 0xc]
idiv edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ecx], ebx
mov ah, byte [edx + edi]
movsx edi, word [ebp + 0xc]
xor eax, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebx + ecx + 2]
cdq
idiv edi
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
xor eax, dword [ebp - 0x1c]
mov dword [ecx], eax
add ecx, 4
cmp dword [ebp - 4], 0x48
jl 0x4213ae
lea edx, [esi + 0x400]
mov dword [ebp - 4], edx
sub dword [ebp - 4], esi
lea edx, [esi + 0x800]
mov dword [ebp - 0x10], edx
sub dword [ebp - 0x10], esi
lea edx, [esi + 0xc00]
mov ecx, 0x465888
mov dword [ebp - 8], 0x465c88
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], 0x466088
sub dword [ebp - 0xc], esi
mov dword [ebp - 0x14], 0x466488
sub dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov ebx, 0x100
sub ecx, esi
sub dword [ebp - 0x18], esi
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov edx, dword [ecx + eax]
mov edi, dword [ebp - 4]
mov dword [eax], edx
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax]
mov dword [edi + eax], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + eax]
mov edi, dword [ebp - 0x10]
mov dword [edi + eax], edx
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + eax]
mov edi, dword [ebp - 0x18]
mov dword [edi + eax], edx
add eax, 4
dec dword [ebp - 0x1c]
jne 0x421486
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
push ecx
push eax
mov eax, esi
lea edi, [ebp - 0x20]
call fcn.004206ff
mov edx, dword [ebp - 4]
add dword [ebp - 4], 2
mov eax, dword [ebp - 0x20]
pop ecx
shl edx, 2
cmp dword [ebp - 4], 0x12
pop ecx
mov ecx, dword [ebp - 0x1c]
lea edi, [esi + 0x1000]
mov dword [edx + edi], eax
mov dword [edx + edi + 4], ecx
jl 0x4214c4
and dword [ebp - 4], 0
push ecx
push eax
mov eax, esi
lea edi, [ebp - 0x20]
call fcn.004206ff
mov edx, dword [ebp - 4]
add dword [ebp - 4], 2
mov eax, dword [ebp - 0x20]
pop ecx
shl edx, 2
cmp dword [ebp - 4], ebx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edx + esi], eax
mov dword [edx + esi + 4], ecx
jl 0x4214f9
and dword [ebp - 4], 0
push ecx
push eax
mov eax, esi
lea edi, [ebp - 0x20]
call fcn.004206ff
mov edx, dword [ebp - 4]
add dword [ebp - 4], 2
mov eax, dword [ebp - 0x20]
pop ecx
shl edx, 2
cmp dword [ebp - 4], ebx
pop ecx
mov ecx, dword [ebp - 0x1c]
lea edi, [esi + 0x400]
mov dword [edx + edi], eax
mov dword [edx + edi + 4], ecx
jl 0x421527
and dword [ebp - 4], 0
push ecx
push eax
mov eax, esi
lea edi, [ebp - 0x20]
call fcn.004206ff
mov edx, dword [ebp - 4]
add dword [ebp - 4], 2
mov eax, dword [ebp - 0x20]
pop ecx
shl edx, 2
cmp dword [ebp - 4], ebx
pop ecx
mov ecx, dword [ebp - 0x1c]
lea edi, [esi + 0x800]
mov dword [edx + edi], eax
mov dword [edx + edi + 4], ecx
jl 0x42155b
and dword [ebp - 4], 0
push ecx
push eax
mov eax, esi
lea edi, [ebp - 0x20]
call fcn.004206ff
mov edx, dword [ebp - 4]
add dword [ebp - 4], 2
mov eax, dword [ebp - 0x20]
pop ecx
shl edx, 2
cmp dword [ebp - 4], ebx
pop ecx
mov ecx, dword [ebp - 0x1c]
lea edi, [esi + 0xc00]
mov dword [edx + edi], eax
mov dword [edx + edi + 4], ecx
jl 0x42158f
pop edi
pop ebx
leave
ret