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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cdq
push edi
and edx, 7
lea ebx, [edx + eax]
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
mov dword [ebp - 0x54], esi
sar ebx, 3
call fcn.00464140
add esp, 0xc
lea ecx, [esi + 0x18]
call fcn.0045f620
lea ecx, [esi + 0x18]
cmp eax, 0x40
jbe 0x44ebe7
call fcn.00405cb0
test eax, eax
je 0x44ec0e
lea ecx, [esi + 0x18]
call fcn.00405cb0
mov ecx, 0x10
mov esi, eax
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x54]
jmp 0x44ec0e
call fcn.00405cb0
test eax, eax
je 0x44ec0e
lea ecx, [esi + 0x18]
call fcn.0045f620
push eax
lea ecx, [esi + 0x18]
call fcn.00405cb0
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004641c0
add esp, 0xc
mov edx, 0xc
sub edx, 0x510104
mov dword [ebp - 0x4c], edx
mov edx, 0x10
sub edx, 0x510104
mov dword [ebp - 0x50], edx
mov ecx, 8
sub ecx, 0x510104
mov edx, 0x14
xor eax, eax
sub edx, 0x510104
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], edx
jmp 0x44ec53
mov ecx, dword [ebp - 0x54]
mov edi, dword [eax + 0x510100]
mov edx, dword [esi]
mov dword [eax + edx], edi
mov edi, dword [eax + 0x510104]
mov edx, dword [esi]
mov dword [eax + edx + 4], edi
mov edi, dword [eax + 0x510108]
mov edx, dword [esi]
lea ecx, [ecx + eax + 0x510104]
mov dword [ecx + edx], edi
mov ecx, dword [ebp - 0x4c]
mov edi, dword [eax + 0x51010c]
lea edx, [ecx + eax + 0x510104]
mov ecx, dword [esi]
mov dword [edx + ecx], edi
mov edx, dword [ebp - 0x50]
mov edi, dword [eax + 0x510110]
lea ecx, [edx + eax + 0x510104]
mov edx, dword [esi]
mov dword [ecx + edx], edi
mov ecx, dword [ebp - 0x48]
mov edi, dword [eax + 0x510114]
lea edx, [ecx + eax + 0x510104]
mov ecx, dword [esi]
add eax, 0x18
mov dword [edx + ecx], edi
cmp eax, 0x48
jl 0x44ec50
mov eax, 8
sub eax, 0x51014c
mov dword [ebp - 0x48], eax
xor eax, eax
jmp 0x44ece0
lea ecx, [eax + 0xc]
mov dword [ebp - 0x54], 0x40
lea ebx, [ebx]
mov edi, dword [eax + 0x510148]
mov edx, dword [esi + 4]
mov dword [eax + edx], edi
mov edi, dword [eax + 0x51014c]
mov edx, dword [esi + 4]
mov dword [edx + eax + 4], edi
mov edx, dword [esi + 4]
add edx, dword [ebp - 0x48]
mov edi, dword [eax + 0x510150]
mov dword [edx + eax + 0x51014c], edi
mov edi, dword [eax + 0x510154]
mov edx, dword [esi + 4]
mov dword [ecx + edx], edi
add eax, 0x10
add ecx, 0x10
dec dword [ebp - 0x54]
jne 0x44ecf0
cmp eax, 0x1000
jl 0x44ece0
xor edi, edi
mov dword [ebp - 0x4c], edi
mov ecx, 0xc
mov eax, dword [esi]
lea edx, [ecx + eax - 0xc]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
mov eax, dword [ebp - 0x4c]
add eax, 3
shl edx, 8
mov dword [ebp - 0x48], edx
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, dword [ebp - 0x4c]
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [ecx + eax - 8]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [eax + ecx - 4]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x50], eax
mov edi, edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [eax + ecx + 4]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [eax + ecx + 8]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
add ecx, 0x18
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov edi, edx
mov dword [ebp - 0x4c], edi
cmp ecx, 0x54
jl 0x44ed44
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], ebx
xor edi, edi
lea ebx, [ebx]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.0044e300
mov edx, dword [esi]
mov eax, dword [ebp - 0x4c]
mov dword [edi + edx], eax
mov ecx, dword [esi]
mov edx, dword [ebp - 0x54]
mov dword [edi + ecx + 4], edx
add edi, 8
cmp edi, 0x48
jl 0x44efa0
xor edi, edi
lea ebx, [ebx]
mov ebx, 0x80
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.0044e300
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x4c]
mov dword [edi + edx], eax
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x54]
mov dword [edi + ecx + 4], edx
add edi, 8
dec ebx
jne 0x44efd5
cmp edi, 0x1000
jl 0x44efd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462838
mov esp, ebp
pop ebp
ret