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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, 0xc
sub edi, 0x4911d4
mov dword [ebp - 4], edi
mov edi, 0x10
sub edi, 0x4911d4
mov dword [ebp - 0xc], edi
mov edx, 8
sub edx, 0x4911d4
mov edi, 0x14
xor eax, eax
sub edi, 0x4911d4
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
jmp 0x417c27
mov edx, dword [ebp - 8]
mov ebx, dword [eax + 0x4911d0]
mov edi, dword [esi]
mov dword [eax + edi], ebx
mov ebx, dword [eax + 0x4911d4]
mov edi, dword [esi]
mov dword [eax + edi + 4], ebx
mov ebx, dword [eax + 0x4911d8]
mov edi, dword [esi]
lea edx, [edx + eax + 0x4911d4]
mov dword [edx + edi], ebx
mov ebx, dword [eax + 0x4911dc]
mov edi, dword [esi]
mov edx, dword [ebp - 4]
lea edx, [edx + eax + 0x4911d4]
mov dword [edx + edi], ebx
mov ebx, dword [eax + 0x4911e0]
mov edx, dword [ebp - 0xc]
mov edi, dword [esi]
lea edx, [edx + eax + 0x4911d4]
mov dword [edx + edi], ebx
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax + 0x4911e4]
mov edi, dword [esi]
lea edx, [edx + eax + 0x4911d4]
add eax, 0x18
mov dword [edx + edi], ebx
cmp eax, 0x48
jl 0x417c24
mov eax, 8
sub eax, 0x49121c
mov dword [ebp - 0x10], eax
xor eax, eax
jmp 0x417cb0
lea edx, [eax + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0x40
lea ecx, [ecx]
mov edi, dword [eax + 0x491218]
mov edx, dword [esi + 4]
mov dword [eax + edx], edi
mov edi, dword [eax + 0x49121c]
mov edx, dword [esi + 4]
mov dword [eax + edx + 4], edi
mov ebx, dword [eax + 0x491220]
mov edx, dword [ebp - 0x10]
mov edi, dword [esi + 4]
lea edx, [edx + eax + 0x49121c]
mov dword [edx + edi], ebx
mov edx, dword [ebp - 8]
mov ebx, dword [eax + 0x491224]
mov edi, dword [esi + 4]
mov dword [edx + edi], ebx
add edx, 0x10
add eax, 0x10
dec dword [ebp - 4]
mov dword [ebp - 8], edx
jne 0x417cc0
cmp eax, 0x1000
jl 0x417cb0
xor edi, edi
mov eax, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
mov edx, dword [esi]
lea eax, [eax + edx - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [edi + 1]
cdq
mov ebx, 0xa
idiv ebx
lea eax, [edi + 2]
movzx ebx, byte [edx + ecx]
movzx edx, byte [edi + ecx]
shl edx, 8
or ebx, edx
cdq
mov edi, 0xa
idiv edi
shl ebx, 8
movzx eax, byte [edx + ecx]
or ebx, eax
mov eax, dword [ebp - 4]
add eax, 3
cdq
idiv edi
mov eax, dword [ebp - 0x10]
shl ebx, 8
movzx edx, byte [edx + ecx]
or ebx, edx
xor dword [eax], ebx
mov eax, dword [ebp - 4]
add eax, 4
cdq
idiv edi
mov eax, dword [esi]
mov ebx, 0xa
mov edi, edx
mov edx, dword [ebp - 8]
lea eax, [edx + eax - 8]
mov dword [ebp - 0x10], eax
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 4], edi
lea eax, [edi + 2]
movzx ebx, byte [edx + ecx]
movzx edx, byte [edi + ecx]
shl edx, 8
or ebx, edx
cdq
mov edi, 0xa
idiv edi
shl ebx, 8
movzx eax, byte [edx + ecx]
or ebx, eax
mov eax, dword [ebp - 4]
add eax, 3
cdq
idiv edi
mov eax, dword [ebp - 0x10]
shl ebx, 8
movzx edx, byte [edx + ecx]
or ebx, edx
xor dword [eax], ebx
mov eax, dword [ebp - 4]
add eax, 4
cdq
idiv edi
mov eax, dword [esi]
mov ebx, 0xa
mov edi, edx
mov edx, dword [ebp - 8]
lea eax, [edx + eax - 4]
mov dword [ebp - 0x10], eax
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 4], edi
lea eax, [edi + 2]
movzx ebx, byte [edx + ecx]
movzx edx, byte [edi + ecx]
shl edx, 8
or ebx, edx
shl ebx, 8
cdq
mov edi, 0xa
idiv edi
movzx eax, byte [edx + ecx]
or ebx, eax
mov eax, dword [ebp - 4]
add eax, 3
cdq
idiv edi
mov eax, dword [ebp - 0x10]
shl ebx, 8
movzx edx, byte [edx + ecx]
or ebx, edx
xor dword [eax], ebx
mov eax, dword [ebp - 4]
add eax, 4
cdq
idiv edi
mov ebx, 0xa
mov edi, edx
mov edx, dword [ebp - 8]
add edx, dword [esi]
lea eax, [edi + 1]
mov dword [ebp - 0x10], edx
cdq
idiv ebx
movzx eax, byte [edi + ecx]
shl eax, 8
mov dword [ebp - 4], edi
movzx ebx, byte [edx + ecx]
or ebx, eax
lea eax, [edi + 2]
cdq
mov edi, 0xa
idiv edi
mov eax, dword [ebp - 4]
add eax, 3
shl ebx, 8
movzx edx, byte [edx + ecx]
or ebx, edx
cdq
idiv edi
shl ebx, 8
movzx eax, byte [edx + ecx]
or ebx, eax
mov eax, dword [ebp - 0x10]
xor dword [eax], ebx
mov eax, dword [ebp - 4]
add eax, 4
cdq
idiv edi
mov eax, dword [ebp - 8]
mov ebx, 0xa
mov edi, edx
mov edx, dword [esi]
lea edx, [eax + edx + 4]
mov dword [ebp - 0x10], edx
lea eax, [edi + 1]
cdq
idiv ebx
movzx eax, byte [edi + ecx]
shl eax, 8
mov dword [ebp - 4], edi
movzx ebx, byte [edx + ecx]
or ebx, eax
lea eax, [edi + 2]
cdq
mov edi, 0xa
idiv edi
mov eax, dword [ebp - 4]
shl ebx, 8
add eax, 3
movzx edx, byte [edx + ecx]
or ebx, edx
cdq
idiv edi
shl ebx, 8
movzx eax, byte [edx + ecx]
or ebx, eax
mov eax, dword [ebp - 0x10]
xor dword [eax], ebx
mov eax, dword [ebp - 4]
add eax, 4
cdq
idiv edi
mov eax, dword [ebp - 8]
mov ebx, 0xa
mov edi, edx
mov edx, dword [esi]
lea edx, [eax + edx + 8]
mov dword [ebp - 0x10], edx
lea eax, [edi + 1]
cdq
idiv ebx
movzx eax, byte [edi + ecx]
shl eax, 8
mov dword [ebp - 4], edi
movzx ebx, byte [edx + ecx]
or ebx, eax
lea eax, [edi + 2]
cdq
mov edi, 0xa
idiv edi
mov eax, dword [ebp - 4]
add eax, 3
shl ebx, 8
movzx edx, byte [edx + ecx]
or ebx, edx
cdq
idiv edi
shl ebx, 8
movzx eax, byte [edx + ecx]
or ebx, eax
mov eax, dword [ebp - 0x10]
xor dword [eax], ebx
mov eax, dword [ebp - 4]
add eax, 4
cdq
idiv edi
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 8], eax
mov edi, edx
mov dword [ebp - 4], edx
cmp eax, 0x54
jl 0x417d20
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
xor edi, edi
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push esi
call fcn.00417360
mov eax, dword [esi]
mov ecx, dword [ebp - 8]
mov dword [edi + eax], ecx
mov edx, dword [esi]
mov eax, dword [ebp - 4]
mov dword [edi + edx + 4], eax
add edi, 8
cmp edi, 0x48
jl 0x417f63
xor edi, edi
lea esp, [esp]
mov ebx, 0x80
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push esi
call fcn.00417360
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 8]
mov dword [edi + eax], ecx
mov edx, dword [esi + 4]
mov eax, dword [ebp - 4]
mov dword [edi + edx + 4], eax
add edi, 8
dec ebx
jne 0x417f95
cmp edi, 0x1000
jl 0x417f90
pop edi
pop ebx
mov esp, ebp
pop ebp
ret