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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, 0x10
sub esi, 0x1001610c
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
mov ecx, 8
mov edx, 0xc
mov esi, 0x14
xor eax, eax
sub ecx, 0x1001610c
sub edx, 0x1001610c
sub esi, 0x1001610c
mov dword [esp + 0x14], esi
nop
mov ebx, dword [eax + 0x10016108]
mov esi, dword [edi]
mov dword [eax + esi], ebx
mov ebx, dword [eax + 0x1001610c]
mov esi, dword [edi]
mov dword [eax + esi + 4], ebx
mov ebp, dword [eax + 0x10016110]
mov ebx, dword [edi]
lea esi, [ecx + eax + 0x1001610c]
mov dword [esi + ebx], ebp
mov ebp, dword [eax + 0x10016114]
mov ebx, dword [edi]
lea esi, [edx + eax + 0x1001610c]
mov dword [esi + ebx], ebp
mov ebp, dword [eax + 0x10016118]
mov esi, dword [esp + 0x10]
mov ebx, dword [edi]
lea esi, [esi + eax + 0x1001610c]
mov dword [esi + ebx], ebp
mov esi, dword [esp + 0x14]
mov ebp, dword [eax + 0x1001611c]
mov ebx, dword [edi]
lea esi, [esi + eax + 0x1001610c]
add eax, 0x18
cmp eax, 0x48
mov dword [esi + ebx], ebp
jl 0x100014b0
mov eax, 8
sub eax, 0x10016154
mov dword [esp + 0x14], eax
xor eax, eax
nop
lea ecx, [eax + 0xc]
mov edx, 0x40
jmp 0x10001540
mov ebx, dword [eax + 0x10016150]
mov esi, dword [edi + 4]
mov dword [eax + esi], ebx
mov ebx, dword [eax + 0x10016154]
mov esi, dword [edi + 4]
mov dword [eax + esi + 4], ebx
mov esi, dword [esp + 0x14]
mov ebx, dword [edi + 4]
mov ebp, dword [eax + 0x10016158]
lea esi, [esi + eax + 0x10016154]
mov dword [esi + ebx], ebp
mov ebx, dword [eax + 0x1001615c]
mov esi, dword [edi + 4]
mov dword [ecx + esi], ebx
add eax, 0x10
add ecx, 0x10
sub edx, 1
jne 0x10001540
cmp eax, 0x1000
jl 0x10001530
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ebx, 0xc
mov eax, dword [edi]
lea edx, [ebx + eax - 0xc]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
mov eax, dword [esp + 0x10]
add eax, 3
shl edx, 8
mov dword [esp + 0x20], edx
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax - 8]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax - 4]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax + 4]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax + 8]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
add ebx, 0x18
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
cmp ebx, 0x54
mov ebp, edx
mov dword [esp + 0x10], ebp
jl 0x100015a1
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
xor esi, esi
mov edi, edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, edi
call fcn.10001040
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
mov dword [esi + ecx + 4], edx
add esi, 8
cmp esi, 0x48
jl 0x10001810
xor esi, esi
mov edi, edi
mov ebx, 0x80
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, edi
call fcn.10001040
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
mov dword [esi + ecx + 4], edx
add esi, 8
sub ebx, 1
jne 0x10001845
cmp esi, 0x1000
jl 0x10001840
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8